diff --git a/admin/css/style.css b/admin/css/style.css index 782f01c3..021307c8 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -357,20 +357,17 @@ button.primary:active, button.primary.active { */ .message { padding: 5px 10px; - font-size: 14px; - color: #333; margin-bottom: 10px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -khtml-border-radius: 3px; /* hope IE support border radius, God save me! */ - border-radius: 4px; + border-radius: 3px; } .message a { - color: #333; border-bottom: 1px dashed #aaa; line-height: 20px; } @@ -383,7 +380,6 @@ button.primary:active, button.primary.active { .message blockquote { margin: 5px 10px; padding: 0 5px; - font-size: 13px; } .error { @@ -421,14 +417,11 @@ button.primary:active, button.primary.active { /** 增加顶部消息样式 by 70 */ .popup { - width: 928px; border-top: none; - position: absolute; + position: relative; z-index: 10; text-align: center; - font-size: 13px; font-weight: bold; - padding: 3px 10px; display: none; -moz-border-radius-topleft: 0; @@ -441,6 +434,12 @@ button.primary:active, button.primary.active { border-top-right-radius: 0; } +.popup ul { + list-style: none; + margin: 0; + padding: 0; +} + /** * 安装样式 * diff --git a/admin/plugins.php b/admin/plugins.php index 40c51d4d..58a22ff5 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -10,7 +10,7 @@ include 'menu.php';
to($activatedPlugins); ?> have()): ?> - + @@ -49,7 +49,7 @@ include 'menu.php'; - + @@ -110,7 +110,7 @@ include 'menu.php'; - + diff --git a/admin/themes.php b/admin/themes.php index 9072a1b7..ae4179f6 100644 --- a/admin/themes.php +++ b/admin/themes.php @@ -43,7 +43,7 @@ include 'menu.php'; theme != $themes->name): ?>

  - +

