Plugin Directory

Changeset 218171


Ignore:
Timestamp:
03/16/2010 03:54:05 AM (16 years ago)
Author:
jkmassel
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • underconstruction/tags/1.03/underConstruction.php

    r218168 r218171  
    233233        array_unshift($links, $manage_link);
    234234       
    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     
    249236
    250237       
Note: See TracChangeset for help on using the changeset viewer.