Changeset 691326
- Timestamp:
- 04/03/2013 07:12:03 PM (13 years ago)
- Location:
- solid-code-theme-editor
- Files:
-
- 38 added
- 2 edited
-
tags/1.0.4/ace (added)
-
tags/1.0.4/ace/ace-compat-noconflict.js (added)
-
tags/1.0.4/ace/ace-compat-uncompressed-noconflict.js (added)
-
tags/1.0.4/ace/ace-compat-uncompressed.js (added)
-
tags/1.0.4/ace/ace-compat.js (added)
-
tags/1.0.4/ace/ace-noconflict.js (added)
-
tags/1.0.4/ace/ace-uncompressed-noconflict.js (added)
-
tags/1.0.4/ace/ace-uncompressed.js (added)
-
tags/1.0.4/ace/ace.js (added)
-
tags/1.0.4/ace/keybinding-emacs-noconflict.js (added)
-
tags/1.0.4/ace/keybinding-emacs-uncompressed-noconflict.js (added)
-
tags/1.0.4/ace/keybinding-emacs-uncompressed.js (added)
-
tags/1.0.4/ace/keybinding-emacs.js (added)
-
tags/1.0.4/ace/keybinding-vim-noconflict.js (added)
-
tags/1.0.4/ace/keybinding-vim-uncompressed-noconflict.js (added)
-
tags/1.0.4/ace/keybinding-vim-uncompressed.js (added)
-
tags/1.0.4/ace/keybinding-vim.js (added)
-
tags/1.0.4/ace/mode-css.js (added)
-
tags/1.0.4/ace/mode-html.js (added)
-
tags/1.0.4/ace/mode-javascript.js (added)
-
tags/1.0.4/ace/mode-php.js (added)
-
tags/1.0.4/ace/mode-sql.js (added)
-
tags/1.0.4/ace/mode-text.js (added)
-
tags/1.0.4/ace/mode-xml.js (added)
-
tags/1.0.4/ace/theme-chrome.js (added)
-
tags/1.0.4/ace/worker-coffee.js (added)
-
tags/1.0.4/ace/worker-css.js (added)
-
tags/1.0.4/ace/worker-javascript.js (added)
-
tags/1.0.4/ace/worker-json.js (added)
-
tags/1.0.4/readme.txt (added)
-
tags/1.0.4/sc-theme-backup.php (added)
-
tags/1.0.4/sc-theme-downloader.php (added)
-
tags/1.0.4/sc-theme-editor.php (added)
-
tags/1.0.4/screenshot-1.jpg (added)
-
tags/1.0.4/scte-script.js (added)
-
tags/1.0.4/scte-style.css (added)
-
tags/1.0.4/tempZips (added)
-
tags/1.0.5 (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sc-theme-editor.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
solid-code-theme-editor/trunk/readme.txt
r689595 r691326 59 59 * added abilities to delete old files 60 60 61 = 1.0.4 = 62 * small fixes to work with new functionality 63 61 64 == Upgrade Notice == 62 65 -
solid-code-theme-editor/trunk/sc-theme-editor.php
r689595 r691326 4 4 Plugin URI: http://solid-code.co.uk/2011/08/solid-code-theme-editor/ 5 5 Description: Adds a special editor to the theme editor with more functionality 6 Version: 1.0. 46 Version: 1.0.5 7 7 Author: Dagan Lev 8 8 Author URI: http://solid-code.co.uk … … 209 209 <div class="scte_content_left"> 210 210 <ul> 211 <li style="float:left;"><a href="<?php echo $pluginURL; ?>/solid-code-theme-editor/downloadfile/?theme=<?php echo urlencode($theme->template); ?>&file=<?php echo urlencode($urlFile); ?>">Download File</a></li>212 <li style="float:left;margin-left:20px;"><a href="<?php echo $pluginURL; ?>/solid-code-theme-editor/downloadbackup/?theme=<?php echo urlencode($theme->template); ?>">Download Whole Theme</a> (ZIP)</li>211 <li style="float:left;"><a href="<?php echo (is_multisite() ? '': $pluginURL); ?>/solid-code-theme-editor/downloadfile/?theme=<?php echo urlencode($theme->template); ?>&file=<?php echo urlencode($urlFile); ?>">Download File</a></li> 212 <li style="float:left;margin-left:20px;"><a href="<?php echo (is_multisite() ? '': $pluginURL); ?>/solid-code-theme-editor/downloadbackup/?theme=<?php echo urlencode($theme->template); ?>">Download Whole Theme</a> (ZIP)</li> 213 213 </ul> 214 214 <div style="clear:both;"><!-- EMPTY --></div> … … 306 306 $strtmp = ''; 307 307 $strtmpdir = ''; 308 if ( $handle = opendir($dir)) {308 if (file_exists($dir)) { 309 309 if(str_ireplace(str_ireplace($maindir,'',$dir),'',$sfile) != $sfile){ 310 310 $strtmpdir = '<ul class="scte_show">'; 311 311 }else{ 312 $strtmpdir = '<ul>'; 313 } 314 while (false !== ($file = readdir($handle))) { 312 $strtmpdir = '<ul>'; 313 } 314 $files=glob($dir.'/*'); 315 sort($files); 316 317 foreach($files as $file){ 318 $file=str_replace($dir.'/','',$file); 315 319 if ($file != "." && $file != ".." && $file != ".svn") { 316 320 if(is_dir($dir . '/' . $file)){ 317 $strtmpdir .= '<li>' . $file . scte_loopThroughFiles($maindir,$dir . '/'. $file,$theme,$sfile) . '</li>'; 321 $strtmpdir .= '<li>' . $file . scte_loopThroughFiles($maindir,$dir . '/'. $file,$theme,$sfile) . '</li>'; 318 322 }else{ 319 323 if($sfile==(str_ireplace($maindir,'',$dir . '/') . $file)){ … … 326 330 } 327 331 $strtmp = $strtmpdir . $strtmp . '</ul>'; 328 closedir($handle);329 332 } 330 333 return $strtmp;
Note: See TracChangeset
for help on using the changeset viewer.