Dotclear

Changeset 3392


Ignore:
Timestamp:
04/03/16 13:05:37 (7 years ago)
Author:
brol
Message:

v1.8.7 cf changelog

Location:
plugins/info
Files:
3 added
3 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • plugins/info/_admin.php

    r3312 r3392  
    33# 
    44# This file is part of Informations, a plugin for Dotclear 2 
    5 # Copyright 2007,2008,2009,2010 Moe (http://gniark.net/) 
     5# Copyright 2007-2015 Moe (http://gniark.net/) 
    66# 
    77# Informations is free software; you can redistribute it and/or 
     
    2828     preg_match('/plugin.php\?p=info(&.*)?$/',$_SERVER['REQUEST_URI']), 
    2929     $core->auth->check('admin',$core->blog->id)); 
     30 
     31$core->addBehavior('adminDashboardFavorites','infoDashboardFavorites'); 
     32 
     33function infoDashboardFavorites($core,$favs) 
     34{ 
     35     $favs->register('info', array( 
     36          'title' => __('Informations'), 
     37          'url' => 'plugin.php?p=info', 
     38          'small-icon' => 'index.php?pf=info/icon.png', 
     39          'large-icon' => 'index.php?pf=info/icon-big.png', 
     40          'permissions' => 'usage,contentadmin' 
     41     )); 
     42} 
  • plugins/info/_define.php

    r3312 r3392  
    33# 
    44# This file is part of Informations, a plugin for Dotclear 2 
    5 # Copyright 2007,2008,2009,2010 Moe (http://gniark.net/) 
     5# Copyright 2007-2015 Moe (http://gniark.net/) 
    66# 
    77# Informations is free software; you can redistribute it and/or 
     
    2626 
    2727$this->registerModule( 
    28      /* Name */                      "Informations", 
    29      /* Description*/                "Information about Dotclear and your system", 
    30      /* Author */                    "Moe (http://gniark.net/)", 
    31      /* Version */                   '1.8.5', 
    32      /* Permissions */               null 
     28     /* Name */         'Informations', 
     29     /* Description*/   'Informations about Dotclear and your system', 
     30     /* Author */       'Moe (http://gniark.net/)', 
     31     /* Version */      '1.8.7', 
     32     /* Properties */ 
     33     array( 
     34          'permissions' => 'usage,contentadmin', 
     35          'type' => 'plugin', 
     36          'dc_min' => '2.6', 
     37          'support' => 'http://forum.dotclear.org/viewforum.php?id=16', 
     38          'details' => 'http://plugins.dotaddict.org/dc2/details/info' 
     39          ) 
    3340); 
  • plugins/info/_prepend.php

    r3312 r3392  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK ---------------------------------- 
    3 # This file is part of My URL handlers, a plugin for Dotclear. 
    4 #  
    5 # Copyright (c) 2007-2008 Oleksandr Syenchuk 
    6 # <sacha@xn--phnix-csa.net> 
    7 #  
    8 # Licensed under the GPL version 2.0 license. 
    9 # A copy is available in LICENSE file or at 
    10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    11 # -- END LICENSE BLOCK ------------------------------------ 
     2# ***** BEGIN LICENSE BLOCK ***** 
     3# 
     4# This file is part of Informations, a plugin for Dotclear 2 
     5# Copyright 2007-2015 Moe (http://gniark.net/) 
     6# 
     7# Informations is free software; you can redistribute it and/or 
     8# modify it under the terms of the GNU General Public License v2.0 
     9# as published by the Free Software Foundation. 
     10# 
     11# Informations is distributed in the hope that it will be useful, 
     12# but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     14# GNU General Public License for more details. 
     15# 
     16# You should have received a copy of the GNU General Public 
     17# License along with this program. If not, see 
     18# <http://www.gnu.org/licenses/>. 
     19# 
     20# Icon (icon.png) and images are from Silk Icons : 
     21# <http://www.famfamfam.com/lab/icons/silk/> 
     22# 
     23# ***** END LICENSE BLOCK ***** 
    1224 
    1325if (!defined('DC_RC_PATH')) {return;} 
  • plugins/info/inc/class.myurlhandlers.php

    r3233 r3392  
    11<?php 
    2 # -- BEGIN LICENSE BLOCK ---------------------------------- 
    3 # This file is part of My URL handlers, a plugin for Dotclear. 
    4 #  
    5 # Copyright (c) 2007-2008 Oleksandr Syenchuk 
    6 # <sacha@xn--phnix-csa.net> 
    7 #  
    8 # Licensed under the GPL version 2.0 license. 
    9 # A copy is available in LICENSE file or at 
    10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    11 # -- END LICENSE BLOCK ------------------------------------ 
     2# ***** BEGIN LICENSE BLOCK ***** 
     3# 
     4# This file is part of Informations, a plugin for Dotclear 2 
     5# Copyright 2007-2015 Moe (http://gniark.net/) 
     6# 
     7# Informations is free software; you can redistribute it and/or 
     8# modify it under the terms of the GNU General Public License v2.0 
     9# as published by the Free Software Foundation. 
     10# 
     11# Informations is distributed in the hope that it will be useful, 
     12# but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     14# GNU General Public License for more details. 
     15# 
     16# You should have received a copy of the GNU General Public 
     17# License along with this program. If not, see 
     18# <http://www.gnu.org/licenses/>. 
     19# 
     20# Icon (icon.png) and images are from Silk Icons : 
     21# <http://www.famfamfam.com/lab/icons/silk/> 
     22# 
     23# ***** END LICENSE BLOCK ***** 
    1224 
    1325class myUrlHandlers 
     
    8294     } 
    8395} 
    84 ?> 
  • plugins/info/inc/lib.info.php

    r3312 r3392  
    33# 
    44# This file is part of Informations, a plugin for Dotclear 2 
    5 # Copyright 2007,2008,2009,2010 Moe (http://gniark.net/) 
     5# Copyright 2007-2015 Moe (http://gniark.net/) 
    66# 
    77# Informations is free software; you can redistribute it and/or 
     
    151151          $dotclear_tables = array('blog','category','session', 
    152152               'setting','user','permissions','post','media','post_media', 
    153                'log','version','ping','comment','meta'); 
     153               'log','version','ping','comment','meta','pref'); 
    154154           
    155155          $default_plugins_tables = array( 
  • plugins/info/index.php

    r3312 r3392  
    33# 
    44# This file is part of Informations, a plugin for Dotclear 2 
    5 # Copyright 2007,2008,2009 Moe (http://gniark.net/) 
     5# Copyright 2007-2015 Moe (http://gniark.net/) 
    66# 
    77# Informations is free software; you can redistribute it and/or 
     
    2424 
    2525if (!defined('DC_CONTEXT_ADMIN')) {return;} 
    26  
    27 l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/admin'); 
    2826 
    2927require_once(dirname(__FILE__).'/php-xhtml-table/class.table.php'); 
     
    5654<body> 
    5755     <?php 
    58      if (is_callable(array('dcPage', 'breadcrumb'))) 
    59      { 
    6056          echo dcPage::breadcrumb( 
    6157               array( 
     
    6359                    '<span class="page-title">'.$page_title.'</span>' => '' 
    6460               )); 
    65      } 
    66      else 
    67      { 
    68           echo('<h2>'.$page_title.'</h2>'); 
    69      } 
    7061     ?> 
    71       
    72      <h3><?php echo(__('Legend:')); ?></h3> 
    73      <p><?php echo(info::yes().__('ok').', '.info::no().__('error')); ?></p> 
    7462      
    7563     <div class="multi-part" id="blog" title="<?php echo __('Blog'); ?>"> 
     
    197185          } 
    198186     ?> 
     187 
     188     <p style="padding-left:1em;"><strong><?php echo(__('Legend:')); ?></strong><br /> 
     189     <?php echo(info::yes().__('ok')); ?><br /><?php echo(info::no().__('error')); ?></p> 
    199190      
    200191</body> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map