Changeset 2890:c1b1065d00e2 for plugins/themeEditor
- Timestamp:
- 12/29/14 14:00:13 (11 years ago)
- Branch:
- default
- Location:
- plugins/themeEditor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/themeEditor/_define.php
r2663 r2890 16 16 /* Description*/ "Theme Editor", 17 17 /* Author */ "Olivier Meunier", 18 /* Version */ '1. 1',18 /* Version */ '1.2', 19 19 array( 20 20 'type' => 'plugin' -
plugins/themeEditor/class.themeEditor.php
r2862 r2890 20 20 protected $tplset_theme; 21 21 22 protected $parent_name; 22 23 protected $tplset_name; 23 24 … … 38 39 if ($parent_theme) { 39 40 $this->parent_theme = path::real($this->core->blog->themes_path.'/'.$parent_theme); 41 $this->parent_name = $parent_theme; 40 42 } 41 43 $tplset = $this->core->themes->moduleInfo($this->core->blog->settings->system->theme,'tplset'); … … 78 80 } 79 81 $list .= ($list_theme != '' ? sprintf('<li class="group-file">'.__('From theme:').'<ul>%s</ul></li>',$list_theme) : ''); 80 $list .= ($list_parent != '' ? sprintf('<li class="group-file">'.__('From parent:').'<ul>%s</ul></li>',$list_parent) : ''); 81 $list .= ($list_tpl != '' ? sprintf('<li class="group-file">'.__('From template set:').'<ul>%s</ul></li>',$list_tpl) : ''); 82 $list .= ($list_parent != '' ? sprintf('<li class="group-file">'.__('From parent:').' %s<ul>%s</ul></li>', 83 $this->parent_name,$list_parent) : ''); 84 $list .= ($list_tpl != '' ? sprintf('<li class="group-file">'.__('From template set:').' %s<ul>%s</ul></li>', 85 $this->tplset_name,$list_tpl) : ''); 82 86 } else { 83 87 foreach ($files as $k => $v)
Note: See TracChangeset
for help on using the changeset viewer.