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

Show
Ignore:
Timestamp:
07/23/10 19:06:05 (22 months ago)
Author:
johnnyoffline
Message:

cleaned up cropping somewhat with rick and jake

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/branches/features/cropping/modules/aMedia/templates/indexSuccess.php

    r1774 r1847  
    1212        <?php if (aMediaTools::isSelecting()): ?> 
    1313 
    14     <?php if (isset($label)): ?> 
    15       <h3><?php echo htmlspecialchars($label) ?> or <?php echo link_to(__("Cancel", null, 'apostrophe'), "aMedia/selectCancel", array("class"=>"a-btn a-cancel text-only")) ?></h3> 
    16     <?php endif ?> 
    17  
    18     <?php include_partial('aMedia/describeConstraints') ?> 
    19  
    20     <?php include_component('aMedia', 'selectMultiple', array('limitSizes' => $limitSizes)) ?> 
     14    <?php include_component('aMedia', 'selectMultiple', array('limitSizes' => $limitSizes, 'label' => (isset($label)?$label:null))) ?> 
    2115 
    2216        <?php endif ?> 
     
    2822<div class="a-media-library"> 
    2923         
     24        <h3>Media Library</h3> 
     25         
     26        <?php if ($limitSizes): ?> 
     27        <h4 class="a-help"><?php echo __('Some %typeplural% in your media library may not be large enough to be selected. Only %typeplural% that can be used are displayed currently.', array('%typeplural%' => __($type . 's')), 'apostrophe') ?></h4> 
     28        <?php endif ?> 
     29         
    3030        <?php if (aMediaTools::userHasUploadPrivilege()): ?> 
    31  
    3231   <ul class="a-controls a-media-controls"> 
    3332     <?php $selecting = aMediaTools::isSelecting() ?> 
     
    4544     <li><a href="<?php echo url_for("aMedia/editPdf") ?>" class="a-btn icon big a-add"><?php echo __('Add PDF', null, 'apostrophe') ?></a></li> 
    4645     <?php endif ?> 
    47  
    4846   </ul> 
    49  
    5047  <?php endif ?> 
    5148