Dotclear

Changeset 2821:ce071e4ee01f


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

Using dcAdminURL in core, some admin URLs remind unchanged and should be reviewed

Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/actions/class.dcactioncomments.php

    r2627 r2821  
    5858               array( 
    5959                    html::escapeHTML($this->core->blog->name) => '', 
    60                     __('Comments') => 'comments.php', 
     60                    __('Comments') => $this->core->adminurl->get('admin.comments'), 
    6161                    __('Comments actions') => '' 
    6262               )) 
  • inc/prepend.php

    r2800 r2821  
    245245$core->url->register('xmlrpc','xmlrpc','^xmlrpc/(.+)$',array('dcUrlHandlers','xmlrpc')); 
    246246 
     247// Should use dcAdminURL class, but only in admin -> to be moved to public/prepend.php and admin/prepend.php ? 
    247248$core->setPostType('post','post.php?id=%d',$core->url->getURLFor('post','%s'),'Posts'); 
    248249 
Note: See TracChangeset for help on using the changeset viewer.

Sites map