Changeset 3812:bc19aeafa1c2 for admin
- Timestamp:
- 08/17/18 11:08:51 (7 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_theme.php
r3731 r3812 20 20 $core->themes, 21 21 $core->blog->themes_path, 22 $core->blog->settings->system->store_theme_url 22 $core->blog->settings->system->store_theme_url, 23 !empty($_GET['nocache']) 23 24 ); 24 25 adminThemesList::$distributed_modules = explode(',', DC_DISTRIB_THEMES); … … 105 106 # -- Display modules lists -- 106 107 if ($core->auth->isSuperAdmin()) { 108 109 if (!$core->error->flag()) { 110 if (!empty($_GET['nocache'])) { 111 dcPage::success(__('Manual checking of themes update done successfully.')); 112 } 113 } 107 114 108 115 # Updated modules from repo … … 134 141 135 142 '</div>'; 143 } else { 144 echo 145 '<form action="' . $list->getURL('', false) . '" method="get">' . 146 '<p><input type="hidden" name="nocache" value="1" />' . 147 '<input type="submit" value="' . __('Force checking update of themes') . '" /></p>' . 148 '</form>'; 136 149 } 137 150 } -
admin/plugins.php
r3731 r3812 16 16 $core->plugins, 17 17 DC_PLUGINS_ROOT, 18 $core->blog->settings->system->store_plugin_url 18 $core->blog->settings->system->store_plugin_url, 19 !empty($_GET['nocache']) 19 20 ); 20 21 … … 115 116 # -- Display modules lists -- 116 117 if ($core->auth->isSuperAdmin()) { 118 119 if (!$core->error->flag()) { 120 if (!empty($_GET['nocache'])) { 121 dcPage::success(__('Manual checking of plugins update done successfully.')); 122 } 123 } 117 124 118 125 # Updated modules from repo … … 144 151 145 152 '</div>'; 153 } else { 154 echo 155 '<form action="' . $list->getURL('', false) . '" method="get">' . 156 '<p><input type="hidden" name="nocache" value="1" />' . 157 '<input type="submit" value="' . __('Force checking update of plugins') . '" /></p>' . 158 '</form>'; 146 159 } 147 160 }
Note: See TracChangeset
for help on using the changeset viewer.