remove old readme
[atutor.git] / docs / themes / default / photos / pa_edit_album.tmpl.php
1 <div class="input-form">
2 <form action="" name="create_album" method="post">
3         <div class="row">
4                 <div class="left_row"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="album_name"><?php echo _AT('pa_album_name'); ?></label></div>
5                 <input id="album_name" name="album_name" type="text" value="<?php echo AT_print($this->album_info['name'], 'input.text');?>" />
6         </div>
7         <?php
8         //if the user has the privilege to create course albums, then allow them to choose
9         if ($course_album_privilege || true): ?>
10         <div class="row">
11                 <div class="left_row"<label for="album_type"><?php echo _AT('pa_album_type'); ?></label></div>
12                 <label for="my_album"><?php echo _AT('pa_my_albums'); ?><label><input type="radio" name="album_type" id="my_album" value="1" <?php echo ($this->album_info['type_id']==AT_PA_TYPE_MY_ALBUM)?' checked="checked"':'';?>/>
13                 <label for="course_album"><?php echo _AT('pa_course_albums'); ?></label><input type="radio" name="album_type" id="course_album" value="2" <?php echo ($this->album_info['type_id']==AT_PA_TYPE_COURSE_ALBUM)?' checked="checked"':'';?>/>
14         </div>
15         <?php endif; ?>
16         <div class="row">
17                 <div class="left_row"<label for="album_permission"><?php echo _AT('pa_album_permission'); ?></label></div>
18                 <label for="album_permission_private"><?php echo _AT('pa_private'); ?><label><input type="radio" name="album_permission" id="album_permission_private" value="0" <?php echo ($this->album_info['permission']==AT_PA_PRIVATE_ALBUM)?' checked="checked"':'';?>/>
19                 <label for="album_permission_shared"><?php echo _AT('pa_shared'); ?></label><input type="radio" name="album_permission" id="album_permission_shared" value="1" <?php echo ($this->album_info['permission']==AT_PA_SHARED_ALBUM)?' checked="checked"':'';?>/>
20         </div>
21         <div class="row">
22                 <div class="left_row"<label for="album_location"><?php echo _AT('pa_album_location'); ?></label></div>
23                 <input id="album_location" name="album_location" type="text" value="<?php echo AT_print($this->album_info['location'], 'input.text');?>"/>
24         </div>
25         <div class="row">
26                 <div class="left_row"<label for="album_description"><?php echo _AT('pa_album_description'); ?></label></div>
27                 <textarea id="album_description" name="album_description"><?php echo AT_print($this->album_info['description'], 'input.text');?></textarea>
28         </div>
29         <div class="row">
30                 <input type="hidden" name="aid" value="<?php echo $this->album_info['id']; ?>" />
31                 <input name="submit" type="submit" value="<?php echo _AT('save');?>" class="button"/>
32                 <input name="cancel" type="submit" value="<?php echo _AT('cancel');?>" class="button"/>
33         </div>
34 </form>
35 </div>