Changeset 3491:9aba899e5494 for admin/index.php
- Timestamp:
- 01/02/17 17:03:59 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r3476 r3491 87 87 88 88 # Check plugins and themes update from repository 89 function dc_check_store_update($mod, $url, $img, $icon)89 $checkStoreUpdate = function($mod, $url, $img, $icon) 90 90 { 91 91 $repo = new dcStore($mod, $url); … … 96 96 $icon[2] = 'images/menu/'.$img.'-b-update.png'; 97 97 } 98 } 98 }; 99 99 if (isset($__dashboard_icons['plugins'])) { 100 dc_check_store_update($core->plugins, $core->blog->settings->system->store_plugin_url, 'plugins', $__dashboard_icons['plugins']);100 $checkStoreUpdate($core->plugins, $core->blog->settings->system->store_plugin_url, 'plugins', $__dashboard_icons['plugins']); 101 101 } 102 102 if (isset($__dashboard_icons['blog_theme'])) { 103 103 $themes = new dcThemes($core); 104 104 $themes->loadModules($core->blog->themes_path, null); 105 dc_check_store_update($themes, $core->blog->settings->system->store_theme_url, 'blog-theme', $__dashboard_icons['blog_theme']);105 $checkStoreUpdate($themes, $core->blog->settings->system->store_theme_url, 'blog-theme', $__dashboard_icons['blog_theme']); 106 106 } 107 107
Note: See TracChangeset
for help on using the changeset viewer.