- Timestamp:
- 09/09/10 15:24:39 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/trunk/modules/aMedia/templates/_edit.php
r2134 r2169 30 30 <div class="a-form-row preview"> 31 31 <?php echo image_tag($form['file']->getWidget()->getPreviewUrl($form['file']->getValue(), aMediaTools::getOption('gallery_constraints'))) ?> 32 <?php if (!$item): ?>33 <a class="a-media-remove-file" href="#">x</a>34 <?php a_js_call('apostrophe.mediaEnableRemoveButton(?)', $i) ?>35 <?php endif ?>36 </div>37 38 <?php // The label says 'Replace File' now, see BaseaMediaEditForm ?>39 <div class="a-form-row file">40 <?php echo $form['file']->renderLabel() ?>41 <?php echo $form['file']->renderError() ?>42 <?php echo $form['file']->render() ?>43 32 </div> 44 33 … … 100 89 101 90 </div> 91 92 <div class="a-form-row replace"> 93 <?php // The label says 'Replace File' now, see BaseaMediaEditForm ?> 94 <div class="a-options-container a-ui"> 95 <a href="#replace-image" onclick="return false;" id="a-media-replace-image-<?php echo $i ?>" class="a-btn icon alt no-bg a-replace">Replace File</a> 96 <div class="a-options dropshadow"> 97 <?php echo $form['file']->renderLabel() ?> 98 <?php echo $form['file']->renderError() ?> 99 <?php echo $form['file']->render() ?> 100 </div> 101 <?php a_js_call('apostrophe.menuToggle(?)', array('button' => '#a-media-replace-image-'.$i, 'classname' => '', 'overlay' => false)) ?> 102 </div> 103 <?php if (!$item): ?> 104 <a class="a-btn no-bg icon a-delete a-media-delete-image-btn" href="#">Delete File</a> 105 <?php a_js_call('apostrophe.mediaEnableRemoveButton(?)', $i) ?> 106 <?php endif ?> 107 </div> 102 108 103 109 <?php if ($item): ?>

