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/_footer.php

    r1681 r1855  
     1<?php use_helper('a') ?> 
     2<?php $page = aTools::getCurrentNonAdminPage() ?> 
     3         
    14<?php if (has_slot('a-footer')): ?> 
    25  <?php include_slot('a-footer') ?> 
    36<?php else: ?> 
    4   <?php a_slot('footer', 'aRichText', array("global" => true)) ?> 
     7  <?php a_slot('footer', 'aRichText', array( 
     8                'global' => true, 
     9                'edit' => isset($page) ? true : false, 
     10        )) ?> 
    511<?php endif ?> 
     12 
    613<?php // Feel free to shut this off in app.yml or override the footer partial in your app ?> 
    714<?php if (sfConfig::get('app_a_credit', true)): ?>