Changeset 2089 in ExiteCMS for trunk/includes/templates/admin.download_cats.tpl
- Timestamp:
- 12/03/08 17:29:31 (3 years ago)
- File:
-
- 1 edited
-
trunk/includes/templates/admin.download_cats.tpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/templates/admin.download_cats.tpl
r2035 r2089 43 43 {/if} 44 44 <tr> 45 <td width='1%' class='tbl' style=' white-space:nowrap'>45 <td width='1%' class='tbl' style='vertical-align:top;white-space:nowrap'> 46 46 {$locale.431} 47 47 </td> 48 48 <td class='tbl'> 49 <input type='text' name='cat_description' value='{$cat_description}' class='textbox' style='width:250px;' /> 49 {if $settings.hoteditor_enabled == 0 || $userdata.user_hoteditor == 0} 50 <textarea name='cat_description' rows='5' cols='80' class='textbox' style='width:350px'>{$cat_description}</textarea><br /> 51 <input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onclick="addText('cat_description', '[b]', '[/b]');" /> 52 <input type='button' value='i' class='button' style='font-style:italic;width:25px;' onclick="addText('cat_description', '[i]', '[/i]');" /> 53 <input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onclick="addText('cat_description', '[u]', '[/u]');" /> 54 <input type='button' value='url' class='button' style='width:30px;' onclick="addText('cat_description', '[url]', '[/url]');" /> 55 <input type='button' value='mail' class='button' style='width:35px;' onclick="addText('cat_description', '[mail]', '[/mail]');" /> 56 <input type='button' value='img' class='button' style='width:30px;' onclick="addText('cat_description', '[img]', '[/img]');" /> 57 <input type='button' value='center' class='button' style='width:45px;' onclick="addText('cat_description', '[center]', '[/center]');" /> 58 <input type='button' value='small' class='button' style='width:40px;' onclick="addText('cat_description', '[small]', '[/small]');" /> 59 {else} 60 <script language="javascript" type="text/javascript"> 61 // non-standard toolbars for this editor instance 62 var toolbar1 ="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight"; 63 var toolbar2 ="SPACE,btRemove_Format,SPACE,btBold,btItalic,btUnderline,SPACE,btAlign_Left,btCenter,btAlign_Right,SPACE,btStrikethrough,btSubscript,btSuperscript,btHorizontal"; 64 var toolbar3 ="SPACE,btHyperlink,btHyperlink_Email,btInsert_Image,btEmotions"; 65 66 var textarea_toolbar1 ="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight"; 67 var textarea_toolbar2 ="SPACE,btRemove_Format,SPACE,btBold,btItalic,btUnderline,SPACE,btAlign_Left,btCenter,btAlign_Right,SPACE,btStrikethrough,btSubscript,btSuperscript,btHorizontal"; 68 var textarea_toolbar3 ="SPACE,btHyperlink,btHyperlink_Email,btInsert_Image,btEmotions"; 69 </script> 70 {include file="_bbcode_editor.tpl" name="cat_description" id="cat_description" author="" message=$cat_description width="350px" height="200px"} 71 {/if} 50 72 </td> 51 73 </tr> … … 134 156 <tr> 135 157 <td align='center' colspan='2' class='tbl'> 136 <input type='submit' name='save_cat' value='{$locale.432}' class='button' /> 158 {if $settings.hoteditor_enabled == 0 || $userdata.user_hoteditor == 0} 159 <input type='submit' name='save_cat' value='{$locale.432}' class='button' /> 160 {else} 161 <input type='submit' name='save_cat' value='{$locale.432}' class='button' onclick='javascript:get_hoteditor_data("cat_description");' /> 162 {/if} 137 163 </td> 138 164 </tr>
Note: See TracChangeset
for help on using the changeset viewer.