diff --git a/var/Helper.php b/var/Helper.php index 9e98ea4e..d08c3705 100644 --- a/var/Helper.php +++ b/var/Helper.php @@ -34,7 +34,7 @@ class Helper /** 获取插件入口 */ list($pluginFileName, $className) = Typecho_Plugin::portal($pluginName, __TYPECHO_ROOT_DIR__ . '/' . __TYPECHO_PLUGIN_DIR__); - /** 获取已激活插件 */ + /** 获取已启用插件 */ $plugins = Typecho_Plugin::export(); $activatedPlugins = $plugins['activated']; diff --git a/var/Typecho/Plugin.php b/var/Typecho/Plugin.php index 6025c187..ace69ed7 100644 --- a/var/Typecho/Plugin.php +++ b/var/Typecho/Plugin.php @@ -18,7 +18,7 @@ class Typecho_Plugin { /** - * 所有激活的插件 + * 所有启用的插件 * * @access private * @var array @@ -135,7 +135,7 @@ class Typecho_Plugin } /** - * 激活插件 + * 启用插件 * * @access public * @param string $pluginName 插件名称 diff --git a/var/Typecho/Plugin/Interface.php b/var/Typecho/Plugin/Interface.php index dab400ea..ef55ba04 100644 --- a/var/Typecho/Plugin/Interface.php +++ b/var/Typecho/Plugin/Interface.php @@ -18,7 +18,7 @@ interface Typecho_Plugin_Interface { /** - * 激活插件方法,如果激活失败,直接抛出异常 + * 启用插件方法,如果启用失败,直接抛出异常 * * @static * @access public diff --git a/var/Widget/Plugins/Config.php b/var/Widget/Plugins/Config.php index 636e45e3..9e49a705 100644 --- a/var/Widget/Plugins/Config.php +++ b/var/Widget/Plugins/Config.php @@ -83,7 +83,7 @@ class Widget_Plugins_Config extends Widget_Abstract_Options /** 获取插件名称 */ $pluginName = $this->request->config; - /** 获取已激活插件 */ + /** 获取已启用插件 */ $plugins = Typecho_Plugin::export(); $activatedPlugins = $plugins['activated']; diff --git a/var/Widget/Plugins/Edit.php b/var/Widget/Plugins/Edit.php index 6ce404e2..df58f50f 100644 --- a/var/Widget/Plugins/Edit.php +++ b/var/Widget/Plugins/Edit.php @@ -67,7 +67,7 @@ class Widget_Plugins_Edit extends Widget_Abstract_Options implements Widget_Inte } /** - * 激活插件 + * 启用插件 * * @access public * @return void @@ -82,7 +82,7 @@ class Widget_Plugins_Edit extends Widget_Abstract_Options implements Widget_Inte list ($version, $build) = explode('/', Typecho_Common::VERSION); if (Typecho_Plugin::checkDependence($build, $info['dependence'])) { - /** 获取已激活插件 */ + /** 获取已启用插件 */ $plugins = Typecho_Plugin::export(); $activatedPlugins = $plugins['activated']; @@ -92,7 +92,7 @@ class Widget_Plugins_Edit extends Widget_Abstract_Options implements Widget_Inte /** 判断实例化是否成功 */ if (isset($activatedPlugins[$pluginName]) || !class_exists($className) || !method_exists($className, 'activate')) { - throw new Typecho_Widget_Exception(_t('无法激活插件'), 500); + throw new Typecho_Widget_Exception(_t('无法启用插件'), 500); } try { @@ -135,7 +135,7 @@ class Widget_Plugins_Edit extends Widget_Abstract_Options implements Widget_Inte if (isset($result) && is_string($result)) { $this->widget('Widget_Notice')->set($result, NULL, 'notice'); } else { - $this->widget('Widget_Notice')->set(_t('插件已经被激活'), NULL, 'success'); + $this->widget('Widget_Notice')->set(_t('插件已经被启用'), NULL, 'success'); } $this->response->goBack(); } @@ -148,7 +148,7 @@ class Widget_Plugins_Edit extends Widget_Abstract_Options implements Widget_Inte */ public function deactivate($pluginName) { - /** 获取已激活插件 */ + /** 获取已启用插件 */ $plugins = Typecho_Plugin::export(); $activatedPlugins = $plugins['activated']; $pluginFileExist = true; diff --git a/var/Widget/Plugins/List.php b/var/Widget/Plugins/List.php index 8d95da20..13095853 100644 --- a/var/Widget/Plugins/List.php +++ b/var/Widget/Plugins/List.php @@ -19,7 +19,7 @@ class Widget_Plugins_List extends Typecho_Widget { /** - * 已激活插件 + * 已启用插件 * * @access public * @var array @@ -38,7 +38,7 @@ class Widget_Plugins_List extends Typecho_Widget $pluginDirs = glob(__TYPECHO_ROOT_DIR__ . '/' . __TYPECHO_PLUGIN_DIR__ . '/*'); $this->parameter->setDefault(array('activated' => NULL)); - /** 获取已激活插件 */ + /** 获取已启用插件 */ $plugins = Typecho_Plugin::export(); $this->activatedPlugins = $plugins['activated']; diff --git a/var/Widget/Plugins/List/Activated.php b/var/Widget/Plugins/List/Activated.php index 30f04c13..db7921b5 100644 --- a/var/Widget/Plugins/List/Activated.php +++ b/var/Widget/Plugins/List/Activated.php @@ -8,7 +8,7 @@ */ /** - * 激活插件列表组件 + * 启用插件列表组件 * * @author qining * @category typecho diff --git a/var/Widget/Users/Profile.php b/var/Widget/Users/Profile.php index 71212711..2bd0293d 100644 --- a/var/Widget/Users/Profile.php +++ b/var/Widget/Users/Profile.php @@ -338,7 +338,7 @@ class Widget_Users_Profile extends Widget_Users_Edit implements Widget_Interface /** 获取插件名称 */ $pluginName = $this->request->plugin; - /** 获取已激活插件 */ + /** 获取已启用插件 */ $plugins = Typecho_Plugin::export(); $activatedPlugins = $plugins['activated'];