diff options
author | mistic100 <mistic@strangeplanet.fr> | 2015-07-24 22:44:39 +0200 |
---|---|---|
committer | mistic100 <mistic@strangeplanet.fr> | 2015-07-26 19:11:36 +0200 |
commit | 4e71ba9d3ea40cd2d817965e5eed4a2fe1b876b3 (patch) | |
tree | af7f5291540806e5fde21db1d98d590579549055 /plugins/LocalFilesEditor/template | |
parent | 32138f1fbd7637dffaaad0c8ca677e43a0d13831 (diff) |
Remove core plugins from core repository
Diffstat (limited to 'plugins/LocalFilesEditor/template')
-rw-r--r-- | plugins/LocalFilesEditor/template/admin.tpl | 113 | ||||
-rw-r--r-- | plugins/LocalFilesEditor/template/locfiledit.css | 32 | ||||
-rw-r--r-- | plugins/LocalFilesEditor/template/show_default.tpl | 37 |
3 files changed, 0 insertions, 182 deletions
diff --git a/plugins/LocalFilesEditor/template/admin.tpl b/plugins/LocalFilesEditor/template/admin.tpl deleted file mode 100644 index d79d00028..000000000 --- a/plugins/LocalFilesEditor/template/admin.tpl +++ /dev/null @@ -1,113 +0,0 @@ -{combine_script id="codemirror" path="plugins/LocalFilesEditor/codemirror/lib/codemirror.js"} -{combine_script id="codemirror.xml" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.js"} -{combine_script id="codemirror.javascript" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js"} -{combine_script id="codemirror.css" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/css/css.js"} -{combine_script id="codemirror.clike" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.js"} -{combine_script id="codemirror.htmlmixed" require="codemirror.xml,codemirror.javascript,codemirror.css" path="plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js"} -{combine_script id="codemirror.php" require="codemirror.xml,codemirror.javascript,codemirror.css,codemirror.clike" path="plugins/LocalFilesEditor/codemirror/mode/php/php.js"} - -{combine_css path="plugins/LocalFilesEditor/codemirror/lib/codemirror.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/css/css.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.css"} -{combine_css path="plugins/LocalFilesEditor/template/locfiledit.css"} - -{footer_script} -if (document.getElementById("text") != null) - var editor = CodeMirror.fromTextArea(document.getElementById("text"), {ldelim} - matchBrackets: true, - mode: "{$CODEMIRROR_MODE}", - tabMode: "shift" - }); -{/footer_script} - -<div class="titrePage"> - <h2>LocalFiles Editor</h2> -</div> - -<form method="post" class="properties" action="{$F_ACTION}" ENCTYPE="multipart/form-data" name="form"> -<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> - -<div id="LocalFilesEditor"> - -{if isset($theme)} -<input type="hidden" value="{$theme}" name="theme"> -{/if} - -{if isset($language)} -<input type="hidden" value="{$language}" name="language"> -{/if} - -{if isset($template)} -<input type="hidden" value="{$template}" name="template"> -{/if} - - -{if isset ($create_tpl)} - <table> - <tr> - <td style="text-align: right;">{'locfiledit_new_filename'|@translate}</td> - <td style="text-align: left;"><input type="text" size="55" maxlength="50" value="{$create_tpl.NEW_FILE_NAME}" name="tpl_name"/></td> - </tr> - <tr> - <td style="text-align: right;">{'locfiledit_parent_directory'|@translate}</td> - <td style="text-align: left;">{html_options name=tpl_parent options=$create_tpl.PARENT_OPTIONS selected=$create_tpl.PARENT_SELECTED}</td> - </tr> - <tr> - <td style="text-align: right;">{'locfiledit_model'|@translate}</td> - <td style="text-align: left;">{html_options name=tpl_model options=$create_tpl.MODEL_OPTIONS selected=$create_tpl.MODEL_SELECTED}</td> - </tr> - </table> -<br><br> -<input class="submit" type="submit" value="{'Submit'|@translate}" name="create_tpl" /> -{/if} - -{if isset ($css_lang_tpl)} -<select name="{$css_lang_tpl.SELECT_NAME}"> -{html_options options=$css_lang_tpl.OPTIONS selected=$css_lang_tpl.SELECTED} -</select> - -<input class="submit" type="submit" value="{'locfiledit_edit'|@translate}" name="edit" /> -<br><br> -{/if} - -{if isset ($css_lang_tpl.NEW_FILE_URL)} -<span class="{$css_lang_tpl.NEW_FILE_CLASS}"> -<a href="{$css_lang_tpl.NEW_FILE_URL}">{'locfiledit_new_tpl'|@translate}</a> -</span> -{/if} - -{if isset ($zone_edit)} -<div id="title_bar"> -{/if} - -{if !empty($show_default)} -{foreach from=$show_default item=file name=default_loop} -<span class="default_file"> -<a href="{$file.URL}" onclick="window.open( this.href, 'local_file', 'location=no,toolbar=no,menubar=no,status=no,resizable=yes,scrollbars=yes,width=800,height=700' ); return false;">{'locfiledit_show_default'|@translate} "{$file.FILE}"</a> -</span> -{if !($smarty.foreach.default_loop.last)}<br>{/if} -{/foreach} -{/if} - -{if isset ($zone_edit)} -<span class="file_name">{$zone_edit.FILE_NAME}</span> -</div> {* title_bar *} - -<textarea rows="30" cols="90" name="text" id="text">{$zone_edit.CONTENT_FILE}</textarea> -<br> -<input class="submit" type="submit" value="{'locfiledit_save_file'|@translate}" name="submit"/> - -{if isset ($restore)} -<input class="submit" type="submit" value="{'locfiledit_restore'|@translate}" name="restore" onclick="return confirm('{'locfiledit_restore_confirm'|@translate|escape:'javascript'}');"/> -{/if} - -{if isset ($restore_infos)} -<br><br> -{'locfiledit_save_bak'|@translate} -{/if} - -{/if} {* zone_edit *} -</div> -</form> diff --git a/plugins/LocalFilesEditor/template/locfiledit.css b/plugins/LocalFilesEditor/template/locfiledit.css deleted file mode 100644 index 10589bcec..000000000 --- a/plugins/LocalFilesEditor/template/locfiledit.css +++ /dev/null @@ -1,32 +0,0 @@ -#LocalFilesEditor { - text-align: center; - margin: 0 2em; -} - -#LocalFilesEditor #title_bar { - overflow: auto; -} - -#LocalFilesEditor .file_name { - font-weight: bold; - float: left; -} - -#LocalFilesEditor .default_file { - float: right; -} - -#LocalFilesEditor TD { - padding: 0.5em; -} - -#LocalFilesEditor TEXTAREA, .CodeMirror { - background-color: #EEEEEE; - font-family: monospace,Arial,sans-serif; - font-size: 1.2em; - border: 1px solid #999999; - margin: 0.5em 0; - width: 100%; - min-height: 500px; - height: auto; -}
\ No newline at end of file diff --git a/plugins/LocalFilesEditor/template/show_default.tpl b/plugins/LocalFilesEditor/template/show_default.tpl deleted file mode 100644 index cd6c3f318..000000000 --- a/plugins/LocalFilesEditor/template/show_default.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{combine_script id="codemirror" path="plugins/LocalFilesEditor/codemirror/lib/codemirror.js"} -{combine_script id="codemirror.xml" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.js"} -{combine_script id="codemirror.javascript" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.js"} -{combine_script id="codemirror.css" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/css/css.js"} -{combine_script id="codemirror.clike" require="codemirror" path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.js"} -{combine_script id="codemirror.htmlmixed" require="codemirror.xml,codemirror.javascript,codemirror.css" path="plugins/LocalFilesEditor/codemirror/mode/htmlmixed/htmlmixed.js"} -{combine_script id="codemirror.php" require="codemirror.xml,codemirror.javascript,codemirror.css,codemirror.clike" path="plugins/LocalFilesEditor/codemirror/mode/php/php.js"} - -{combine_css path="plugins/LocalFilesEditor/codemirror/lib/codemirror.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/xml/xml.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/javascript/javascript.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/css/css.css"} -{combine_css path="plugins/LocalFilesEditor/codemirror/mode/clike/clike.css"} -{combine_css path="plugins/LocalFilesEditor/template/locfiledit.css"} - -{footer_script} -var editor = CodeMirror.fromTextArea(document.getElementById("text"), {ldelim} - readOnly: true, - mode: "application/x-httpd-php" -}); -{/footer_script} - -{html_head} -<style type="text/css"> -#headbranch, #theHeader, #copyright {ldelim} display: none; } -</style> -{/html_head} - -<div id="LocalFilesEditor"> - -<div id="title_bar"> - <span class="file_name">{$TITLE}</span> -</div> - -<textarea id="text" rows="30" cols="90" class="show_default_area">{$DEFAULT_CONTENT}</textarea> - -</div> |