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/comment.php

    r2666 r2720  
    133133 
    134134               dcPage::addSuccessNotice(__('Comment has been successfully updated.')); 
    135                http::redirect('comment.php?id='.$comment_id); 
     135               http::redirect($core->adminurl->get("admin.comment",array('id' => $comment_id))); 
    136136          } 
    137137          catch (Exception $e) 
     
    205205 
    206206     echo 
    207      '<form action="comment.php" method="post" id="comment-form">'. 
     207     '<form action="'.$core->adminurl->get("admin.comment").'" method="post" id="comment-form">'. 
    208208     '<div class="fieldset">'. 
    209209     '<h3>'.__('Information collected').'</h3>'. 
    210210     '<p>'.__('IP address:').' '. 
    211      '<a href="comments.php?ip='.$comment_ip.'">'.$comment_ip.'</a></p>'. 
     211     '<a href="'.$core->adminurl->get("admin.comments",array('ip' => $comment_ip)).'">'.$comment_ip.'</a></p>'. 
    212212 
    213213     '<p>'.__('Date:').' '. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map