source: trunk/plugins/LocalFilesEditor/admin.tpl @ 2275

Last change on this file since 2275 was 2235, checked in by patdenice, 17 years ago

New: plugin LocalFiles Editor.
Corrected: $id in smarty comment style in intro.tpl

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1<div class="titrePage">
2  <h2>LocalFiles Editor</h2>
3  {$TABSHEET}
4</div>
5
6<form method="post" class="properties" action="" ENCTYPE="multipart/form-data">
7<div style="text-align:center;">
8
9{if isset ($css_lang_tpl)}
10{html_options name=file_to_edit options=$css_lang_tpl.OPTIONS selected=$css_lang_tpl.SELECTED}
11<input class="submit" type="submit" value="{'locfiledit_edit'|@translate}" name="edit" />
12<br>
13<br>
14{/if}
15
16{foreach from=$show_default item=file}
17<a href="{$file.SHOW_DEFAULT}" onclick="window.open( this.href, 'local_file', 'location=no,toolbar=no,menubar=no,status=no,resizable=yes,scrollbars=yes,fullscreen=yes' ); return false;">{'locfiledit_show_default'|@translate} "{$file.FILE}"</a>
18<br>
19{/foreach}
20
21{if isset ($zone_edit)}
22<br>
23<input type="text" style="display:none;" value="{$zone_edit.EDITED_FILE}" name="edited_file"/>
24<b>{$zone_edit.FILE_NAME}</b>
25<br>
26<textarea rows="30" name="text" style="width:90%;">{$zone_edit.CONTENT_FILE}</textarea>
27<br>{'locfiledit_save_bak'|@translate}
28<br><br>
29<input class="submit" type="submit" value="{'locfiledit_save_file'|@translate}" name="submit" {$TAG_INPUT_ENABLED}/>
30{if isset ($restore)}
31<input class="submit" type="submit" value="{'locfiledit_restore'|@translate}" name="restore" onclick="return confirm('{'locfiledit_restore_confirm'|@translate}');" {$TAG_INPUT_ENABLED}/>
32{/if}
33{/if}
34
35<br>
36</div>
37</form>
Note: See TracBrowser for help on using the repository browser.