Changeset 2566:9bf417837888 for admin/plugins.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/plugins.php
r2499 r2566 17 17 # -- Page helper -- 18 18 $list = new adminModulesList( 19 $core->plugins, 20 DC_PLUGINS_ROOT, 19 $core->plugins, 20 DC_PLUGINS_ROOT, 21 21 $core->blog->settings->system->store_plugin_url 22 22 ); … … 89 89 # -- Plugins install messages -- 90 90 if (!empty($plugins_install['success'])) { 91 echo 91 echo 92 92 '<div class="static-msg">'.__('Following plugins have been installed:').'<ul>'; 93 93 94 94 foreach ($plugins_install['success'] as $k => $v) { 95 echo 95 echo 96 96 '<li>'.$k.'</li>'; 97 97 } 98 98 99 echo 99 echo 100 100 '</ul></div>'; 101 101 } 102 102 if (!empty($plugins_install['failure'])) { 103 echo 103 echo 104 104 '<div class="error">'.__('Following plugins have not been installed:').'<ul>'; 105 105 106 106 foreach ($plugins_install['failure'] as $k => $v) { 107 echo 107 echo 108 108 '<li>'.$k.' ('.$v.')</li>'; 109 109 } 110 110 111 echo 111 echo 112 112 '</ul></div>'; 113 113 } … … 119 119 $modules = $list->store->get(true); 120 120 if (!empty($modules)) { 121 echo 121 echo 122 122 '<div class="multi-part" id="update" title="'.html::escapeHTML(__('Update plugins')).'">'. 123 123 '<h3>'.html::escapeHTML(__('Update plugins')).'</h3>'. … … 153 153 $modules = $list->modules->getModules(); 154 154 if (!empty($modules)) { 155 156 echo 155 156 echo 157 157 '<h3>'.($core->auth->isSuperAdmin() ?__('Activated plugins') : __('Installed plugins')).'</h3>'. 158 158 '<p>'.__('You can configure and manage installed plugins from this list.').'</p>'; … … 187 187 } 188 188 189 echo 189 echo 190 190 '</div>'; 191 191 … … 241 241 # -- Notice for super admin -- 242 242 if ($core->auth->isSuperAdmin() && !$list->isWritablePath()) { 243 echo 243 echo 244 244 '<p class="warning">'.__('Some functions are disabled, please give write access to your plugins directory to enable them.').'</p>'; 245 245 }
Note: See TracChangeset
for help on using the changeset viewer.