Dotclear


Ignore:
Timestamp:
06/21/15 17:55:59 (8 years ago)
Author:
brol
Message:

1.6 retrocompatibilité dc2.3 à dc2.7.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/fakemeup/index.php

    r3190 r3387  
    44# This file is part of Dotclear 2 "Fake Me Up" plugin. 
    55# 
    6 # Copyright (c) 2010 Bruno Hondelatte, and contributors. 
     6# Copyright (c) 2010-2015 Bruno Hondelatte, and contributors. 
    77# Many, many thanks to Olivier Meunier and the Dotclear Team. 
    88# Licensed under the GPL version 2.0 license. 
     
    1111# -- END LICENSE BLOCK ------------------------------------ 
    1212if (!defined('DC_CONTEXT_ADMIN')) { return; } 
     13 
     14$page_title = __('Fake Me Up'); 
     15 
    1316//define('DC_DIGESTS',DC_ROOT.'/inc/digests'); 
    1417define('DC_DIGESTS_BACKUP',DC_ROOT.'/inc/digests.bak'); 
     
    110113?> 
    111114<html> 
    112 <head><title><?php echo __('Fake Me Up'); ?></title> 
     115<head><title><?php echo($page_title); ?></title> 
    113116</head> 
    114117<body> 
    115 <?php 
    116  
    117      echo dcPage::breadcrumb( 
    118           array( 
     118     <?php 
     119     if (is_callable(array('dcPage', 'breadcrumb'))) 
     120     { 
     121          echo dcPage::breadcrumb( 
     122               array( 
    119123               __('System') => '', 
    120                '<span class="page-title">'.__('Fake Me Up').'</span>' => '' 
    121           )); 
     124                    '<span class="page-title">'.$page_title.'</span>' => '' 
     125               )); 
     126     } 
     127     else 
     128     { 
     129          echo('<h2>'.__('System').' &rsaquo; '. 
     130               $page_title.'</h2>'); 
     131     } 
    122132 
    123133     if (isset($_POST['erase_backup'])) { 
     
    198208          } 
    199209     } 
    200      echo '<p><a class="back" href="index.php">'.__('back').'</a></p>'; 
     210     echo '<p><a class="back" href="index.php">'.__('Back').'</a></p>'; 
    201211?> 
    202212 
Note: See TracChangeset for help on using the changeset viewer.

Sites map