Dotclear

Changeset 3375:f3f69bda3bd0


Ignore:
Timestamp:
10/30/16 15:10:39 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

adminurl in da place, closes #1645

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/popup_posts.php

    r2971 r3375  
    5050echo '<h2 class="page-title">'.__('Add a link to an entry').'</h2>'; 
    5151 
    52 echo '<form action="popup_posts.php" method="get">'. 
     52echo '<form action="'.$core->adminurl->get('admin.popup_posts').'" method="get">'. 
    5353     '<p><label for="type" class="classic">'.__('Entry type:').'</label> '.form::combo('type',$type_combo,$type).''. 
    5454     '<noscript><div><input type="submit" value="'.__('Ok').'" /></div></noscript>'. 
     
    5656     '</form>'; 
    5757 
    58 echo '<form action="popup_posts.php" method="get">'. 
     58echo '<form action="'.$core->adminurl->get('admin.popup_posts').'" method="get">'. 
    5959     '<p><label for="q" class="classic">'.__('Search entry:').'</label> '.form::field('q',30,255,html::escapeHTML($q)). 
    6060     ' <input type="submit" value="'.__('Search').'" />'. 
  • inc/admin/prepend.php

    r3334 r3375  
    180180 
    181181$core->adminurl->register('admin.posts','posts.php'); 
     182$core->adminurl->register('admin.popup_posts','popup_posts.php'); 
    182183$core->adminurl->register('admin.post','post.php'); 
    183184$core->adminurl->register('admin.post.media','post_media.php'); 
  • plugins/antispam/inc/class.dc.spamfilter.php

    r2831 r3375  
    4040          } 
    4141 
    42         $this->gui_url = 'plugin.php?p=antispam&f='.get_class($this); 
     42        $this->gui_url = $core->adminurl->get('admin.plugin.antispam',array('f' => get_class($this)),'&'); 
    4343     } 
    4444 
Note: See TracChangeset for help on using the changeset viewer.

Sites map