[ Index ] |
PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2012 Oliver Georgi <oliver@phpwcms.de> // All rights reserved. 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 9 the GNU General Public License as published by the Free Software Foundation; 10 either version 2 of the License, or (at your option) any later version. 11 12 The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html 13 A copy is found in the textfile GPL.txt and important notices to the license 14 from the author is found in LICENSE.txt distributed with these scripts. 15 16 This script is distributed in the hope that it will be useful, but WITHOUT ANY 17 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 18 PARTICULAR PURPOSE. See the GNU General Public License for more details. 19 20 This copyright notice MUST APPEAR in all copies of the script! 21 *************************************************************************************/ 22 23 // ---------------------------------------------------------------- 24 // obligate check for phpwcms constants 25 if (!defined('PHPWCMS_ROOT')) { 26 die("You Cannot Access This Script Directly, Have a Nice Day."); 27 } 28 // ---------------------------------------------------------------- 29 30 31 //code 32 33 ?> 34 35 <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 36 37 <tr> 38 <td align="right" class="chatlist"><?php echo $BL['be_admin_struct_template']; ?>: </td> 39 <td><select name="template" id="template" class="f11b"> 40 <?php 41 42 echo '<option value="">'.$BL['be_admin_tmpl_default'].'</option>'.LF; 43 44 // templates for frontend login 45 $tmpllist = get_tmpl_files(PHPWCMS_TEMPLATE.'inc_cntpart/code'); 46 if(is_array($tmpllist) && count($tmpllist)) { 47 foreach($tmpllist as $val) { 48 $selected_val = (isset($content["template"]) && $val == $content["template"]) ? ' selected="selected"' : ''; 49 $val = html_specialchars($val); 50 echo ' <option value="' . $val . '"' . $selected_val . '>' . $val . '</option>' . LF; 51 } 52 } 53 54 ?> 55 </select></td> 56 </tr> 57 58 <tr><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 59 60 <tr> 61 <td align="right" valign="top" class="chatlist tdtop4"><?php echo $BL['be_cnt_code'] ?>: </td> 62 <td valign="top"><textarea name="ccode" rows="25" class="code width440" id="ccode"><?php 63 64 if(!empty($content["code"])) { 65 66 $firstchar = substr($content["code"], 0, 1); 67 68 if($firstchar == "\r" || $firstchar == "\n") { 69 $content["code"] = ' '.$content["code"]; 70 } 71 echo html_entities($content["code"]); 72 } 73 74 ?></textarea></td> 75 </tr>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Jan 29 16:31:14 2012 | Cross-referenced by PHPXref 0.7.1 |