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

Show
Ignore:
Timestamp:
09/09/10 14:04:51 (21 months ago)
Author:
rickybanister
Message:

touched engines.css and the slideshow selection tools / cropping. Removed the dark box around selected images, restored the crop work area, wrapped the crop button url_for in a json_encode to fix a bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/trunk/modules/aMedia/templates/_selectMultiple.php

    r2122 r2166  
    2121  <div class="a-ui"> 
    2222 
    23         <div id="a-media-selection-list-caption"> 
    24           <h4><?php echo __("Preview your selected image%plural% here.", array('%plural%' => aMediaTools::isMultiple() ? 's':' '), 'apostrophe') ?></h4> 
    25         </div> 
     23        <div id="a-media-selection-wrapper"> 
    2624 
    27         <div id="a-media-selection-wrapper"> 
    28                 <ul id="a-media-selection-list" style="min-height:<?php echo ($thumbHeight = aMediaTools::getSelectedThumbnailHeight()) ? $thumbHeight + 10 : 0 ?>px;"> 
    29                         <?php if($items): ?> 
    30                                 <?php include_partial("aMedia/multipleList", array("items" => $items)) ?> 
    31                         <?php else: ?> 
    32                           <?php if (aMediaTools::isMultiple()): ?> 
    33                                 <li class="a-media-selection-placeholder"><?php echo __('Add images to your slideshow', null, 'apostrophe') ?></li> 
    34                         <?php else: ?> 
    35                           <li class="a-media-selection-placeholder"><?php echo __('Select an image', null, 'apostrophe') ?></li> 
    36                         <?php endif ?> 
    37                         <?php endif ?> 
    38                 </ul> 
     25                        <div class="a-media-selection-help"> 
     26                          <?php if (aMediaTools::isMultiple()): ?> 
     27                                <h4><?php echo __('Add images to your slideshow', null, 'apostrophe') ?></h4> 
     28                        <?php else: ?> 
     29                          <h4><?php echo __('Select an image', null, 'apostrophe') ?></h4> 
     30                        <?php endif ?>           
     31                        </div> 
     32 
     33                        <ul id="a-media-selection-list" style="min-height:<?php echo ($thumbHeight = aMediaTools::getSelectedThumbnailHeight()) ? $thumbHeight + 10 : 0 ?>px;"> 
     34                                        <?php if($items): ?> 
     35                                        <?php include_partial("aMedia/multipleList", array("items" => $items)) ?> 
     36                                        <?php endif ?> 
     37                        </ul> 
    3938 
    4039                <?php echo jq_sortable_element("#a-media-selection-list", array("url" => "aMedia/multipleOrder" )) ?> 
     
    4342                        <?php include_partial("aMedia/multiplePreview", array("items" => $items)) ?> 
    4443                  </ul> 
    45                   <ul class="a-controls a-media-crop-controls" style="display:none;"> 
    46                                 <li><?php echo jq_link_to_function('<span class="icon"></span>'.__('Crop', null, 'apostrophe'), 'aCrop.setCrop('.url_for('aMedia/crop').')', array('class'=>'a-btn save', 'id' => 'a-save-crop', )) ?></li> 
     44                  <ul class="a-ui a-controls a-media-crop-controls" style="display:none;"> 
     45                                <li><?php echo jq_link_to_function('<span class="icon"></span>'.__('Crop', null, 'apostrophe'), 'aCrop.setCrop('.json_encode(url_for('aMedia/crop')).')', array('class'=>'a-btn save', 'id' => 'a-save-crop', )) ?></li> 
    4746                          <li><?php echo jq_link_to_function('<span class="icon"></span>'.__('Cancel', null, 'apostrophe'), 'aCrop.resetCrop()', array('class'=>'a-btn icon a-cancel')) ?></li> 
    4847                  </ul>