Dotclear


Ignore:
Timestamp:
12/16/14 21:59:13 (11 years ago)
Author:
Dsls
Branch:
2.7
Message:

Tuned redirections and admin urls management, should work with media & attachments now
Added adminurl->redirect to avoid confusion in "when to use & and when not to"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/page.php

    r2851 r2852  
    714714     while($rs->fetch()) 
    715715     { 
    716           $comment_url = $core->adminurl->get('admin.comment',array('id' => $rs->comment_id),false); 
     716          $comment_url = $core->adminurl->get('admin.comment',array('id' => $rs->comment_id)); 
    717717 
    718718          $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />'; 
     
    740740          '<td class="maximal">'.$rs->comment_author.'</td>'. 
    741741          '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$rs->comment_dt).'</td>'. 
    742           '<td class="nowrap"><a href="'.$core->adminurl->get('admin.comment',array('ip' => $rs->comment_ip),false).'">'.$rs->comment_ip.'</a></td>'. 
     742          '<td class="nowrap"><a href="'.$core->adminurl->get('admin.comment',array('ip' => $rs->comment_ip)).'">'.$rs->comment_ip.'</a></td>'. 
    743743          '<td class="nowrap status">'.$img_status.'</td>'. 
    744744          '<td class="nowrap status"><a href="'.$comment_url.'">'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map