Changeset 2566:9bf417837888 for plugins/themeEditor/index.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/themeEditor/index.php
r2256 r2566 45 45 throw $e; 46 46 } 47 47 48 48 # Write file 49 49 if (!empty($_POST['write'])) … … 117 117 '<p><label for="file_content">'.sprintf(__('Editing file %s'),'<strong>'.$file['f']).'</strong></label></p>'. 118 118 '<p>'.form::textarea('file_content',72,25,html::escapeHTML($file['c']),'maximal','',!$file['w']).'</p>'; 119 119 120 120 if ($file['w']) 121 121 { … … 130 130 echo '<p>'.__('This file is not writable. Please check your theme files permissions.').'</p>'; 131 131 } 132 132 133 133 echo 134 134 '</fieldset></form>'; 135 135 136 136 if ($user_ui_colorsyntax) { 137 $editorMode = 137 $editorMode = 138 138 (!empty($_REQUEST['css']) ? "css" : 139 139 (!empty($_REQUEST['js']) ? "javascript" : 140 140 (!empty($_REQUEST['po']) ? "text/plain" : "text/html"))); 141 echo 141 echo 142 142 '<script> 143 143 window.CodeMirror.defineMode("dotclear", function(config) {
Note: See TracChangeset
for help on using the changeset viewer.