Changeset 2820:208141170abc for plugins/themeEditor/_admin.php
- Timestamp:
- 11/27/14 14:20:26 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/themeEditor/_admin.php
r2815 r2820 11 11 # -- END LICENSE BLOCK ----------------------------------------- 12 12 if (!defined('DC_CONTEXT_ADMIN')) { return; } 13 14 // Register admin URL base of plugin15 $core->adminurl->registercopy('admin.plugin.theme.editor','admin.plugin',array('p' => 'themeEditor'));16 13 17 14 if (!isset($__resources['help']['themeEditor'])) { … … 29 26 { 30 27 if ($id != 'default' && $core->auth->isSuperAdmin()) { 31 return '<p><a href="'.$core->adminurl->get('admin.plugin.theme .editor').'" class="button">'.__('Edit theme files').'</a></p>';28 return '<p><a href="'.$core->adminurl->get('admin.plugin.themeEditor').'" class="button">'.__('Edit theme files').'</a></p>'; 32 29 } 33 30 }
Note: See TracChangeset
for help on using the changeset viewer.