Changeset 6019


Ignore:
Timestamp:
02/05/12 20:10:36 (4 months ago)
Author:
vain
Message:
  • changed init of codemirror accordingly
  • added @todo with infos about the needed tabs
  • cleanups
Location:
trunk/modules/templatemanager/view/smarty
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/templatemanager/view/smarty/action_admin_edit.tpl

    r4809 r6019  
    1 {* Template: /modules/templatemanager/action_admin_editor.tpl *} 
     1{* Template: /modules/templatemanager/action_admin_edit.tpl *} 
    22 
    33{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> 
    55<script type="text/javascript" src="{$www_root_themes_core}javascript/codemirror_config.js"></script> 
    66 
     
    2929    <div class="ModuleHeadingSmall">{t}You are editing: {/t} <font color="red"> {$templateeditor_absolute_filename} </font></div> 
    3030{/if} 
     31 
     32{* @todo 
     33Tabs: 
     34Edit Source 
     35View Original (rendered) 
     36View Edited (rendered) 
     37Show Diff 
     38Save 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*} 
    3146 
    3247<div style="border: 1px solid black; background: white; padding: 3px;"> 
  • trunk/modules/templatemanager/view/smarty/action_admin_show.tpl

    r4920 r6019  
    11{modulenavigation} 
    22<div class="ModuleHeading">{t}Template - Administration{/t}</div> 
    3 <div class="ModuleHeadingSmall">{t}You can write, edit and delete them by using the Templateeditor.{/t}</div> 
     3<div class="ModuleHeadingSmall">{t}You can write, edit and delete templates by using the Templateeditor.{/t}</div> 
    44 
    55{t}Firstly, please select the Module or Theme you want to edit.{/t} 
  • trunk/modules/templatemanager/view/smarty/create_new_template.tpl

    r4914 r6019  
    11<!-- Start of Template - {$templateeditor_relative_filename} --> 
    22 
     3>>> PLEASE INSERT YOUR TEMPLATE CONTENT HERE 
     4 
     5A good starting point is to modify your action to assign $variablename to the view. 
     6For Smarty the command is $smarty->assign('variablename', $variablecontent); 
     7 
     8To debug-display the content of assigned variables or arrays on templateside use 
    39{literal} 
    4 {*  
    5     This is the DEBUG OUTPUT of assigned variables or arrays: 
     10{* 
    611    {$variablename|var_dump} 
    712*} 
    813{/literal} 
    914 
    10 >>> PLEASE INSERT YOUR TEMPLATE CONTENT HERE 
    11  
    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  
    1515<!-- End of Template - {$templateeditor_relative_filename} --> 
Note: See TracChangeset for help on using the changeset viewer.