Dotclear


Ignore:
Timestamp:
12/17/14 12:54:19 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.7
Message:

Less dirty hack for URLs used as format with (s)printf() functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r2856 r2858  
    4141$can_delete = false; 
    4242 
    43 $post_headlink = '<link rel="%s" title="%s" href="'.$core->adminurl->get('admin.post',array('id' => "%s")).'" />'; 
    44 $post_headlink = str_replace('%25s','%s',$post_headlink); 
    45 $post_link = '<a href="'.$core->adminurl->get('admin.post',array('id' => "%s")).'" title="%s">%s</a>'; 
    46 $post_link = str_replace('%25s','%s',$post_link); 
     43$post_headlink = '<link rel="%s" title="%s" href="'.$core->adminurl->get('admin.post',array('id' => "%s"),'&amp;',true).'" />'; 
     44$post_link = '<a href="'.$core->adminurl->get('admin.post',array('id' => "%s"),'&amp;',true).'" title="%s">%s</a>'; 
    4745$next_link = $prev_link = $next_headlink = $prev_headlink = null; 
    4846 
Note: See TracChangeset for help on using the changeset viewer.

Sites map