Changeset 1847 for plugins/apostrophePlugin/branches/features/cropping/modules/aMedia/templates/indexSuccess.php
- Timestamp:
- 07/23/10 19:06:05 (22 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/branches/features/cropping/modules/aMedia/templates/indexSuccess.php
r1774 r1847 12 12 <?php if (aMediaTools::isSelecting()): ?> 13 13 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))) ?> 21 15 22 16 <?php endif ?> … … 28 22 <div class="a-media-library"> 29 23 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 30 30 <?php if (aMediaTools::userHasUploadPrivilege()): ?> 31 32 31 <ul class="a-controls a-media-controls"> 33 32 <?php $selecting = aMediaTools::isSelecting() ?> … … 45 44 <li><a href="<?php echo url_for("aMedia/editPdf") ?>" class="a-btn icon big a-add"><?php echo __('Add PDF', null, 'apostrophe') ?></a></li> 46 45 <?php endif ?> 47 48 46 </ul> 49 50 47 <?php endif ?> 51 48

