[ 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 32 ?> 33 <h1 class="title" style="margin-bottom:10px"><?php echo $BLM['listing_title'] ?></h1> 34 35 <form action="<?php echo GLOSSARY_HREF ?>&edit=<?php echo $glossary['data']['glossary_id'] ?>" method="post" style="background:#F3F5F8;border-top:1px solid #92A1AF;border-bottom:1px solid #92A1AF;margin:0 0 5px 0;padding:10px 8px 15px 8px"> 36 <input type="hidden" name="glossary_id" value="<?php echo $glossary['data']['glossary_id'] ?>" /> 37 <table border="0" cellpadding="0" cellspacing="0" width="100%" summary=""> 38 39 <tr> 40 <td align="right" class="chatlist"><?php echo $BL['be_cnt_last_edited'] ?>: </td> 41 <td class="v10"><?php echo html_specialchars(date($BL['be_fprivedit_dateformat'], strtotime($glossary['data']['glossary_changed']))) ?></td> 42 </tr> 43 44 <?php if(!empty($glossary['data']['glossary_created'])) { ?> 45 46 <tr> 47 <td align="right" class="chatlist"><?php echo $BL['be_fprivedit_created'] ?>: </td> 48 <td class="v10"><?php echo html_specialchars(date($BL['be_fprivedit_dateformat'], strtotime($glossary['data']['glossary_created']))) ?></td> 49 </tr> 50 51 <?php } ?> 52 53 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 54 55 <tr> 56 <td align="right" class="chatlist"><?php echo $BLM['glossary_title'] ?>: </td> 57 <td><input name="glossary_title" type="text" id="glossary_title" class="f11b<?php 58 59 //error class 60 if(!empty($glossary['error']['glossary_title'])) echo ' errorInputText'; 61 62 ?>" style="width:400px;" value="<?php echo html_specialchars($glossary['data']['glossary_title']) ?>" size="30" maxlength="1000" /></td> 63 </tr> 64 65 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 66 67 <tr> 68 <td align="right" class="chatlist"><?php echo $BLM['glossary_keyword'] ?>: </td> 69 <td><input name="glossary_keyword" type="text" id="glossary_keyword" class="f11b<?php 70 71 //error class 72 if(!empty($glossary['error']['glossary_keyword'])) echo ' errorInputText'; 73 74 ?>" style="width:400px;" value="<?php echo html_specialchars($glossary['data']['glossary_keyword']) ?>" size="30" maxlength="200" /></td> 75 </tr> 76 77 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 78 79 <tr> 80 <td align="right" class="chatlist"><?php echo $BLM['glossary_token'] ?>: </td> 81 <td><input name="glossary_tag" type="text" id="glossary_tag" class="f11" style="width:400px;" value="<?php echo html_specialchars($glossary['data']['glossary_tag']) ?>" size="30" maxlength="220" /></td> 82 </tr> 83 84 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td></tr> 85 86 <tr> 87 <td class="chatlist" colspan="2" style="padding-bottom:4px"><?php echo $BLM['glossary_text'] ?>: </td> 88 </tr> 89 90 <tr> 91 <td colspan="2" align="center"><?php 92 93 $wysiwyg_editor = array( 94 'value' => $glossary['data']['glossary_text'], 95 'field' => 'glossary_text', 96 'height' => '400px', 97 'width' => '524px', 98 'rows' => '15', 99 'editor' => $_SESSION["WYSIWYG_EDITOR"], 100 'lang' => 'en' 101 ); 102 103 include (PHPWCMS_ROOT.'/include/inc_lib/wysiwyg.editor.inc.php'); 104 105 106 ?></td> 107 </tr> 108 109 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="15" /></td></tr> 110 111 <tr> 112 <td align="right" class="chatlist"><?php echo $BLM['highlight'] ?>: </td> 113 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 114 <tr> 115 <td><input type="checkbox" name="glossary_highlight" id="glossary_highlight" value="1"<?php is_checked($glossary['data']['glossary_highlight'], 1) ?> /></td> 116 <td><label for="glossary_highlight"><?php echo $BLM['highlight_descr'] ?></label></td> 117 </tr> 118 </table></td> 119 </tr> 120 121 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="5" /></td></tr> 122 123 <tr> 124 <td align="right" class="chatlist"><?php echo $BL['be_ftptakeover_status'] ?>: </td> 125 <td><table border="0" cellpadding="0" cellspacing="0" summary=""> 126 <tr> 127 <td><input type="checkbox" name="glossary_status" id="glossary_status" value="1"<?php is_checked($glossary['data']['glossary_status'], 1) ?> /></td> 128 <td><label for="glossary_status"><?php echo $BL['be_cnt_activated'] ?></label></td> 129 </tr> 130 </table></td> 131 </tr> 132 133 <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="10" /></td> 134 </tr> 135 <tr> 136 <td> </td> 137 <td> 138 <input name="submit" type="submit" class="button10" value="<?php echo empty($glossary['data']['glossary_id']) ? $BL['be_admin_fcat_button2'] : $BL['be_article_cnt_button1'] ?>" /> 139 <input name="save" type="submit" class="button10" value="<?php echo $BL['be_article_cnt_button3'] ?>" /> 140 141 <input name="new" type="button" class="button10" value="<?php echo ucfirst($BL['be_msg_new']) ?>" onclick="location.href='<?php echo decode_entities(GLOSSARY_HREF) ?>&edit=0';return false;" /> 142 <input name="close" type="button" class="button10" value="<?php echo $BL['be_admin_struct_close'] ?>" onclick="location.href='<?php echo decode_entities(GLOSSARY_HREF) ?>';return false;" /> 143 </td> 144 </tr> 145 146 </table> 147 148 </form>
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 |