Changeset 218171
- Timestamp:
- 03/16/2010 03:54:05 AM (16 years ago)
- File:
-
- 1 edited
-
underconstruction/tags/1.03/underConstruction.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
underconstruction/tags/1.03/underConstruction.php
r218168 r218171 233 233 array_unshift($links, $manage_link); 234 234 235 if ($underConstructionPlugin->pluginIsActive()) 236 { 237 $manage_link .= '<a href="'.admin_url('options-general.php?page='.$underConstructionPlugin->getMainOptionsPage().'&turnOffUnderConstructionMode').'">'.__('Turn off Under Construction Mode').'</a>'; 238 239 array_unshift($links, $manage_link); 240 } 241 242 if (!$underConstructionPlugin->pluginIsActive()) 243 { 244 $managePageLink = 'options-general.php?page=underConstructionMainOptions'; 245 $manage_link .= '<a href="'.admin_url('options-general.php?page='.$underConstructionPlugin->getMainOptionsPage().'&turnOnUnderConstructionMode').'">'.__('Turn on Under Construction Mode').'</a>'; 246 247 array_unshift($links, $manage_link); 248 } 235 249 236 250 237
Note: See TracChangeset
for help on using the changeset viewer.