[ 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 // copy template initiated by Erich 32 33 $template = array( "name" => '', "default" => 0, "layout" => '', "css" => array(), "htmlhead" => '', 34 "jsonload" => '', "headertext" => '', "maintext" => '', "footertext" => '', 35 "lefttext" => '', "righttext" => '', "errortext" => '', 'feloginurl' => '' ); 36 37 if(!isset($_GET["s"])) { 38 // check if template should be edited 39 ?> 40 <table width="538" border="0" cellpadding="0" cellspacing="0" summary=""> 41 <tr><td colspan="3" class="title"><?php echo $BL['be_admin_tmpl_title'] ?></td></tr> 42 <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="6" /></td> 43 </tr> 44 <tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1" /></td> 45 </tr> 46 <?php 47 // loop listing available templates 48 $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_template WHERE template_trash=0 ORDER BY template_default DESC, template_name"; //AND template_type=0 49 if($result = mysql_query($sql, $db) or die("error while listing templates")) { 50 $row_count = 0; 51 while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { 52 53 $edit_link = 'do=admin&p=11&s='.$row["template_id"].'&t='.$row["template_type"]; 54 55 echo "<tr".( ($row_count % 2) ? " bgcolor=\"#F3F5F8\"" : "" ).">\n<td width=\"28\">"; //#F9FAFB 56 echo '<img src="img/symbole/template_list_icon.gif" width="28" height="18"></td>'."\n"; 57 echo '<td width="470" class="dir"><a href="phpwcms.php?'.$edit_link; 58 echo '"><strong>'.html_specialchars($row["template_name"])."</strong>"; 59 echo ($row["template_default"]) ? " (".$BL['be_admin_tmpl_default'].")" : ""; 60 echo "</a></td>\n".'<td width="60" align="right">'; 61 echo '<a href="phpwcms.php?'.$edit_link; 62 echo '"><img src="img/button/edit_22x11.gif" width="22" height="11" border="0"></a>'; 63 echo '<img src="img/leer.gif" width="2" height="1">'; 64 65 // ERICH COPY TEMPLATE 7.6.2005 66 echo '<a href="phpwcms.php?'.$edit_link.'&c=1'; // c=1 -> do copy 67 echo '" title="copy template"><img src="img/button/copy_11x11_0.gif" width="11" height="11" border="0"></a>'; 68 echo '<img src="img/leer.gif" width="2" height="1">'; 69 // ERICH COPY TEMPLATE END 7.6.2005 70 71 echo '<a href="include/inc_act/act_frontendsetup.php?do=2|'.$row["template_id"].'" '; 72 echo 'title="delete template: '.html_specialchars($row["template_name"]).'">'; 73 echo '<img src="img/button/del_11x11.gif" width="11" height="11" border="0"></a>'; 74 echo '<img src="img/leer.gif" width="2" height="1">'."</td>\n</tr>\n"; 75 $row_count++; 76 } 77 mysql_free_result($result); 78 } // end listing 79 80 ?> 81 <tr><td colspan="3" bgcolor="#92A1AF"><img src="img/leer.gif" alt="" width="1" height="1" /></td> 82 </tr> 83 <tr><td colspan="3"><img src="img/leer.gif" alt="" width="1" height="8" /></td> 84 </tr> 85 <tr><td colspan="3"><form action="phpwcms.php?do=admin&p=11&s=0" method="post"> 86 <input type="submit" value="<?php echo $BL['be_admin_tmpl_add'] ?>" class="button10" title="<?php echo $BL['be_admin_tmpl_add'] ?>" /> 87 </form></td> 88 </tr> 89 </table> 90 <?php 91 92 } else { 93 94 // should the edit template dialog 95 $template["id"] = intval($_GET["s"]); 96 97 $createcopy = isset($_GET["c"]) ? intval($_GET["c"]) : 0; 98 99 if(isset($_POST["template_id"])) { 100 101 102 $createcopy = empty($_POST["c"]) ? 0 : intval($_POST["c"]); // ERICH COPY TEMPLATE 08.06.2005 103 104 // read the create or edit template form data 105 $template["id"] = intval($_POST["template_id"]); 106 $template["default"] = empty($_POST["template_setdefault"]) ? 0 : 1; 107 $template["layout"] = intval($_POST["template_layout"]); 108 $template["name"] = clean_slweg($_POST["template_name"], 150); 109 if(empty($template["name"])) { 110 $template["name"] = "template_".randpassword(3); 111 } 112 if(is_array($_POST["template_css"])) { 113 $template["css"] = $_POST["template_css"]; 114 } else { 115 $template["css"] = array(); 116 } 117 $template["htmlhead"] = slweg($_POST["template_htmlhead"]); 118 $template["jsonload"] = slweg($_POST["template_jsonload"]); 119 $template["headertext"] = slweg($_POST["template_block_header"]); 120 $template["maintext"] = slweg($_POST["template_block_main"]); 121 $template["footertext"] = slweg($_POST["template_block_footer"]); 122 $template["lefttext"] = slweg($_POST["template_block_left"]); 123 $template["righttext"] = slweg($_POST["template_block_right"]); 124 $template["errortext"] = slweg($_POST["template_block_error"]); 125 $template["feloginurl"] = slweg($_POST["template_felogin_url"]); 126 $template["overwrite"] = clean_slweg($_POST["template_overwrite"]); 127 128 // now browse custom blocks if available 129 if(!empty($_POST['customblock'])) { 130 131 $template['customblock'] = clean_slweg($_POST["customblock"]); 132 $temp_customblock = explode(',', $template['customblock']); 133 foreach($temp_customblock as $value) { 134 135 $template['customblock_'.$value] = slweg($_POST['template_customblock_'.$value]); 136 137 } 138 } 139 140 if($template["id"] && empty($createcopy)) { 141 // if ID <> 0 then get template info from database 142 $sql = "UPDATE ".DB_PREPEND."phpwcms_template SET ". 143 "template_name='".aporeplace($template["name"])."', ". 144 "template_default=".$template["default"].", ". 145 "template_var='".aporeplace(serialize($template))."' ". 146 "WHERE template_id=".$template["id"]; 147 } else { 148 // if ID = 0 then show create new template form 149 $sql = "INSERT INTO ".DB_PREPEND."phpwcms_template (". 150 "template_name, template_default, template_var) VALUES ('". 151 aporeplace($template["name"])."', ".$template["default"].", '". 152 aporeplace(serialize($template))."')"; 153 } 154 // update or insert data entry 155 @mysql_query($sql, $db) or die("error while updating or inserting template datas"); 156 157 if(empty($template["id"]) || $createcopy == 1) { 158 $template["id"] = mysql_insert_id($db); 159 } 160 161 //now proof for default template definition 162 if($template["default"]) { 163 mysql_query("UPDATE ".DB_PREPEND."phpwcms_template SET template_default=0 ". 164 "WHERE template_id != ".$template["id"], $db); 165 } 166 update_cache(); 167 headerRedirect(PHPWCMS_URL."phpwcms.php?do=admin&p=11&s=".$template["id"]); 168 } 169 170 if($template["id"]) { 171 // read the given template datas from db 172 $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_template WHERE template_id=".$template["id"]." LIMIT 1"; 173 if($result = mysql_query($sql, $db)) { 174 if($row = mysql_fetch_array($result, MYSQL_ASSOC)) { 175 unset($template); 176 $template = unserialize($row["template_var"]); 177 $template["id"] = $row["template_id"]; 178 $template["default"] = $row["template_default"]; 179 // compatibility for older releases where only 180 // 1 css file could be stored per template 181 if(is_string($template['css'])) { 182 $template['css'] = array($template['css']); 183 } 184 } 185 mysql_free_result($result); 186 } 187 } 188 189 // show form 190 ?><script language="JavaScript" type="text/javascript"> 191 <!-- 192 function doPageLayoutChange() { 193 var returnValue = confirm('<?php echo $BL['be_admin_template_jswarning'] ?>'); 194 if(returnValue) { 195 document.blocks.submit(); 196 return true; 197 } else { 198 return false; 199 } 200 } 201 //--> 202 </script><form action="phpwcms.php?do=admin&p=11&s=<?php echo $template["id"] ?>" method="post" name="blocks" target="_self" id="blocks"> 203 <table width="100%" border="0" cellpadding="0" cellspacing="0" summary=""> 204 205 <tr><td colspan="2" class="title"><?php echo (empty($createcopy) ? $BL['be_admin_tmpl_edit'] : $BL['be_admin_tmpl_copy']) ?>: <?php echo ($template["id"]) ? html_specialchars($template["name"]) : $BL['be_admin_tmpl_new']; ?> 206 <input type="hidden" name="c" value="<?php echo $createcopy; ?>" /></td></tr> 207 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1" /></td> 208 </tr> 209 <tr bgcolor="#E6EAED"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8" /></td> 210 </tr> 211 <tr bgcolor="#E6EAED"> 212 <td align="right" class="chatlist"><?php echo $BL['be_admin_tmpl_name'] ?>: </td> 213 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 214 <tr> 215 <td><?php 216 // ERICH COPY TEMPLATE 08.06.2005 217 if(empty($createcopy)) { 218 echo '<input name="template_name" type="text" class="f11b width350" id="template_name" value="'.html_specialchars($template["name"]).'" size="50" maxlength="150">'; 219 } else { 220 echo '<img src="img/symbole/achtung.gif" width="13" height="11" alt="" border="0" style="margin-right:2px;" /><input name="template_name" type="text" class="f11b width350" id="template_name" style="color:FF3300" value="'.html_specialchars($template["name"]).'_'.randpassword(2).'" size="50" maxlength="150">'; 221 } 222 ?></td> 223 <td> </td> 224 <td><input name="template_setdefault" id="template_setdefault" type="checkbox" value="1" <?php is_checked(empty($createcopy) ? $template["default"] : 0, 1) ?> /></td> 225 <td class="v10"><label for="template_setdefault"><?php echo $BL['be_admin_tmpl_default'] ?></label></td> 226 </tr> 227 </table></td> 228 </tr> 229 <tr bgcolor="#E6EAED"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td></tr> 230 <tr bgcolor="#E6EAED"> 231 <td align="right" class="chatlist"><?php echo $BL['be_admin_tmpl_layout'] ?>: </td> 232 <td><?php 233 // get available page layout list 234 $jsOnChange = ''; 235 $opt = ""; 236 $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_pagelayout ". 237 "WHERE pagelayout_trash=0 ORDER BY pagelayout_default DESC"; 238 if($result = mysql_query($sql, $db) or die("error while listing pagelayouts")) { 239 while($row = mysql_fetch_assoc($result)) { 240 $opt .= '<option value="'.$row['pagelayout_id'].'"'; 241 if($row['pagelayout_id'] == $template["layout"]) { 242 $opt .= ' selected'; 243 // try to get additional custom blocks from selected page layout 244 $custom_blocks = unserialize($row['pagelayout_var']); 245 $custom_blocks = explode(', ', trim($custom_blocks['layout_customblocks'])); 246 247 if(is_array($custom_blocks) && count($custom_blocks) && $custom_blocks[0] != '') { 248 $jsOnChange = ' onChange="doPageLayoutChange();"'; 249 } else { 250 $jsOnChange = ''; 251 } 252 } 253 $opt .= '>'.html_specialchars($row['pagelayout_name']).'</option>'."\n"; 254 } 255 mysql_free_result($result); 256 } 257 258 if($opt) { 259 echo '<select name="template_layout" class="f11b width350" id="template_layout"'.$jsOnChange.'>'.LF; 260 echo $opt; 261 echo '</select>'; 262 } else { 263 echo $BL['be_admin_tmpl_nolayout'].' (<a href="phpwcms.php?do=admin&p=8&s=0">'.$BL['be_admin_page_add'].'</a>)'; 264 } 265 266 ?></td> 267 </tr> 268 269 270 <tr bgcolor="#E6EAED"><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 271 272 <tr bgcolor="#E6EAED"> 273 <td> </td> 274 <td class="chatlist tdbottom3"><?php echo $BL['be_overwrite_default'] ?> 275 <br /><strong>config/phpwcms/conf.template_default.inc.php</strong></td> 276 </tr> 277 278 279 <tr bgcolor="#E6EAED"> 280 <td align="right" class="chatlist" style="padding-left:2px"><?php echo $BL['be_settings'] ?>: </td> 281 <td><select name="template_overwrite" id="template_overwrite" class="f11b"> 282 <option value="" style="font-weight:normal;font-style:italic;"><?php echo $BL['be_admin_tmpl_default']; ?></option> 283 <?php 284 285 // templates for frontend login 286 $tmpllist = get_tmpl_files(PHPWCMS_TEMPLATE.'inc_settings/template_default', 'php'); 287 if(is_array($tmpllist) && count($tmpllist)) { 288 foreach($tmpllist as $val) { 289 $selected_val = (isset($template["overwrite"]) && $val == $template["overwrite"]) ? ' selected="selected"' : ''; 290 $val = html_specialchars($val); 291 echo ' <option value="' . $val . '"' . $selected_val . '>' . $val . '</option>' . LF; 292 } 293 } 294 295 ?> 296 </select></td> 297 </tr> 298 299 300 <tr bgcolor="#E6EAED"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8" /></td></tr> 301 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1" /></td></tr> 302 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8" /></td></tr> 303 304 305 <tr bgcolor="#F3F5F8"> 306 <td align="right" class="chatlist" valign="top"><?php echo $BL['be_admin_tmpl_css'] ?>:<img src="img/leer.gif" alt="" width="4" height="14" /></td> 307 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 308 <tr> 309 <td valign="top"><select name="template_css[]" size="6" multiple="multiple" class="code" id="template_css"> 310 <?php 311 312 $unselected_css = array(); 313 314 // get css file list 315 if(is_dir(PHPWCMS_TEMPLATE."inc_css")) { 316 317 $css_handle = opendir(PHPWCMS_TEMPLATE."inc_css" ); 318 319 // browse template CSS diretory and list all available CSS files 320 while($css_file = readdir( $css_handle )) { 321 322 if( $css_file != "." && $css_file != ".." && preg_match('/^[a-z0-9\. \-_]+\.css$/i', $css_file) ) { 323 324 $unselected_css[$css_file] = $css_file; 325 326 } 327 } 328 closedir( $css_handle ); 329 } 330 331 // now run the css information 332 foreach($template["css"] as $value) { 333 if(isset($unselected_css[$value])) { 334 $css_file = html_entities($value); 335 echo ' <option value="'.$css_file.'" selected="selected" style="font-weight: bold;">'.$css_file.' </option>'.LF; 336 unset($unselected_css[$value]); 337 } 338 } 339 foreach($unselected_css as $value) { 340 $css_file = html_entities($value); 341 echo ' <option value="'.$css_file.'">'.$css_file.' </option>'.LF; 342 } 343 344 ?> 345 </select></td> 346 347 <td valign="top" align="center"> 348 <img src="img/button/list_pos_up.gif" alt="" width="15" height="15" border="0" onclick="moveOptionUp(document.blocks.template_css);" /><br /> 349 <img src="img/leer.gif" width="23" height="3" alt="" /><br /> 350 <img src="img/button/list_pos_down.gif" alt="" width="15" height="15" border="0" onclick="moveOptionDown(document.blocks.template_css);" /></td> 351 <td valign="top"> </td> 352 353 </tr> 354 </table></td> 355 </tr> 356 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 357 </tr> 358 <tr bgcolor="#F3F5F8"> 359 <td align="right" valign="top" bgcolor="#F3F5F8" class="chatlist tdtop4"><?php echo $BL['be_admin_tmpl_head'] ?>: <br /><head> </td> 360 <td><textarea name="template_htmlhead" cols="35" rows="5" wrap="off" class="code" id="template_htmlhead" style="width:440px"><?php echo html_entities($template["htmlhead"]); ?></textarea></td> 361 </tr> 362 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 363 </tr> 364 <tr bgcolor="#F3F5F8"> 365 <td align="right" class="chatlist"><?php echo $BL['be_admin_tmpl_js'] ?>: </td> 366 <td><input name="template_jsonload" type="text" class="code" id="template_jsonload" style="width:440px" value="<?php echo html_entities($template["jsonload"]) ?>" size="50" /></td> 367 </tr> 368 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 369 </tr> 370 <tr bgcolor="#F3F5F8"> 371 <td align="right" class="chatlist" nowrap="nowrap"> <?php echo $BL['be_fe_login_url'] ?>: </td> 372 <td><input name="template_felogin_url" type="text" class="code" id="template_felogin_url" style="width:440px" value="<?php echo empty($template["feloginurl"]) ? '' : html_entities($template["feloginurl"]) ?>" size="50" /></td> 373 </tr> 374 <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8" /></td> 375 </tr> 376 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1" /></td> 377 </tr> 378 <tr> 379 <td> </td> 380 <td style="padding:7px 0 7px 0"><input name="Submit" type="submit" class="button10" value="<?php echo $BL['be_admin_tmpl_button'] ?>" /> 381 382 <input type="button" class="button10" value="<?php echo $BL['be_admin_struct_close'] ?>" onclick="location.href='phpwcms.php?do=admin&p=11';" /></td> 383 </tr> 384 <tr><td colspan="2"><img src="img/lines/l538_70.gif" alt="" width="538" height="1" /></td> 385 </tr> 386 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td> 387 </tr> 388 <tr> 389 <td align="right" valign="top" class="chatlist tdtop4"><?php echo $BL['be_admin_page_header'] ?>: </td> 390 <td><textarea name="template_block_header" cols="35" rows="8" class="code" id="template_block_header" style="width:440px"><?php echo html_entities($template["headertext"]); ?></textarea></td> 391 </tr> 392 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 393 </tr> 394 <tr> 395 <td align="right" valign="top" class="chatlist tdtop4"><?php echo $BL['be_admin_page_main'] ?>: </td> 396 <td><textarea name="template_block_main" cols="35" rows="20" class="code" id="template_block_main" style="width:440px"><?php echo html_entities($template["maintext"]); ?></textarea></td> 397 </tr> 398 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 399 </tr> 400 <tr> 401 <td align="right" valign="top" class="chatlist tdtop4"><?php echo $BL['be_admin_page_footer'] ?>: </td> 402 <td><textarea name="template_block_footer" cols="35" rows="8" class="code" id="template_block_footer" style="width:440px"><?php echo html_entities($template["footertext"]); ?></textarea></td> 403 </tr> 404 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 405 </tr> 406 <tr> 407 <td align="right" valign="top" class="chatlist tdtop4"><?php echo $BL['be_admin_page_left'] ?>: </td> 408 <td><textarea name="template_block_left" cols="35" rows="8" class="code" id="template_block_left" style="width:440px"><?php echo html_entities($template["lefttext"]); ?></textarea></td> 409 </tr> 410 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 411 </tr> 412 <tr> 413 <td align="right" valign="top" class="chatlist tdtop4"><?php echo $BL['be_admin_page_right'] ?>: </td> 414 <td><textarea name="template_block_right" cols="35" rows="8" class="code" id="template_block_right" style="width:440px"><?php echo html_entities($template["righttext"]); ?></textarea></td> 415 </tr> 416 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="3" /></td> 417 </tr> 418 419 <?php 420 if(!empty($jsOnChange)) { 421 422 echo '<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5" alt="" /></td></tr>'; 423 echo '<tr><td colspan="2"><img src="img/lines/l538_70.gif" width="538" height="1" alt="" /></td></tr>'; 424 echo '<tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" width="1" height="8" alt="" />'; 425 echo '<input type="hidden" name="customblock" value="'.html_specialchars(implode(',', $custom_blocks)).'">'; 426 echo "</td></tr>\n"; 427 // list custom blocks 428 foreach($custom_blocks as $value) { 429 430 $custom_block = html_specialchars($value); 431 432 echo '<tr bgcolor="#F3F5F8"><td><img src="img/leer.gif" width="1" height="14" alt="" /></td>'; 433 echo '<td class="chatlist" valign="top">'.$custom_block." {".$custom_block."}</td>\n</tr>\n"; 434 echo '<tr bgcolor="#F3F5F8"><td> </td>'; 435 echo '<td><textarea name="template_customblock_'.$custom_block; 436 echo '" cols="35" rows="8" class="code" style="width:440px">'; 437 echo isset($template['customblock_'.$value]) ? html_entities($template['customblock_'.$value]) : ''; 438 echo "</textarea></td>\n</tr>\n"; 439 echo '<tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" width="1" height="3" alt="" /></td></tr>'."\n"; 440 441 } 442 443 echo '<tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" width="1" height="5" alt="" /></td></tr> 444 <tr><td colspan="2"><img src="img/lines/l538_70.gif" width="538" height="1" alt="" /></td></tr> 445 <tr><td colspan="2"><img src="img/leer.gif" width="1" height="8" alt="" /></td></tr>'; 446 447 } 448 ?> 449 <tr> 450 <td align="right" valign="top" class="chatlist tdtop4"><?php echo $BL['be_admin_tmpl_error'] ?>: </td> 451 <td><textarea name="template_block_error" cols="35" rows="5" class="code" id="template_block_error" style="width:440px"><?php echo html_entities($template["errortext"]); ?></textarea></td> 452 </tr> 453 454 <tr><td colspan="2" class="rowspacer7x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr> 455 456 <tr> 457 <td> <input name="template_id" type="hidden" value="<?php echo $template["id"] ?>" /></td> 458 <td style="padding-bottom:10px;"> 459 <input name="Submit" type="submit" class="button10" value="<?php echo $BL['be_admin_tmpl_button'] ?>" /> 460 461 <input type="button" class="button10" value="<?php echo $BL['be_admin_struct_close'] ?>" onclick="location.href='phpwcms.php?do=admin&p=11';" /></td> 462 </tr> 463 464 </table></form><?php 465 } 466 ?>
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 |