1 <div class="edit_photo_frame">
2 <?php if (!empty($this->photos)): ?>
3 <form action="" method="post" class="input-form">
4 <?php foreach($this->photos as $k=>$photo): ?>
5 <div class="edit_photo_box">
7 <label for="description_<?php echo $photo['id']; ?>"><?php echo _AT('description');?></label><br/>
8 <textarea name="description_<?php echo $photo['id']; ?>" id="description_<?php echo $photo['id']; ?>"><?php echo htmlentities_utf82($photo['description'], false);?></textarea>
10 <p><label for="alt_text_<?php echo $photo['id']; ?>"><?php echo _AT('pa_alt_text');?></label><br/>
11 <textarea name="alt_text_<?php echo $photo['id']; ?>" id="alt_text_<?php echo $photo['id']; ?>" class="alt_text"><?php echo htmlentities_utf82($photo['alt_text'], false);?></textarea></p>
14 <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 htmlentities_utf82($photo['description'], false); ?>" alt="<?php echo htmlentities_utf82($photo['alt_text']);?>" /><br/>
15 <input name="album_cover" id="photo_<?php echo $photo['id']; ?>" type="radio" value="<?php echo $photo['id']; ?>" <?php echo ($this->album_info['photo_id']==$photo['id'])?' checked="checked"':''; ?>/>
16 <label for="photo_<?php echo $photo['id']; ?>"><?php echo _AT('pa_album_cover'); ?></label><br/>
18 <input name="delete_<?php echo $photo['id']; ?>" id="delete_<?php echo $photo['id']; ?>" type="checkbox" value="<?php echo $photo['id']; ?>"/>
19 <label for="delete_<?php echo $photo['id']; ?>"><?php echo _AT('delete');?></label>
24 <input type="hidden" name="aid" value="<?php echo $this->album_info['id']; ?>" />
25 <input type="submit" name="submit" value="<?php echo _AT('save'); ?>" class="button" />
26 <input type="submit" name="cancel" value="<?php echo _AT('cancel');?>" class="button"/>
30 <div class="edit_photo_box">
31 <p><?php echo _AT('pa_no_photos'); ?></p>