Dotclear


Ignore:
Timestamp:
06/19/14 16:56:47 (11 years ago)
Author:
Dsls
Branch:
default
Message:

One step further towards php hardcoded links annihilation in admin sources, more to come...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/posts.php

    r2566 r2720  
    112112# Actions combo box 
    113113 
    114 $posts_actions_page = new dcPostsActionsPage($core,'posts.php'); 
     114$posts_actions_page = new dcPostsActionsPage($core,$core->adminurl->get("admin.posts")); 
    115115 
    116116if ($posts_actions_page->process()) { 
     
    258258{ 
    259259     echo 
    260      '<p class="top-add"><a class="button add" href="post.php">'.__('New entry').'</a></p>'. 
    261      '<form action="posts.php" method="get" id="filters-form">'. 
     260     '<p class="top-add"><a class="button add" href="'.$core->adminurl->get("admin.post").'">'.__('New entry').'</a></p>'. 
     261     '<form action="'.$core->adminurl->get("admin.posts").'" method="get" id="filters-form">'. 
    262262     '<h3 class="out-of-screen-if-js">'.$form_filter_title.'</h3>'. 
    263263 
     
    302302     # Show posts 
    303303     $post_list->display($page,$nb_per_page, 
    304      '<form action="posts.php" method="post" id="form-entries">'. 
     304     '<form action="'.$core->adminurl->get("admin.posts").'" method="post" id="form-entries">'. 
    305305 
    306306     '%s'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map