[ Index ] |
PHP Cross Reference of phpwcms V1.4.7 _r403 (01.11.10) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2010 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 $acat_struct_mode = 'STRUCT'; 31 32 if($_GET['struct'] === 'index') { 33 34 $acat_title = $indexpage['acat_name']; 35 $acat_info = $indexpage['acat_info']; 36 $acat_id = 'index'; 37 $acat_new = 0; 38 $acat_aktiv = $indexpage['acat_aktiv']; 39 $acat_public = $indexpage['acat_public']; 40 $acat_sort = isset($acat_sort) ? $acat_sort : ''; 41 $acat_alias = $indexpage['acat_alias']; 42 $acat_hidden = $indexpage['acat_hidden']; 43 $acat_template = $indexpage['acat_template']; 44 $acat_ssl = $indexpage['acat_ssl']; 45 $acat_regonly = $indexpage['acat_regonly']; 46 $acat_topcount = $indexpage['acat_topcount']; 47 $acat_maxlist = $indexpage['acat_maxlist']; 48 $acat_redirect = $indexpage['acat_redirect']; 49 $acat_timeout = strval($indexpage['acat_timeout']); 50 $acat_nosearch = strval($indexpage['acat_nosearch']); 51 $acat_nositemap = strval($indexpage['acat_nositemap']); 52 $acat_order = get_order_sort($indexpage['acat_order']); 53 $acat_permit = empty($indexpage['acat_permit']) ? array() : explode(',', $indexpage['acat_permit']) ; 54 $acat_cntpart = (isset($indexpage['acat_cntpart']) && $indexpage['acat_cntpart'] != '') ? explode(',', $indexpage['acat_cntpart']) : array(); 55 $acat_pagetitle = empty($indexpage['acat_pagetitle']) ? '' : $indexpage['acat_pagetitle']; 56 $acat_paginate = empty($indexpage['acat_paginate']) ? 0 : 1; 57 $acat_overwrite = empty($indexpage['acat_overwrite']) ? '' : $indexpage['acat_overwrite']; 58 $acat_archive = empty($indexpage['acat_archive']) ? 0 : $indexpage['acat_archive']; 59 $acat_class = empty($indexpage['acat_class']) ? '' : $indexpage['acat_class']; 60 $acat_keywords = empty($indexpage['acat_keywords']) ? '' : $indexpage['acat_keywords']; 61 62 $acat_struct_mode = 'INDEX'; 63 64 } elseif(!isset($acat_title)) { 65 66 $parentStructData = getParentStructArray($_GET["struct"]); 67 68 $acat_title = ''; 69 $acat_info = ''; 70 $acat_aktiv = 1; 71 $acat_public = 1; 72 $acat_sort = isset($acat_sort) ? $acat_sort : ''; 73 $acat_alias = ''; 74 $acat_hidden = 0; 75 $acat_hiddenactive = 0; 76 $acat_template = $parentStructData['acat_template']; 77 $acat_ssl = 0; 78 $acat_regonly = 0; 79 $acat_redirect = ''; 80 $acat_nositemap = 1; 81 $acat_maxlist = 0; 82 $acat_permit = array(); 83 $acat_cntpart = array(); 84 $acat_pagetitle = ''; 85 $acat_paginate = 0; 86 $acat_overwrite = ''; 87 $acat_archive = 0; 88 $acat_class = ''; 89 $acat_keywords = ''; 90 91 } 92 93 switch($acat_hidden) { 94 95 case 1: $acat_hidden = 1; 96 $acat_hiddenactive = 0; 97 break; 98 99 case 2: $acat_hidden = 1; 100 $acat_hiddenactive = 1; 101 break; 102 103 default: $acat_hidden = 0; 104 $acat_hiddenactive = 0; 105 106 } 107 108 // this -> document.editsitestructure 109 ?> 110 <form action="include/inc_act/act_structure.php" method="post" name="editsitestructure" id="editsitestructure" onsubmit="selectAllOptions(this.acat_access);selectAllOptions(this.acat_cp);var x = wordcount(this.acat_name.value);if(x<1) {alert('Fill in a category title! \n\n('+x+' words total)');this.acat_name.focus();return false;}"> 111 <table width="538" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" summary=""> 112 113 <tr><td width="538" class="title"><?php echo $BL['be_admin_struct_title'] ?> <span style="font-weight: normal;"><?php echo $BL['be_admin_struct_child'] ?></span>: <strong style="color: #FF3300"><?php 114 //Anzeigen des Kategorienamens (Menüpunkt) 115 $acat_struct = intval($_GET["struct"]); 116 if($acat_struct) { 117 118 $parentStructData = getParentStructArray($acat_struct); 119 echo html_specialchars($parentStructData["acat_name"]); 120 121 } else { 122 echo $BL['be_admin_struct_index']; 123 } 124 ?></strong></td> 125 </tr> 126 <tr><td><img src="img/leer.gif" width="1" height="4" alt="" /></td></tr> 127 <tr><td><img src="img/lines/l538_70.gif" alt="" width="538" height="1" /></td></tr> 128 <tr><td><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 129 130 <tr><td class="v09"><?php echo $BL['be_admin_struct_cat'] ?>:</td></tr> 131 <tr><td><input name="acat_name" type="text" id="acat_name" class="f11b" style="width: 450px" onchange="this.value=Trim(this.value);" value="<?php echo html_specialchars($acat_title) ?>" size="50" maxlength="95" /></td></tr> 132 133 <tr><td><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 134 135 <tr> 136 <td> 137 <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" summary=""> 138 139 <tr> 140 <td class="v09"><a href="#" onclick="return set_article_alias(false, 'struct');"><?php echo $BL['be_admin_struct_alias'] ?></a>:</td> 141 <td style="width:10px"> </td> 142 <td class="v09"><?php echo $BL['be_cnt_css_class'] ?>:</td> 143 </tr> 144 <tr> 145 <td><input name="acat_alias" type="text" id="acat_alias" class="f11b width250" value="<?php echo html_specialchars($acat_alias) ?>" size="50" maxlength="150" onfocus="set_article_alias(true, 'struct');" onchange="this.value=create_alias(this.value);" /></td> 146 <td> </td> 147 <td><input name="acat_class" type="text" id="acat_class" class="f11 width185" value="<?php echo html_specialchars($acat_class) ?>" size="50" maxlength="150" /></td> 148 </tr> 149 150 </table> 151 </td> 152 </tr> 153 154 155 <tr><td><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 156 157 <tr><td class="v09"><?php echo $BL['be_admin_page_pagetitle'] ?>:</td></tr> 158 <tr><td><input name="acat_pagetitle" type="text" id="acat_pagetitle" class="f11b" style="width: 450px" value="<?php echo html_specialchars($acat_pagetitle) ?>" size="50" maxlength="150" /></td></tr> 159 160 <tr><td><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 161 <?php 162 if($acat_id != 'index' || strval($acat_id) == '0') { 163 ?> 164 <tr><td class="v09"><?php echo $BL['be_article_aredirect'] ?>:</td></tr> 165 <tr><td><input name="acat_redirect" type="text" id="acat_redirect" class="f11b" style="width: 450px" value="<?php echo html_specialchars($acat_redirect) ?>" size="50" maxlength="255" /></td></tr> 166 <tr><td><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 167 <?php 168 } 169 ?> 170 171 172 <tr><td class="v09"><?php echo $BL['be_article_akeywords'] ?>:</td></tr> 173 <tr><td><textarea name="acat_keywords" cols="50" rows="3" id="acat_keywords" class="f11 width540"><?php echo html_specialchars($acat_keywords) ?></textarea></td></tr> 174 175 <tr><td><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 176 177 <tr><td class="v09"><?php echo $BL['be_admin_struct_info'] ?>:</td></tr> 178 <tr><td><textarea name="acat_info" cols="50" rows="4" id="acat_info" class="f11 width540"><?php echo html_specialchars($acat_info) ?></textarea></td></tr> 179 180 181 182 183 <tr><td><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 184 <tr><td class="v09"><?php echo $BL['be_admin_struct_template'] ?>:</td></tr> 185 <tr><td><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 186 <tr> 187 <td><select name="acat_template" id="acat_template" class="f11b width300"> 188 <?php 189 190 $_temp_cat = ''; 191 192 // list available 193 $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_template WHERE template_trash=0 ORDER BY template_default DESC"; 194 if($result = mysql_query($sql, $db) or die("error while listing templates")) { 195 while($row = mysql_fetch_assoc($result)) { 196 echo "<option value=\"".$row["template_id"]."\""; 197 if($row["template_id"] == $acat_template) { 198 echo " selected"; 199 $_temp_cat = @unserialize($row['template_var']); 200 $_temp_cat = empty($_temp_cat['overwrite']) ? '' : $_temp_cat['overwrite']; 201 } 202 echo ">".html_specialchars($row["template_name"]).( ($row["template_default"])?" (default)":" "); 203 echo "</option>\n"; 204 } 205 mysql_free_result($result); 206 } 207 208 ?> 209 </select></td> 210 </tr> 211 212 213 214 <tr><td><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 215 <tr><td class="v09"><?php echo $BL['be_settings'] ?>: <i><?php echo $BL['be_overwrite_default'] ?></i></td></tr> 216 <tr><td><img src="img/leer.gif" alt="" width="1" height="2" /></td></tr> 217 <tr> 218 <td><select name="acat_overwrite" id="acat_overwrite" class="f11b width300"> 219 <option value="" style="font-weight:normal;font-style:italic;"><?php echo $BL['be_admin_tmpl_default']; ?></option> 220 <?php 221 222 // templates for frontend login 223 $tmpllist = get_tmpl_files(PHPWCMS_TEMPLATE.'inc_settings/template_default', 'php'); 224 if(is_array($tmpllist) && count($tmpllist)) { 225 foreach($tmpllist as $val) { 226 $selected_val = (isset($acat_overwrite) && $val == $acat_overwrite) ? ' selected="selected"' : ''; 227 $val = html_specialchars($val); 228 echo ' <option value="' . $val . '"' . $selected_val . '>' . $val . ($_temp_cat==$val ? ' ('.$BL['be_admin_struct_template'].')' : '') . '</option>' . LF; 229 } 230 } 231 232 ?> 233 </select></td> 234 </tr> 235 236 <tr><td><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 237 238 <tr> 239 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 240 <tr> 241 <td class="v09"><?php echo $BL['be_admin_struct_topcount'] ?>:</td> 242 <td> </td> 243 244 <td class="v09" colspan="2"><?php echo $BL['be_pagination'] ?>:</td> 245 246 <td> </td> 247 <td class="v09"><?php echo $BL['be_article_per_page'] ?>:</td> 248 249 <?php if($acat_struct_mode != 'INDEX'): ?> 250 <td> </td> 251 <td class="v09"><?php echo $BL['be_cnt_sortvalue'] ?>:</td> 252 <?php endif; ?> 253 254 </tr> 255 256 <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 257 258 <tr> 259 <td><input name="acat_topcount" type="text" id="acat_topcount" class="f11b width125" value="<?php echo intval($acat_topcount) ?>" size="10" maxlength="10" /></td> 260 <td> </td> 261 262 <td bgcolor="#D9DEE3"><input name="acat_paginate" type="checkbox" id="acat_paginate" value="1" <?php if($acat_paginate == 1) echo "checked"; ?> /></td> 263 <td bgcolor="#D9DEE3"> <label for="acat_paginate"><?php echo $BL['be_article_pagination'] ?></label> </td> 264 265 <td> </td> 266 <td><input name="acat_maxlist" type="text" id="acat_maxlist" class="f11b width75" value="<?php echo empty($acat_maxlist) ? '' : intval($acat_maxlist); ?>" size="10" maxlength="10" /></td> 267 268 <?php if($acat_struct_mode != 'INDEX'): ?> 269 <td> </td> 270 <td><input name="acat_sort" type="text" id="acat_sort" class="f11b width75" value="<?php echo $acat_sort; ?>" size="11" maxlength="11" /></td> 271 <?php endif; ?> 272 273 </tr> 274 </table></td> 275 </tr> 276 277 <tr><td><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 278 279 <tr><td class="v09"><?php echo $BL['be_admin_struct_orderarticle'] ?>:</td></tr> 280 <tr><td><img src="img/leer.gif" alt="" width="1" height="2" /></td></tr> 281 <tr> 282 <td valign="top"> 283 <div style="margin:0;border:1px solid #D9DEE3;padding:5px;float:left;"> 284 <table border="0" cellpadding="0" cellspacing="0" summary=""><!-- seems not neccessary anymore: onclick="noDESC()" --> 285 <tr> 286 <td><input type="radio" name="acat_order" id="acat_order0" value="0"<?php is_checked(0, intval($acat_order[0])) ?> /></td> 287 <td> <label for="acat_order0"><?php echo $BL['be_admin_struct_ordermanual'] ?></label> </td> 288 <td rowspan="6"> </td> 289 <td><input type="radio" name="acat_ordersort" id="acat_ordersort0" value="0"<?php is_checked(0, intval($acat_order[1])) ?> /></td> 290 <td> <label for="acat_ordersort0"><?php echo $BL['be_admin_struct_orderasc'] ?></label> </td> 291 </tr> 292 <tr> 293 <td><input type="radio" name="acat_order" id="acat_order1" value="2"<?php is_checked(2, $acat_order[0]) ?> /></td> 294 <td> <label for="acat_order1"><?php echo $BL['be_admin_struct_orderdate'] ?></label> </td> 295 <td><input type="radio" name="acat_ordersort" id="acat_ordersort1" value="1"<?php is_checked(1, $acat_order[1]) ?> /></td> 296 <td> <label for="acat_ordersort1"><?php echo $BL['be_admin_struct_orderdesc'] ?></label> </td> 297 </tr> 298 <tr> 299 <td><input type="radio" name="acat_order" id="acat_order2" value="4"<?php is_checked(4, $acat_order[0]) ?> /></td> 300 <td> <label for="acat_order2"><?php echo $BL['be_admin_struct_orderchangedate'] ?></label> </td> 301 <td colspan="2" rowspan="4"> </td> 302 </tr> 303 <tr> 304 <td><input type="radio" name="acat_order" id="acat_order3" value="6"<?php is_checked(6, $acat_order[0]) ?> /></td> 305 <td> <label for="acat_order3"><?php echo $BL['be_admin_struct_orderstartdate'] ?></label> </td> 306 </tr> 307 308 <tr> 309 <td><input type="radio" name="acat_order" id="acat_order5" value="10"<?php is_checked(10, $acat_order[0]) ?> /></td> 310 <td> <label for="acat_order5"><?php echo $BL['be_admin_struct_orderkilldate'] ?></label> </td> 311 </tr> 312 313 <tr> 314 <td><input type="radio" name="acat_order" id="acat_order4" value="8"<?php is_checked(8, $acat_order[0]) ?> /></td> 315 <td> <label for="acat_order4"><?php echo $BL['be_article_atitle'] ?></label> </td> 316 </tr> 317 </table> 318 </div> 319 </td> 320 </tr> 321 322 323 <tr><td><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 324 325 326 <!-- Content Part Selection --> 327 328 <tr><td class="v09">Content Part selection:</td></tr> 329 <tr><td><img src="img/leer.gif" width="1" height="2" alt="" /></td></tr> 330 <tr> 331 <td valign="top"><table border="0" cellpadding="0" cellspacing="0" summary=""> 332 <tr> 333 <td><select name="acat_cp[]" id="acat_cp" size="9" multiple="multiple" style="width: 255px" class="f10" ondblclick="moveSelectedOptions(document.editsitestructure.acat_cp,document.editsitestructure.acat_cpa,false);"> 334 335 <?php 336 337 // check which content part is available 338 $temp_count = 0; 339 foreach($acat_cntpart as $value) { 340 if(isset($wcs_content_type[$value])) { 341 echo '<option value="'.$value.'">'.$wcs_content_type[$value]."</option>\n";; 342 unset($wcs_content_type[$value]); 343 } 344 $value1 = $value * (-1); 345 if(isset($BL['be_admin_optgroup_label'][$value1])) { 346 echo '<option value="'.$value.'">[optgroup] '.$BL['be_admin_optgroup_label'][$value1]."</option>\n"; 347 unset($BL['be_admin_optgroup_label'][$value1]); 348 } 349 } 350 351 ?> 352 </select></td> 353 <td valign="top" style="padding-left:5px;padding-right:5px;"> 354 <img src="img/button/put_left.gif" width="15" height="15" title="<?php echo $BL['be_admin_struct_adduser_all']?>" onclick="moveAllOptions(document.editsitestructure.acat_cpa,document.editsitestructure.acat_cp);" alt="" /><br /> 355 <img src="img/leer.gif" width="1" height="3" alt="" /><br /> 356 <img src="img/button/put_left_a.gif" width="15" height="15" title="<?php echo $BL['be_admin_struct_adduser_this']?>" onclick="moveSelectedOptions(document.editsitestructure.acat_cpa,document.editsitestructure.acat_cp,false);" alt="" /><br /> 357 <img src="img/leer.gif" width="1" height="6" alt="" /><br /> 358 <img src="img/button/put_right_a.gif" width="15" height="15" title="<?php echo $BL['be_admin_struct_remove_this']?>" onclick="moveSelectedOptions(document.editsitestructure.acat_cp,document.editsitestructure.acat_cpa,false);" alt="" /><br /> 359 <img src="img/leer.gif" width="1" height="3" alt="" /><br /> 360 <img src="img/button/put_right.gif" width="15" height="15" title="<?php echo $BL['be_admin_struct_remove_all']?>" alt="" onclick="moveAllOptions(document.editsitestructure.acat_cp,document.editsitestructure.acat_cpa);" /><br /> 361 <img src="img/leer.gif" alt="" width="1" height="6" /><br /> 362 <img src="img/button/list_pos_up.gif" alt="" width="15" height="15" border="0" onclick="moveOptionUp(document.editsitestructure.acat_cp);" /><br /> 363 <img src="img/leer.gif" width="1" height="3" alt="" /><br /> 364 <img src="img/button/list_pos_down.gif" alt="" width="15" height="15" border="0" onclick="moveOptionDown(document.editsitestructure.acat_cp);" /></td> 365 <td><select name="acat_cpa" size="9" multiple="multiple" id="acat_cpa" style="width: 255px" class="f10" ondblclick="moveSelectedOptions(document.editsitestructure.acat_cpa,document.editsitestructure.acat_cp,false);"> 366 367 <?php 368 //Menü mit Content Typen erstellen 369 foreach($wcs_content_type as $key => $value) { 370 //echo getContentPartOptionTag($key, $value); 371 echo '<option value="'.$key.'">'.$value."</option>\n"; 372 } 373 foreach($BL['be_admin_optgroup_label'] as $key => $value) { 374 echo '<option value="-'.$key.'">[optgroup] '.$value."</option>\n"; 375 } 376 ?> 377 378 </select></td> 379 </tr> 380 </table></td> 381 </tr> 382 383 384 <tr><td><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 385 <tr><td><table border="0" cellpadding="0" cellspacing="0" summary=""> 386 <tr><td colspan="4" class="v09"><?php echo $BL['be_admin_struct_status'] ?>:</td></tr> 387 <tr><td colspan="4"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 388 <tr> 389 <td bgcolor="#D9DEE3"><input name="acat_hidden" type="checkbox" id="acat_hidden" value="1" <?php is_checked($acat_hidden, 1); ?> /></td> 390 <td bgcolor="#D9DEE3"> <label for="acat_hidden"><?php echo $BL['be_admin_struct_hide1'] ?></label> </td> 391 392 <td bgcolor="#D9DEE3"><input name="acat_hiddenactive" type="checkbox" id="acat_hiddenactive" value="1" <?php is_checked($acat_hiddenactive, 1); ?> /></td> 393 <td bgcolor="#D9DEE3"> <label for="acat_hiddenactive"><?php echo $BL['be_admin_struct_acat_hiddenactive'] ?></label> </td> 394 395 <td> </td> 396 397 <td bgcolor="#D9DEE3"><input name="acat_regonly" type="checkbox" id="acat_regonly" value="1" <?php is_checked($acat_regonly, 1); ?> /></td> 398 <td bgcolor="#D9DEE3" colspan="3"> <label for="acat_regonly"><?php echo $BL['be_admin_struct_regonly'] ?></label> </td> 399 </tr> 400 401 </table></td></tr> 402 403 <tr><td><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 404 405 <tr> 406 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 407 408 <tr> 409 <td class="v09 inactive" colspan="5"><?php echo $BL['be_cache'] ?>:</td> 410 <td class="v09" colspan="2"><?php echo $BL['be_ctype_search'] ?>:</td> 411 </tr> 412 <tr><td colspan="7"><img src="img/leer.gif" alt="" width="1" height="1" /></td> 413 </tr> 414 415 416 <tr bgcolor="#D9DEE3"> 417 <td class="inactive"><input name="acat_cacheoff" type="checkbox" id="acat_cacheoff" value="1"<?php if($acat_timeout === '0') echo "checked"; ?> /></td> 418 <td class="inactive"> <label for="acat_cacheoff"><?php echo $BL['be_off'] ?></label> </td> 419 <td class="inactive"><select name="acat_timeout" class="f11" style="margin:2px;width:85px;" onchange="document.editsitestructure.acat_cacheoff.checked=false;"> 420 <?php 421 echo '<option value=" ">'.$BL['be_admin_tmpl_default']."</option>\n"; 422 echo '<option value="60"'.is_selected($acat_timeout, '60', 0, 0).'> 1 '.$BL['be_date_minute']."</option>\n"; 423 echo '<option value="300"'.is_selected($acat_timeout, '300', 0, 0).'> 5 '.$BL['be_date_minutes']."</option>\n"; 424 echo '<option value="900"'.is_selected($acat_timeout, '900', 0, 0).'>15 '.$BL['be_date_minutes']."</option>\n"; 425 echo '<option value="1800"'.is_selected($acat_timeout, '1800', 0, 0).'>30 '.$BL['be_date_minutes']."</option>\n"; 426 echo '<option value="3600"'.is_selected($acat_timeout, '3600', 0, 0).'> 1 '.$BL['be_date_hour']."</option>\n"; 427 echo '<option value="14400"'.is_selected($acat_timeout, '14400', 0, 0).'> 4 '.$BL['be_date_hours']."</option>\n"; 428 echo '<option value="43200"'.is_selected($acat_timeout, '43200', 0, 0).'>12 '.$BL['be_date_hours']."</option>\n"; 429 echo '<option value="86400"'.is_selected($acat_timeout, '86400', 0, 0).'> 1 '.$BL['be_date_day']."</option>\n"; 430 echo '<option value="172800"'.is_selected($acat_timeout, '172800', 0, 0).'> 2 '.$BL['be_date_days']."</option>\n"; 431 echo '<option value="604800"'.is_selected($acat_timeout, '604800', 0, 0).'> 1 '.$BL['be_date_week']."</option>\n"; 432 echo '<option value="1209600"'.is_selected($acat_timeout, '1209600', 0, 0).'> 2 '.$BL['be_date_weeks']."</option>\n"; 433 echo '<option value="2592000"'.is_selected($acat_timeout, '2592000', 0, 0).'> 1 '.$BL['be_date_month']."</option>\n"; 434 ?> 435 </select></td> 436 <td class="inactive"> <?php echo $BL['be_cache_timeout'] ?> </td> 437 <td bgcolor="#FFFFFF"> </td> 438 <td><input name="acat_nosearch" type="checkbox" id="acat_nosearch" value="1" <?php if($acat_nosearch === '1') echo "checked"; ?> /></td> 439 <td> <label for="acat_nosearch"><?php echo $BL['be_off'] ?></label> </td> 440 </tr> 441 </table></td> 442 </tr> 443 444 <tr><td><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 445 446 <tr> 447 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 448 449 <tr><td class="v09" colspan="8"><?php echo $BL['be_ftptakeover_status'] ?>:</td></tr> 450 <tr><td colspan="8"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 451 452 453 <tr bgcolor="#D9DEE3"> 454 <td><input name="acat_aktiv" type="checkbox" id="acat_aktiv" value="1" <?php if($acat_aktiv == 1) echo "checked"; ?> /></td> 455 <td> <label for="acat_aktiv"><?php echo $BL['be_admin_struct_visible'] ?></label> </td> 456 <td><input name="acat_public" type="checkbox" id="acat_public" value="1" <?php if($acat_public == 1) echo "checked"; ?> /></td> 457 <td> <label for="acat_public"><?php echo $BL['be_ftptakeover_public'] ?></label> </td> 458 <td><input name="acat_ssl" type="checkbox" id="acat_ssl" value="1"<?php 459 if(intval($phpwcms["site_ssl_mode"])) { 460 if($acat_ssl == 1) { 461 echo ' checked="checked"'; 462 $ssl_style=''; 463 } 464 } else { 465 echo ' disabled="disabled"'; 466 $ssl_style=' style="color:#ADB2BE;"'; 467 } 468 469 ?> /></td> 470 <td<?php echo $ssl_style; ?>> <label for="acat_ssl">SSL</label> </td> 471 472 <td><input name="acat_nositemap" type="checkbox" id="acat_nositemap" value="1"<?php is_checked(1, $acat_nositemap); ?> /></td> 473 <td> <label for="acat_nositemap"><?php echo $BL['be_ctype_sitemap'] ?></label> </td> 474 475 <td><input name="acat_archive" type="checkbox" id="acat_archive" value="1"<?php is_checked(1, $acat_archive); ?> /></td> 476 <td> <label for="acat_archive"><?php echo $BL['be_archive'] ?></label> </td> 477 478 </tr> 479 </table></td> 480 </tr> 481 <tr><td><img src="img/leer.gif" alt="" width="1" height="20" /> 482 <input name="acat_sort_temp" type="hidden" value="<?php echo $acat_sort; ?>" /> 483 <input name="acat_struct" type="hidden" id="acat_struct" value="<?php echo $acat_struct; ?>" /> 484 <input name="acat_new" type="hidden" id="acat_new" value="<?php echo $acat_new; ?>" /> 485 <input name="acat_id" type="hidden" id="acat_id" value="<?php echo $acat_id; ?>" /></td> 486 </tr> 487 <tr><td><input name="submit" type="submit" class="button10" value="<?php echo empty($acat_id) ? $BL['be_article_cnt_button2'] : $BL['be_article_cnt_button1'] ?>" /> 488 <input name="SubmitClose" type="submit" class="button10" value="<?php echo $BL['be_article_cnt_button3'] ?>" /> 489 490 <input name="donotsubmit" type="button" class="button10" value="<?php echo $BL['be_newsletter_button_cancel'] ?>" onclick="location.href='phpwcms.php?do=admin&p=6';" /></td></tr> 491 <tr><td><img src="img/leer.gif" alt="" width="1" height="15" /></td></tr> 492 <tr><td><img src="img/lines/l538_70.gif" alt="" width="538" height="1" /></td></tr> 493 <tr><td><img src="img/leer.gif" alt="" width="1" height="15" /></td></tr> 494 </table> 495 </form>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Nov 16 22:51:00 2010 | Cross-referenced by PHPXref 0.7 |