Changeset 3874:ab8368569446 for admin/plugins.php
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/plugins.php
r3864 r3874 23 23 adminModulesList::$distributed_modules = explode(',', DC_DISTRIB_PLUGINS); 24 24 25 if ($core->plugins->disableDepModules($core->adminurl->get('admin.plugins', array()))) {25 if ($core->plugins->disableDepModules($core->adminurl->get('admin.plugins', []))) { 26 26 exit; 27 27 } … … 43 43 44 44 dcPage::breadcrumb( 45 array(45 [ 46 46 html::escapeHTML($core->blog->name) => '', 47 47 __('Plugins management') => $list->getURL('', false), 48 48 '<span class="page-title">' . __('Plugin configuration') . '</span>' => '' 49 ))49 ]) 50 50 ); 51 51 … … 82 82 83 83 dcPage::breadcrumb( 84 array(84 [ 85 85 __('System') => '', 86 86 __('Plugins management') => '' 87 ))87 ]) 88 88 ); 89 89 … … 139 139 ->setModules($modules) 140 140 ->displayModules( 141 /*cols */ array('checkbox', 'icon', 'name', 'version', 'current_version', 'desc'),142 /* actions */ array('update')141 /*cols */['checkbox', 'icon', 'name', 'version', 'current_version', 'desc'], 142 /* actions */['update'] 143 143 ); 144 144 … … 176 176 ->setModules($modules) 177 177 ->displayModules( 178 /* cols */ array('expander', 'icon', 'name', 'version', 'desc', 'distrib', 'deps'),179 /* actions */ array('deactivate', 'delete', 'behavior')178 /* cols */['expander', 'icon', 'name', 'version', 'desc', 'distrib', 'deps'], 179 /* actions */['deactivate', 'delete', 'behavior'] 180 180 ); 181 181 } … … 194 194 ->setModules($modules) 195 195 ->displayModules( 196 /* cols */ array('expander', 'icon', 'name', 'version', 'desc', 'distrib'),197 /* actions */ array('activate', 'delete')196 /* cols */['expander', 'icon', 'name', 'version', 'desc', 'distrib'], 197 /* actions */['activate', 'delete'] 198 198 ); 199 199 } … … 221 221 ->displayIndex() 222 222 ->displayModules( 223 /* cols */ array('expander', 'name', 'score', 'version', 'desc', 'deps'),224 /* actions */ array('install'),223 /* cols */['expander', 'name', 'score', 'version', 'desc', 'deps'], 224 /* actions */['install'], 225 225 /* nav limit */true 226 226 );
Note: See TracChangeset
for help on using the changeset viewer.