Changeset 3391 for plugins/cleanConfig
- Timestamp:
- 03/15/16 12:26:49 (8 years ago)
- Location:
- plugins/cleanConfig
- Files:
-
- 1 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/cleanConfig/_admin.php
r2402 r3391 3 3 # 4 4 # This file is part of clean:config, a plugin for Dotclear 2 5 # Copyright (C) 2007 ,2009,2010Moe (http://gniark.net/)5 # Copyright (C) 2007-2016 Moe (http://gniark.net/) 6 6 # 7 7 # clean:config is free software; you can redistribute it and/or … … 28 28 'index.php?pf=cleanConfig/icon.png',preg_match('/plugin.php\?p=cleanConfig(&.*)?$/', 29 29 $_SERVER['REQUEST_URI']),$core->auth->check('admin',$core->blog->id)); 30 ?> 30 31 $core->addBehavior('adminDashboardFavorites','cleanConfigDashboardFavorites'); 32 33 function cleanConfigDashboardFavorites($core,$favs) 34 { 35 $favs->register('cleanConfig', array( 36 'title' => __('clean:config'), 37 'url' => 'plugin.php?p=cleanConfig', 38 'small-icon' => 'index.php?pf=cleanConfig/icon.png', 39 'large-icon' => 'index.php?pf=cleanConfig/icon-big.png', 40 'permissions' => 'usage,contentadmin' 41 )); 42 } -
plugins/cleanConfig/_define.php
r2615 r3391 3 3 # 4 4 # This file is part of clean:config, a plugin for Dotclear 2 5 # Copyright (C) 2007 ,2009,2010Moe (http://gniark.net/)5 # Copyright (C) 2007-2016 Moe (http://gniark.net/) 6 6 # 7 7 # clean:config is free software; you can redistribute it and/or … … 29 29 /* Description */ "Delete blog and global settings", 30 30 /* Author */ "Moe (http://gniark.net/)", 31 /* Version */ "1.4.2", 32 /* Permissions */ null 31 /* Version */ "1.4.4", 32 /* Properties */ 33 array( 34 'permissions' => null, 35 'type' => 'plugin', 36 'dc_min' => '2.9', 37 'support' => 'http://lab.dotclear.org/wiki/plugin/cleanConfig', 38 'details' => 'http://plugins.dotaddict.org/dc2/details/cleanConfig' 39 ) 33 40 ); 34 ?> -
plugins/cleanConfig/inc/lib.cleanconfig.php
r2423 r3391 3 3 # 4 4 # This file is part of clean:config, a plugin for Dotclear 2 5 # Copyright (C) 2007 ,2009,2010Moe (http://gniark.net/)5 # Copyright (C) 2007-2016 Moe (http://gniark.net/) 6 6 # 7 7 # clean:config is free software; you can redistribute it and/or … … 126 126 { 127 127 $value = form::field(html::escapeHTML($ns.'_field'),40, 128 null,html::escapeHTML( $v['value']),null,null,null,128 null,html::escapeHTML(($v['type'] == 'array' ? json_encode($v['value']) : $v['value'])),null,null,null, 129 129 'readonly="readonly"'); 130 130 } … … 158 158 } 159 159 } 160 161 ?> -
plugins/cleanConfig/index.php
r2402 r3391 3 3 # 4 4 # This file is part of clean:config, a plugin for Dotclear 2 5 # Copyright (C) 2007 ,2009,2010Moe (http://gniark.net/)5 # Copyright (C) 2007-2016 Moe (http://gniark.net/) 6 6 # 7 7 # clean:config is free software; you can redistribute it and/or … … 26 26 27 27 l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/admin'); 28 29 $page_title = __('clean:config'); 28 30 29 31 require_once(dirname(__FILE__).'/php-xhtml-table/class.table.php'); … … 53 55 $msg = '<div class="message"><p>'. 54 56 55 http::redirect($p_url.'& settingsdeleted=1&limit='.$limit);57 http::redirect($p_url.'&settingsdeleted=1&limit='.$limit); 56 58 } 57 59 } … … 67 69 <html> 68 70 <head> 69 <title><?php echo __('clean:config'); ?></title>71 <title><?php echo $page_title; ?></title> 70 72 <?php echo dcPage::jsPageTabs($default_tab); ?> 71 73 <style type="text/css"> … … 94 96 </head> 95 97 <body> 96 97 <h2><?php echo html::escapeHTML($core->blog->name); ?> › <?php echo __('clean:config'); ?></h2> 98 <?php 99 echo dcPage::breadcrumb( 100 array( 101 html::escapeHTML($core->blog->name) => '', 102 '<span class="page-title">'.$page_title.'</span>' => '' 103 )); 104 if (!empty($msg)) { 105 dcPage::success($msg); 106 } 107 ?> 98 108 99 <?php 100 if (!empty($msg)) {echo '<p class="message">'.$msg.'</p>';} 101 ?> 102 103 <div class="multi-part" id="blog_settings" title="<?php echo __('blog settings'); ?>"> 109 <div class="multi-part" id="blog_settings" title="<?php echo __('Blog settings'); ?>"> 104 110 <?php echo(cleanconfig::settings('blog')); ?> 105 111 </div> 106 112 107 <div class="multi-part" id="global_settings" title="<?php echo __(' global settings'); ?>">113 <div class="multi-part" id="global_settings" title="<?php echo __('Global settings'); ?>"> 108 114 <?php echo(cleanconfig::settings('global')); ?> 109 115 </div> 110 116 111 <div class="multi-part" id="versions" title="<?php echo __(' versions'); ?>">117 <div class="multi-part" id="versions" title="<?php echo __('Versions'); ?>"> 112 118 <p><?php printf(__('This function has been moved to the %s plugin.'), 113 119 '<a href="http://plugins.dotaddict.org/dc2/details/versionsManager">'. -
plugins/cleanConfig/locales/fr/admin.po
r2585 r3391 40 40 msgstr "Êtes-vous certain de vouloir supprimer les paramètres ?" 41 41 42 msgid "versions"43 msgstr "versions"44 45 42 msgid "This function has been moved to the %s plugin." 46 43 msgstr "Cette fonction a été déplacée dans le plugin %s."
Note: See TracChangeset
for help on using the changeset viewer.