Changeset 6019
- Timestamp:
- 02/05/12 20:10:36 (4 months ago)
- Location:
- trunk/modules/templatemanager/view/smarty
- Files:
-
- 3 edited
-
action_admin_edit.tpl (modified) (2 diffs)
-
action_admin_show.tpl (modified) (1 diff)
-
create_new_template.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/templatemanager/view/smarty/action_admin_edit.tpl
r4809 r6019 1 {* Template: /modules/templatemanager/action_admin_edit or.tpl *}1 {* Template: /modules/templatemanager/action_admin_edit.tpl *} 2 2 3 3 {move_to target="pre_head_close"} 4 <script type="text/javascript" src="{$www_root}libraries/codemirror/ js/codemirror.js"></script>4 <script type="text/javascript" src="{$www_root}libraries/codemirror/codemirror.js"></script> 5 5 <script type="text/javascript" src="{$www_root_themes_core}javascript/codemirror_config.js"></script> 6 6 … … 29 29 <div class="ModuleHeadingSmall">{t}You are editing: {/t} <font color="red"> {$templateeditor_absolute_filename} </font></div> 30 30 {/if} 31 32 {* @todo 33 Tabs: 34 Edit Source 35 View Original (rendered) 36 View Edited (rendered) 37 Show Diff 38 Save Changes 39 40 -zum Editieren des Quelltextes 41 - so wie es als Webseite aussieht 42 - so wie es mit Veränderungen als Webseite aussieht 43 - Textdifferenz in Patchform + Downloadmöglichkeit 44 - Abspeichern der Änderungen 45 *} 31 46 32 47 <div style="border: 1px solid black; background: white; padding: 3px;"> -
trunk/modules/templatemanager/view/smarty/action_admin_show.tpl
r4920 r6019 1 1 {modulenavigation} 2 2 <div class="ModuleHeading">{t}Template - Administration{/t}</div> 3 <div class="ModuleHeadingSmall">{t}You can write, edit and delete t hemby using the Templateeditor.{/t}</div>3 <div class="ModuleHeadingSmall">{t}You can write, edit and delete templates by using the Templateeditor.{/t}</div> 4 4 5 5 {t}Firstly, please select the Module or Theme you want to edit.{/t} -
trunk/modules/templatemanager/view/smarty/create_new_template.tpl
r4914 r6019 1 1 <!-- Start of Template - {$templateeditor_relative_filename} --> 2 2 3 >>> PLEASE INSERT YOUR TEMPLATE CONTENT HERE 4 5 A good starting point is to modify your action to assign $variablename to the view. 6 For Smarty the command is $smarty->assign('variablename', $variablecontent); 7 8 To debug-display the content of assigned variables or arrays on templateside use 3 9 {literal} 4 {* 5 This is the DEBUG OUTPUT of assigned variables or arrays: 10 {* 6 11 {$variablename|var_dump} 7 12 *} 8 13 {/literal} 9 14 10 >>> PLEASE INSERT YOUR TEMPLATE CONTENT HERE11 12 A good start point is to modify your action to assign $variablename to the view.13 For Smarty the command is $smarty->assign('variablename', $variablecontent);14 15 15 <!-- End of Template - {$templateeditor_relative_filename} -->
Note: See TracChangeset
for help on using the changeset viewer.
