Dotclear

Changeset 3387


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

1.6 retrocompatibilité dc2.3 à dc2.7.6

Location:
plugins/fakemeup
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/fakemeup/_admin.php

    r3177 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. 
     
    1515          preg_match('/plugin.php\?p=fakemeup(&.*)?$/',$_SERVER['REQUEST_URI']), 
    1616          $core->auth->isSuperAdmin() && is_writable(DC_DIGESTS)); 
    17 ?> 
  • plugins/fakemeup/_define.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. 
     
    1717     /* Author */             "Bruno Hondelatte", 
    1818     /* Version */            '1.6', 
    19      /* Permissions */        'admin' 
     19     /* Properties */ 
     20     array( 
     21          'permissions' => 'admin', 
     22          'type' => 'plugin', 
     23          'dc_min' => '2.3', 
     24          'support' => 'http://forum.dotclear.org/viewtopic.php?pid=310117', 
     25          'details' => 'http://plugins.dotaddict.org/dc2/details/fakemeup' 
     26          ) 
    2027); 
    21  
    22 ?> 
  • 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 
  • plugins/fakemeup/locales/fr/disclaimer.html

    r3177 r3387  
    1 <p>Cette extension a pour but de contourner les messages d'erreur  
     1<p>Ce plugin a pour but de contourner les messages d'erreur 
    22de dotclear lors des mises à jour, lorsque des fichiers de dotclear  
    33ont été détectés comme ayant été modifiés.</p> 
  • plugins/fakemeup/locales/fr/main.po

    r3177 r3387  
    1313msgid "Fake Me Up" 
    1414msgstr "" 
     15 
     16msgid "Fakes Dotclear digest to force automatic updates" 
     17msgstr "Passer outre les restrictions de dotclear lors d'une mise à jour" 
    1518 
    1619msgid "The updates have been performed." 
Note: See TracChangeset for help on using the changeset viewer.

Sites map