To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
07/27/10 12:49:56 (19 months ago)
Author:
johnnyoffline
Message:

Fixed a bug where global slots in the layout were editable in Admin areas, because the edit = false flag was never introduced into the templates even after ticket #36 was declared fixed and closed. Also, moved the reset stylesheet up to the sandbox level so that it can be optional for people. Created a new scoped reset style in a-reset that will be used to scope resets to our controls exclusively. Thanks Daniel Lohse. Going to give this a try

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/branches/features/css/modules/a/templates/layout.php

    r1681 r1855  
    5757          <?php include_slot('a-logo') ?> 
    5858        <?php else: ?> 
    59           <?php a_slot("logo", 'aButton', array("global" => true, "width" => 360, "flexHeight" => true, "resizeType" => "s", "link" => "/", "defaultImage" => "/apostrophePlugin/images/cmstest-sample-logo.png")) ?> 
     59          <?php a_slot('logo', 'aButton', array( 
     60                                                'global' => true,  
     61                                                'edit' => isset($page) ? true : false,                           
     62                                                'width' => 360,  
     63                                                'flexHeight' => true,  
     64                                                'resizeType' => 's',  
     65                                                'link' => '/',  
     66                                                'defaultImage' => '/apostrophePlugin/images/cmstest-sample-logo.png' 
     67                                        )) ?> 
    6068        <?php endif ?> 
    6169      </div>