Dotclear


Ignore:
Timestamp:
11/27/14 14:20:26 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

registercopy for plugin is not necessary as it has been already done on module loading (by the core)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/themeEditor/_admin.php

    r2815 r2820  
    1111# -- END LICENSE BLOCK ----------------------------------------- 
    1212if (!defined('DC_CONTEXT_ADMIN')) { return; } 
    13  
    14 // Register admin URL base of plugin 
    15 $core->adminurl->registercopy('admin.plugin.theme.editor','admin.plugin',array('p' => 'themeEditor')); 
    1613 
    1714if (!isset($__resources['help']['themeEditor'])) { 
     
    2926     { 
    3027          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>'; 
    3229          } 
    3330     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map