[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2009 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 //article menu 32 33 if(!isset($content["alist"]["cat"])) { 34 $content["alist"]["cat"] = 0; 35 } 36 if(!isset($content["alist"]["catid"])) { 37 $content["alist"]["catid"] = 0; 38 } 39 if(!isset($content["alist"]["headertext"])) { 40 $content["alist"]["headertext"] = 0; 41 } 42 if(!isset($content["alist"]["div"])) { 43 $content["alist"]["div"] = 0; 44 } 45 if(!isset($content["alist"]["ul"])) { 46 $content["alist"]["ul"] = 0; 47 } 48 if(!isset($content["alist"]["class"])) { 49 $content["alist"]["class"] = ''; 50 } 51 if(empty($content["alist"]["maxchar"])) { 52 $content["alist"]["maxchar"] = ''; 53 } 54 if(empty($content["alist"]["morelink"])) { 55 $content["alist"]["morelink"] = ''; 56 } 57 if(empty($content["alist"]["titlewrap"])) { 58 $content["alist"]["titlewrap"] = ''; 59 } 60 if(!isset($content["alist"]["hideactive"])) { 61 $content["alist"]["hideactive"] = 0; 62 } 63 64 65 ?> 66 <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 67 <tr> 68 <td align="right" valign="top" class="chatlist tdtop3"><?php echo $BL['be_cnt_sitelevel'] ?>: </td> 69 <td valign="top"><table border="0" cellpadding="0" cellspacing="0" summary=""> 70 <tr> 71 <td valign="top"><input name="calist_cat" type="radio" value="0" <?php is_checked(0, intval($content["alist"]["cat"])) ?>></td> 72 <td> </td> 73 <td class="tdtop3 tdbottom5"><strong><?php echo $BL['be_cnt_sitecurrent'] ?></strong></td> 74 </tr> 75 <tr> 76 <td><input name="calist_cat" type="radio" value="1" <?php is_checked(1, intval($content["alist"]["cat"])) ?>></td> 77 <td> </td> 78 <td><select name="calist_catid" style="width: 325px" class="f11b"> 79 <?php 80 echo "<option value='0'".((!$content["alist"]["catid"])?" selected":"").">".$BL['be_admin_struct_index']."</option>\n"; 81 struct_select_menu($db, 0, 0, $content["alist"]["catid"]); 82 ?></select></td> 83 </tr> 84 85 </table></td> 86 </tr> 87 88 <tr><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 89 90 <tr> 91 <td class="chatlist tdtop4" align="right" valign="top"><?php echo $BL['be_show_content'] ?>: </td> 92 <td colspan="6"><table border="0" cellpadding="0" cellspacing="0" summary=""> 93 <tr> 94 95 <td><input name="calist_ul" id="calist_ul0" type="radio" value="0" <?php is_checked(0, intval($content["alist"]["ul"])) ?> class="radioButton"></td> 96 <td><label for="calist_ul0"><?php echo $BL['be_admin_page_table'] ?> </label></td> 97 98 <td><input name="calist_ul" id="calist_ul1" type="radio" value="1" <?php is_checked(1, intval($content["alist"]["ul"])) ?> class="radioButton"></td> 99 <td><label for="calist_ul1"><UL> </label></td> 100 101 <td><input name="calist_ul" id="calist_ul2" type="radio" value="2" <?php is_checked(2, intval($content["alist"]["ul"])) ?> class="radioButton"></td> 102 <td><label for="calist_ul2"><DIV> </label></td> 103 104 <td> </td> 105 106 <td class="chatlist" align="right"> <?php echo $BL['be_cnt_css_class'] ?>: </td> 107 <td><input type="text" name="calist_class" id="calist_class" class="v11" style="width:110px;" value="<?php echo html_specialchars($content["alist"]["class"]) ?>"></td> 108 109 </tr> 110 </table> 111 112 113 <table border="0" cellpadding="0" cellspacing="0" style="margin-top:8px;" summary=""> 114 <tr> 115 <td><input name="calist_headertext" id="calist_headertext" type="checkbox" value="1" <?php is_checked(1, intval($content["alist"]["headertext"])) ?> class="checkBox"></td> 116 <td><label for="calist_headertext"><?php echo $BL['be_article_asummary'] ?> </label></td> 117 118 <td> </td> 119 120 <td class="chatlist"> <?php echo $BL['be_cnt_articlemenu_maxchar'] ?>: </td> 121 <td><input type="text" name="calist_maxchar" id="calist_maxchar" class="v11" style="width:35px;" value="<?php echo $content["alist"]["maxchar"] ?>"></td> 122 <td> </td> 123 <td class="chatlist"> <?php echo $BL['be_article_morelink'] ?>: </td> 124 <td><input type="text" name="calist_morelink" id="calist_morelink" class="v11 width100" value="<?php echo html_specialchars($content["alist"]["morelink"]) ?>"></td> 125 126 </tr> 127 </table> 128 129 <table border="0" cellpadding="0" cellspacing="0" style="margin-top:8px;" summary=""> 130 <tr> 131 <td class="chatlist"> <?php echo $BL['be_title_wrap'] ?>: </td> 132 <td><select name="calist_titlewrap" id="calist_titlewrap" class="v11"> 133 <?php 134 135 echo ' <option value=""'; 136 is_selected(0, $content["alist"]["titlewrap"]); 137 echo '>'.$BL['be_cnt_default'].' ('.$BL['be_func_struct_empty'].')</option>'.LF; 138 139 foreach(array('p','div','span','h1','h2','h3','h4','h5','h6','pre','blockquote','em') as $value) { 140 141 echo ' <option value="'.$value.'"'; 142 is_selected($value, $content["alist"]["titlewrap"]); 143 echo '>'.strtoupper($value).'</option>'.LF; 144 145 } 146 147 ?> 148 </select></td> 149 </tr> 150 151 </table> 152 153 <table border="0" cellpadding="0" cellspacing="0" style="margin-top:8px;" summary=""> 154 <tr> 155 <td><input name="calist_hideactive" id="calist_hideactive" type="checkbox" value="1" <?php is_checked(1, intval($content["alist"]["hideactive"])) ?> class="checkBox"></td> 156 <td><label for="calist_hideactive"><?php echo $BL['be_hide_active_articlelink'] ?> </label></td> 157 158 </tr> 159 </table> 160 161 162 </td> 163 </tr> 164 165 <tr><td colspan="2" class="rowspacer7x0"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 166
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |