[ 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 31 // OK check article and category informtion 32 $sql = 'SELECT DISTINCT * FROM '.DB_PREPEND.'phpwcms_article ar LEFT JOIN '.DB_PREPEND.'phpwcms_articlecat ac ON '; 33 $sql .= "ar.article_cid=ac.acat_id WHERE ar.article_id='".$content["aid"]."' LIMIT 1"; 34 $content['article'] = _dbQuery($sql); 35 $content['article'] = isset($content['article'][0]) ? $content['article'][0] : array('article_title' => '', 'acat_name' => '', 'acat_template'=>1); 36 37 if(empty($content['article']['acat_id'])) { // Root structure 38 39 $content['article']['acat_name'] = $indexpage['acat_name']; 40 $content['article']['acat_id'] = 0; 41 $content['article']['acat_template'] = $indexpage['acat_template']; 42 43 } 44 45 ?> 46 47 <form action="phpwcms.php?do=articles&p=2&s=1&aktion=2&id=<?php echo $content["aid"]."&acid=".$content["id"] ?>" method="post" name="articlecontent" id="articlecontent" <?php 48 49 switch($content["type"]) { //Übergeben bestimmter onSubmit JavaScript Aktionen 50 case 2: echo 'onsubmit="selectAllOptions(this.cimage_list);"'; break; 51 case 29: echo 'onsubmit="selectAllOptions(this.cimage_list);"'; break; 52 case 16: echo 'onsubmit="selectAllOptions(this.cimage_list);"'; break; 53 case 50: echo 'onsubmit="selectAllOptions(this.cimage_list);"'; break; 54 case 7: echo 'onsubmit="selectAllOptions(this.cfile_list);"'; break; 55 //case 25: echo 'onsubmit="selectAllOptions(this.cfile_list);"'; break; 56 case 8: echo 'onsubmit="selectAllOptions(this.calink);"'; break; 57 case 53: echo 'onsubmit="selectAllOptions(this.cforum_selection);"'; break; 58 59 //Poll by Jens 60 case 89: echo 'onsubmit="selectAllOptions(this.cimage_list);"'; break; 61 62 default: echo 'onsubmit="var ct=getElementById(\'target_ctype\');if(ct.disabled)ct.disabled=false;"'; 63 64 } 65 66 if(empty($content["id"]) && empty($content['block'])) { 67 68 $sendbutton = $BL['be_article_cnt_button2']; 69 70 $content["block"] = 'CONTENT'; 71 $content["before"] = ''; 72 $content["after"] = ''; 73 $content["title"] = ''; 74 $content["subtitle"] = ''; 75 $content["top"] = 0; 76 $content["visible"] = 0; 77 $content["anchor"] = 0; 78 $content['comment'] = ''; 79 $content['paginate_title'] = ''; 80 $content['paginate_page'] = ''; 81 $content["granted"] = 0; 82 83 } else { 84 85 $sendbutton = $BL['be_article_cnt_button1']; 86 87 } 88 89 ?>> 90 <input type="hidden" name="ctype_module" value="<?php echo html_specialchars($content["module"]) ?>" /> 91 <table summary="" width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:13px;"> 92 93 <tr><td colspan="2" class="title"><?php 94 95 echo $BL['be_article_cnt_title'].' — <span style="text-transform: uppercase;">'; 96 echo $wcs_content_type[$content["type"]]; 97 if(!empty($content["module"])) { 98 99 echo ': '.$BL['modules'][$content["module"]]['listing_title']; 100 101 } 102 echo '</span>'; 103 104 105 ?></td></tr> 106 <tr><td colspan="2" class="rowspacer5x0"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 107 <tr bgcolor="#D9DEE3"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4" /></td></tr> 108 109 <tr bgcolor="#D9DEE3"> 110 <td align="right" class="chatlist" nowrap="nowrap"><a href="phpwcms.php?do=admin&p=6&struct=<?php 111 112 if(empty($content['article']['acat_id'])) { 113 echo 'index'; 114 } else { 115 echo $content['article']['acat_struct']; 116 echo '&cat='; 117 echo $content['article']['acat_id']; 118 } 119 120 ?>" onclick="return confirm('<?php echo $BL['be_dialog_warn_nosave']; 121 ?>');"><?php echo $BL['be_article_cat']; 122 123 ?><img src="img/symbole/redirect.gif" alt="" border="0" style="margin:0 0 0 2px;position:relative;top:1px;" /></a>: </td> 124 <td><strong><?php echo html_specialchars($content["article"]['acat_name']).' [ID:'.$content['article']['acat_id'].']' ?></strong></td> 125 </tr> 126 <tr bgcolor="#D9DEE3"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2" /></td> 127 </tr> 128 <tr bgcolor="#D9DEE3"> 129 <td align="right" class="chatlist" nowrap="nowrap"><a href="phpwcms.php?do=articles&p=2&s=1&aktion=1&id=<?php 130 131 echo $content["aid"]; 132 ?>" onclick="return confirm('<?php echo $BL['be_dialog_warn_nosave']; 133 ?>');"><?php echo $BL['be_article_atitle']; 134 135 ?><img src="img/symbole/redirect.gif" alt="" border="0" style="margin:0 0 0 2px;position:relative;top:1px;" /></a>: </td> 136 <td onclick="showEditArticleID(this);" onmouseover="this.ttOffsetY=0;Tip('<?php echo $BL['be_change_articleID'].'<br />'.$BL['be_cnt_default'].': '.$content["aid"] ?>')" class="linkcursor"><strong><?php echo html_specialchars($content["article"]['article_title']) ?></strong></td> 137 </tr> 138 139 140 <tr bgcolor="#D9DEE3"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4" /><script language="javascript" type="text/javascript"> 141 <!-- 142 var istuff_done = false; 143 function showEditArticleID(istuff) { 144 if(istuff_done) return false; 145 istuff.innerHTML += ' <'+'span class="chatlist"'+'><?php echo $BL['be_func_struct_articleID'] ?>: <'+'/span><'+'input type="text" name="ctype_change_aid" value="<?php echo $content["aid"] ?>" class="v11 width35" /'+'>'; 146 istuff_done = true; 147 } 148 //--> 149 </script></td></tr> 150 <tr><td colspan="2" class="rowspacer"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 151 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 152 153 <tr bgcolor="#F3F5F8"> 154 <td align="right" class="chatlist"><?php 155 156 echo $BL['be_article_cnt_type']; 157 $enable_disable = ''; 158 159 ?>: </td> 160 <td><table summary="" border="0" cellspacing="0" cellpadding="0"> 161 <tr> 162 <td><select name="target_ctype" id="target_ctype" onchange="if(confirm('<?php 163 164 // echo Message for JS dialog 165 echo $BL['be_func_switch_contentpart']; 166 167 // Menü mit Content Typen erstellen 168 // build select box options and remember the "old" value for javascript 169 $temp_select = ''; 170 $temp_count = 0; 171 $contentpart_temp_selected = 0; 172 173 if(is_array($article["article_cntpart"]) && count($article["article_cntpart"])) { 174 // list all content parts usable for this article category 175 foreach($article["article_cntpart"] as $value) { 176 if(isset($wcs_content_type[$value])) { 177 178 $temp_select .= getContentPartOptionTag($value, $wcs_content_type[$value], $content['type'], $content['module']); 179 $temp_count++; 180 } 181 $value1 = $value * (-1); 182 if(isset($BL['be_admin_optgroup_label'][$value1]) && $value) { 183 $temp_select .= '<optgroup label="[ '.$BL['be_admin_optgroup_label'][$value1].' ]" class="cntOptGroup"></optgroup>'."\n"; 184 } 185 } 186 187 } 188 if(!$temp_count) { 189 //list all available content parts 190 foreach($wcs_content_type as $key => $value) { 191 $temp_select .= getContentPartOptionTag($key, $value, $content['type'], $content['module']); 192 $temp_count++; 193 } 194 } 195 196 ?>')){ this.form.submit(); } else { this.form.target_ctype.selectedIndex = <?php echo $contentpart_temp_selected; ?>; return false; }"> 197 <?php 198 199 //Menü mit Content Typen erstellen 200 echo $temp_select 201 202 ?> 203 </select> 204 </td> 205 <?php echo $enable_disable; ?> 206 207 </tr> 208 </table></td> 209 </tr> 210 211 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 212 <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 213 214 <tr> 215 <td align="right" class="chatlist"><?php echo $BL['be_show_content'] ?>: </td> 216 <td><table summary="" border="0" cellspacing="0" cellpadding="0" width="440"> 217 <tr> 218 <td width="75%"><select name="cblock" id="cblock"<?php if($content['article']['article_paginate']) echo ' onchange="checkCntBlockPaginate(this);"' ?>> 219 <option value="CONTENT"<?php echo is_selected('CONTENT', $content["block"]) ?>><?php echo $BL['be_main_content'] ?> (CONTENT)</option> 220 <option value="LEFT"<?php echo is_selected('LEFT', $content["block"]) ?>><?php echo $BL['be_cnt_left'] ?> (LEFT)</option> 221 <option value="RIGHT"<?php echo is_selected('RIGHT', $content["block"]) ?>><?php echo $BL['be_cnt_right'] ?> (RIGHT)</option> 222 <option value="HEADER"<?php echo is_selected('HEADER', $content["block"]) ?>><?php echo $BL['be_admin_page_header'] ?> (HEADER)</option> 223 <option value="FOOTER"<?php echo is_selected('FOOTER', $content["block"]) ?>><?php echo $BL['be_admin_page_footer'] ?> (FOOTER)</option> 224 <?php 225 226 $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_template WHERE template_id=".$content['article']['acat_template']." LIMIT 1"; 227 $result = _dbQuery($sql); 228 if(isset($result[0]['template_var'])) { 229 $result = unserialize($result[0]['template_var']); 230 if(isset($result['customblock'])) { 231 $result = explode(',', $result['customblock']); 232 foreach($result as $value) { 233 $value = trim($value); 234 if($value != '') { 235 $valhtml = html_specialchars($value); 236 echo ' <option value="'.$valhtml.'"'.is_selected($value, $content["block"], 0, 0).'>'.$valhtml.'</option>'.LF; 237 } 238 } 239 } 240 } 241 242 ?> 243 </select></td> 244 245 <td class="chatlist" width="100" align="right"> <?php echo $BL['be_cnt_sortvalue'] ?>: </td> 246 <td><input name="csorting" type="text" id="csorting" value="<?php echo $content["sorting"] ?>" class="width30" maxlength="10" onkeyup="if(!parseInt(this.value))this.value='0';" /></td> 247 248 </tr> 249 </table></td> 250 </tr> 251 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4" /></td></tr> 252 253 <tr> 254 <td align="right" class="chatlist"><?php echo $BL['be_article_cnt_space'] ?>: </td> 255 <td><table summary="" border="0" cellspacing="0" cellpadding="0"> 256 <tr> 257 <td class="v10" bgcolor="#E7E8EB"><label for="ccb"> <?php echo $BL['be_article_cnt_before'] ?></label></td> 258 <td bgcolor="#E7E8EB"><input name="ccb" type="checkbox" id="ccb" value="1" <?php if(intval($content["before"])) echo "checked"; ?> onclick="if(!this.checked){this.form.cbefore.value='';}else{ if(this.form.cbefore.value=='') this.checked=false;}" /></td> 259 <td bgcolor="#E7E8EB"><input name="cbefore" type="text" id="cbefore" class="width20" value="<?php echo $content["before"] ?>" size="2" maxlength="4" onkeyup="if(parseInt(this.value)){this.form.ccb.checked=true;}else{this.form.ccb.checked=false;this.value=''}" /></td> 260 <td class="v10" bgcolor="#E7E8EB"><label for="cca"> <?php echo $BL['be_article_cnt_after'] ?></label></td> 261 <td bgcolor="#E7E8EB"><input name="cca" type="checkbox" id="cca" value="1" <?php if(intval($content["after"])) echo "checked"; ?> onclick="if(!this.checked){this.form.cafter.value='';}else{ if(this.form.cafter.value=='') this.checked=false;}" /></td> 262 <td style="padding:1px 1px 1px 0" bgcolor="#E7E8EB"><input name="cafter" type="text" id="cafter" class="width20" value="<?php echo $content["after"] ?>" size="2" maxlength="4" onkeyup="if(parseInt(this.value)){this.form.cca.checked=true;}else{this.form.cca.checked=false;this.value=''}" /></td> 263 <td class="chatlist"><label for="ctop"> <?php echo $BL['be_article_cnt_toplink'] ?>:</label></td> 264 <td><input name="ctop" type="checkbox" id="ctop" value="1"<?php is_checked(1, $content["top"]); ?> /></td> 265 <?php 266 267 $anchor_title = empty($content["id"]) ? '' : ' title="cpid'.$content["id"].'"'; 268 269 270 // handle tab settings 271 $content["tab_style"] = ' style="display:none"'; 272 273 if(empty($content["tab"])) { 274 275 $content["tab"] = ''; 276 $content["tab_number"] = ''; 277 $content["tab_title"] = ''; 278 279 } else { 280 281 $content["tab"] = explode('_', $content["tab"], 2); 282 $content["tab_title"] = empty($content["tab"][1]) ? '' : $content["tab"][1]; 283 $content["tab_number"] = empty($content["tab"][0]) ? '' : intval($content["tab"][0]); 284 285 if($content["tab_number"].$content["tab_title"]) { 286 $content["tab"] = 1; 287 $content["tab_style"] = ''; 288 } 289 290 } 291 292 ?> 293 <td class="chatlist"><label for="canchor"<?php echo $anchor_title ?>> <?php echo $BL['be_article_cnt_anchor'] ?>:</label></td> 294 <td><input name="canchor" type="checkbox" id="canchor" value="1"<?php is_checked(1, $content["anchor"]); ?><?php echo $anchor_title ?> /></td> 295 296 <td class="chatlist"><label for="ctab"> <?php echo $BL['be_ctype_tabs'] ?>:</label></td> 297 <td><input name="ctab" type="checkbox" id="ctab" value="1"<?php is_checked(1, $content["tab"]); ?> onclick="checkTabStatus(this);" /></td> 298 299 </tr> 300 </table><script type="text/javascript"> 301 302 var cTabStatus = <?php echo $content["tab"] ? 'true' : 'false' ?>; 303 304 function checkTabStatus(tabVal) { 305 306 cTabStatus = tabVal.checked; 307 308 if(cTabStatus == false) { 309 310 $('ctab1').setStyle('display', 'none'); 311 $('ctab2').setStyle('display', 'none'); 312 $('ctab3').setStyle('display', 'none'); 313 314 } else { 315 316 $('ctab1').setStyle('display', ''); 317 $('ctab2').setStyle('display', ''); 318 $('ctab3').setStyle('display', ''); 319 320 } 321 322 } 323 324 </script></td> 325 </tr> 326 327 <!-- ctab section --> 328 <tr id="ctab1"<?php echo $content["tab_style"] ?>><td colspan="2" class="rowspacer7x0"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 329 <tr id="ctab2"<?php echo $content["tab_style"] ?>><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 330 <tr id="ctab3"<?php echo $content["tab_style"] ?>> 331 <td align="right" class="chatlist"><?php echo $BL['be_tab_name'] ?>: </td> 332 <td><table summary="" border="0" cellspacing="0" cellpadding="0"> 333 <tr> 334 <td><input name="ctab_title" type="text" id="ctab_title" class="f11b width225" value="<?php echo html_specialchars($content["tab_title"]) ?>" size="40" maxlength="100" /></td> 335 <td class="chatlist"> <?php echo $BL['be_cnt_paginate_subsection'] ?>: </td> 336 <td><input name="ctab_number" type="text" id="ctab_number" class="v11 width25" value="<?php echo $content["tab_number"] ?>" size="3" maxlength="3" onkeyup="if(!parseInt(this.value))this.value='';" /></td> 337 </tr> 338 </table></td> 339 </tr> 340 <!-- ctab section end --> 341 342 343 <tr><td colspan="2" class="rowspacer7x0"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 344 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 345 346 347 <?php 348 if(isset($content["error"])) { 349 ?> 350 <tr bgcolor="#F3F5F8"> 351 <td align="right" valign="top" bgcolor="#FFE9D2"><strong style="color:#FF6600"><?php echo $BL['be_admin_usr_err'] ?>: </strong></td> 352 <td valign="top" bgcolor="#FFE9D2"><strong style="color:#FF6600"><?php 353 //Fehlerdarstellung 354 $content["error_result"]=""; 355 foreach($content["error"] as $value) { 356 $content["error_result"] .= "> ".$value."\n"; 357 } 358 echo nl2br(html_specialchars(chop($content["error_result"]))); 359 unset($content["error_result"]); 360 361 ?></strong></td> 362 </tr> 363 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 364 <?php 365 } 366 ?> 367 <tr bgcolor="#F3F5F8"> 368 <td align="right" class="chatlist"><?php echo $BL['be_article_cnt_ctitle'] ?>: </td> 369 <td><input name="ctitle" type="text" id="ctitle" class="width440p5" value="<?php echo html_specialchars($content["title"]) ?>" size="40" maxlength="250" /></td> 370 </tr> 371 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2" /></td></tr> 372 <tr bgcolor="#F3F5F8"> 373 <td align="right" class="chatlist"><?php echo $BL['be_article_asubtitle'] ?>: </td> 374 <td><input name="csubtitle" type="text" id="csubtitle" class="width440p5" value="<?php echo html_specialchars($content["subtitle"]) ?>" size="40" maxlength="250" /></td> 375 </tr> 376 377 <?php 378 379 // check if it is necessary to display paginate stuff 380 // in case no content part pagination isset for current article 381 382 $content["paginate_page"] = empty($content["paginate_page"]) ? 0 : intval($content["paginate_page"]); 383 384 if(empty($content['article']['article_paginate'])) { 385 386 echo '<tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="7" />'; 387 echo '<input name="cpaginate_title" type="hidden" id="cpaginate_title" value="'.html_specialchars($content["paginate_title"]).'" />'; 388 echo '<input name="cpaginate_page" type="hidden" id="cpaginate_page" value="'.$content["paginate_page"].'" />'; 389 echo '</td></tr>'; 390 391 } else { 392 393 ?> 394 395 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr> 396 <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 397 398 <tr> 399 <td align="right" class="chatlist"><?php echo $BL['be_cnt_paginate_subsection'] ?>: </td> 400 <td><table summary="" border="0" cellspacing="0" cellpadding="0" width="444"> 401 <tr> 402 <td><input name="cpaginate_page" type="text" id="cpaginate_page" class="v11 width25" value="<?php echo $content["paginate_page"] ?>" size="3" maxlength="3" onkeyup="if(!parseInt(this.value))this.value='0';" /></td> 403 <td align="right" class="chatlist"> <?php echo $BL['be_cnt_subsection_tite'].' ('.$BL['be_pagination'].')' ?>: </td> 404 <td width="200"><input name="cpaginate_title" type="text" id="cpaginate_title" class="f11b width225" value="<?php echo html_specialchars($content["paginate_title"]) ?>" size="40" maxlength="200" /></td> 405 </tr> 406 </table><script language="javascript" type="text/javascript"> 407 408 var loadblock = true; 409 checkCntBlockPaginate(getObjectById("cblock")); 410 loadblock = false; 411 412 function checkCntBlockPaginate(obj) { 413 var paginate = getObjectById("cpaginate_page"); 414 if(obj.options[obj.selectedIndex].value != "CONTENT") { 415 if(paginate.value != "0" && loadblock == false) { 416 if(!confirm("<?php echo $BL['be_cnt_subsection_warning'] ?>")) { 417 getObjectById("cblock").selectedIndex = 0; 418 return false; 419 } 420 } 421 paginate.disabled = true; 422 } else { 423 paginate.disabled = false; 424 } 425 } 426 427 </script></td> 428 </tr> 429 430 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="7" /></td></tr> 431 432 <?php 433 434 } 435 // end paginate check 436 437 ?> 438 439 <tr><td colspan="2" class="rowspacer"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 440 441 <tr bgcolor="#F3F5F8"> 442 <td> </td> 443 <td style="padding:7px 0 7px 0;"> 444 <?php 445 446 // render buttons only once and save the buffer 447 if(!empty($content["id"])) { 448 $buttonActionLink = 'index.php?id='.$content['article']['acat_id'].','.$content["aid"].',0,0,1,0'; 449 $buttonAction = ' <div style="float:right;margin-right:5px;padding:0;">'; 450 $buttonAction .= ' <button type="button" value="'.$BL['be_func_struct_preview'].'" class="button10" title="'.$BL['be_func_struct_preview'].'" '; 451 $buttonAction .= 'onclick="window.open(\''.$buttonActionLink."', 'articlePreviewWindows');return false;\">"; 452 $buttonAction .= $BL['be_func_struct_preview']."</button></div>" . LF; 453 } else { 454 $buttonAction = ''; 455 } 456 457 458 ob_start(); 459 460 ?> 461 <div> 462 <?php echo $buttonAction; ?> 463 <div style="float:left;padding:0;"> 464 <input name="Submit" type="submit" class="button10" value="<?php echo $sendbutton ?>" /> 465 <input name="SubmitClose" type="submit" class="button10" value="<?php echo $BL['be_article_cnt_button3'] ?>" /> 466 467 <input name="donotsubmit" type="button" class="button10" value="<?php echo $BL['be_newsletter_button_cancel'] ?>" onclick="location.href='phpwcms.php?do=articles&p=2&s=1&id=<?php echo $content["aid"] ?>'" /> 468 </div> 469 </div> 470 <?php 471 472 $_save_close_buttons = ob_get_contents(); 473 ob_end_clean(); 474 475 echo $_save_close_buttons; 476 477 ?> 478 </td> 479 </tr> 480 481 482 483 <?php 484 // show content part specific form elements 485 486 if($content['type'] != 30 && file_exists(PHPWCMS_ROOT.'/include/inc_tmpl/content/cnt'.$content['type'].'.inc.php')) { 487 488 include_once(PHPWCMS_ROOT.'/include/inc_tmpl/content/cnt'.$content['type'].'.inc.php'); 489 490 } elseif($content['type'] == 30 && file_exists($phpwcms['modules'][$content["module"]]['path'].'inc/cnt.form.php')) { 491 492 include_once($phpwcms['modules'][$content["module"]]['path'].'inc/cnt.form.php'); 493 494 } else { 495 496 include_once (PHPWCMS_ROOT.'/include/inc_tmpl/content/cnt0.inc.php'); 497 498 } 499 500 ?> 501 502 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8" /></td></tr> 503 504 <tr> 505 <td align="right" class="chatlist"><?php echo $BL['be_ftptakeover_status'] ?>: </td> 506 <td><table summary="" border="0" cellpadding="1" cellspacing="0" bgcolor="#E7E8EB"> 507 <tr> 508 509 <td><input name="cvisible" type="checkbox" id="cvisible" value="1"<?php is_checked(1, $content["visible"]); ?> /></td> 510 <td><label for="cvisible"><?php echo $BL['be_admin_struct_visible'] ?> </label></td> 511 512 <td bgcolor="#FFFFFF"> </td> 513 514 <td><input name="cgranted" type="checkbox" id="cgranted" value="1"<?php is_checked(1, $content["granted"]); ?> /></td> 515 <td><label for="cgranted"><?php echo $BL['be_granted_feuser'] ?> </label></td> 516 517 </tr> 518 </table></td> 519 </tr> 520 521 <tr> 522 523 <td> </td> 524 <td style="padding: 12px 0 12px 0;"> 525 <input name="caktion" type="hidden" id="caktion" value="1" /> 526 <input name="caid" type="hidden" id="caid" value="<?php echo $article["article_id"] ?>" /> 527 <input name="cid" type="hidden" id="cid" value="<?php echo $content["id"] ?>" /> 528 <input name="ctype" type="hidden" id="ctype" value="<?php echo $content["type"] ?>" /> 529 <?php echo $_save_close_buttons ?> 530 </td> 531 </tr> 532 533 <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 534 535 <tr> 536 <td align="right" class="chatlist tdtop3"><?php echo $BL['be_profile_label_notes'] ?>: </td> 537 <td><textarea name="ccomment" id="ccomment" class="v11 width440" rows="5"><?php echo html_specialchars($content["comment"]) ?></textarea></td> 538 </tr> 539 540 </table> 541 </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 |