Changeset 829
- Timestamp:
- 04/01/10 16:35:47 (3 years ago)
- Location:
- plugins/apostrophePlugin/trunk
- Files:
-
- 4 modified
-
modules/a/templates/_area.php (modified) (1 diff)
-
modules/aSlideshowSlot/templates/_normalView.php (modified) (1 diff)
-
web/css/a.css (modified) (4 diffs)
-
web/js/aUI.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/trunk/modules/a/templates/_area.php
r796 r829 200 200 'complete' => 'aUI()'), 201 201 array( 202 'class' => 'a-btn icon a-delete ',202 'class' => 'a-btn icon a-delete a-flag-btn', 203 203 'title' => __('Delete Slot', null, 'apostrophe'), 204 204 'confirm' => __('Are you sure you want to delete this slot?', null, 'apostrophe'), )) ?> -
plugins/apostrophePlugin/trunk/modules/aSlideshowSlot/templates/_normalView.php
r571 r829 38 38 <?php endif ?> 39 39 40 <?php include_component('aSlideshowSlot', 'slideshow', array('items' => $items, 'id' => $id, 'options' => $options)) ?> 40 <?php if (count($items)): ?> 41 <?php include_component('aSlideshowSlot', 'slideshow', array('items' => $items, 'id' => $id, 'options' => $options)) ?> 42 <?php else: ?> 41 43 44 <?php (isset($options['width']))? $style = 'width:' . $options['width'] .'px;': $style = 'width:100%;'; ?> 45 <?php (isset($options['height']))? $height = $options['height'] : $height = (($options['width'])? floor($options['width']*.56):'100'); ?> 46 <?php $style .= 'height:'.$height.'px;' ?> 47 48 <div class="a-slideshow-placeholder" style="<?php echo $style ?>"> 49 <span style="line-height:<?php echo $height ?>px;"><?php echo __("Create a Slideshow", null, 'apostrophe') ?></span> 50 </div> 51 <?php endif ?> 52 -
plugins/apostrophePlugin/trunk/web/css/a.css
r822 r829 531 531 .a-btn.a-flag-btn.icon-only.expanded 532 532 { 533 padding-left: 20px;534 533 width: auto; 534 } 535 536 .a-btn.a-flag-btn.icon 537 { 538 padding: 0 0 0 20px; 535 539 } 536 540 … … 1621 1625 visibility: hidden; 1622 1626 margin: 0 !important; 1627 width: 100%; 1623 1628 } 1624 1629 … … 1637 1642 { /* .last option has no margin */ 1638 1643 margin: 0 0 2px 0 !important; 1644 } 1645 1646 ul.a-controls li.last.delete 1647 { 1648 float: right; 1639 1649 } 1640 1650 … … 2757 2767 } 2758 2768 2769 .a-slot.aSlideshow .a-slideshow-placeholder 2770 { /* Height and Width are defined in the template and applied inline in _normalView.php */ 2771 } 2772 2773 .a-slot.aSlideshow .a-slideshow-placeholder span 2774 { 2775 display: block; 2776 width: 100%; 2777 height: 100%; 2778 text-align: center; 2779 border: 1px dashed #ccc; 2780 margin: -1px 0 0 -1px; 2781 } 2782 2759 2783 .a-slot.aSlideshow ul.a-slideshow-controls 2760 2784 {/* Slideshow Controls */ -
plugins/apostrophePlugin/trunk/web/js/aUI.js
r788 r829 143 143 144 144 145 // New Slot Box145 // // New Slot Box 146 146 // $('div.a-new-slot').remove(); 147 147 // $('div.a-slots').prepend('<div class="a-new-slot"><p>+ Add Slot</p></div>');

