2 <div class="album_panel">
3 <?php if(!empty($this->photos)): ?>
4 <p><?php echo _AT('pa_organize_photo_blurb'); ?></p>
5 <form action="<?php echo AT_PA_BASENAME . 'edit_photos.php?aid='.$this->album_info['id'].SEP.'org=1'; ?>" id="reorder-images-form" class="fl-reorderer-horizontalLayout" style="float:left;">
6 <!-- loop through this -->
7 <?php foreach($this->photos as $key=>$photo):?>
8 <div class="photo_wrapper">
9 <a class="photo_frame">
10 <img src="<?php echo AT_PA_BASENAME.'get_photo.php?aid='.$this->album_info['id'].SEP.'pid='.$photo['id'].SEP.'ph='.getPhotoFilePath($photo['id'], '', $photo['created_date']);?>" title="<?php echo AT_print($photo['description'], 'input.text'); ?>" alt="<?php echo AT_print($photo['alt_text'], 'input.text'); ?>>" />
11 <input name="image_<?php echo $photo['id']; ?>" value="<?php echo $photo['ordering']; ?>" type="hidden" />
16 <input type="hidden" name="submit" value="<?php echo _AT('save_changes'); ?>" class="button"/>
19 <div class="edit_photo_box">
20 <p><?php echo _AT('pa_no_photos'); ?></p>
26 <script type="text/javascript">
27 atutor.formBasedImageReorderer();