Dotclear

Changeset 3944:61c725e889b7


Ignore:
Timestamp:
12/08/18 07:49:47 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Better this way to retrieve admin URLs ;-) Thank's to sebastieng for report ( https://forum.dotclear.org/viewtopic.php?pid=343052#p343052)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/importExport/inc/class.dc.ieModule.php

    r3874 r3944  
    1010 */ 
    1111 
    12 if (!defined('DC_RC_PATH')) {return;} 
     12if (!defined('DC_RC_PATH')) { 
     13    return; 
     14} 
    1315 
    1416abstract class dcIeModule 
     
    7476        '<h3>' . __('Congratulation!') . '</h3>' . 
    7577        '<p class="success">' . __('Your blog has been successfully imported. Welcome on Dotclear 2!') . '</p>' . 
    76         '<ul><li><strong><a href="' . $this->core->decode('admin.post') . '">' . __('Why don\'t you blog this now?') . '</a></strong></li>' . 
    77         '<li>' . __('or') . ' <a href="' . $this->core->decode('admin.home') . '">' . __('visit your dashboard') . '</a></li></ul>'; 
     78        '<ul><li><strong><a href="' . $this->core->adminurl->decode('admin.post') . '">' . __('Why don\'t you blog this now?') . '</a></strong></li>' . 
     79        '<li>' . __('or') . ' <a href="' . $this->core->adminurl->decode('admin.home') . '">' . __('visit your dashboard') . '</a></li></ul>'; 
    7880    } 
    7981} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map