diff options
author | spocky <spocky@ampache> | 2007-10-24 21:15:58 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2007-10-24 21:15:58 +0000 |
commit | e855988af2850d8d8105b56bc0ce9eae8b7d9dc0 (patch) | |
tree | 9e05a256144165aca01e6bfe9a02bd2d81dbdfb4 /templates/show_flagged.inc.php | |
parent | 06a5efcc717cd28ea69bd75f11063c51ee455b82 (diff) | |
download | ampache-e855988af2850d8d8105b56bc0ce9eae8b7d9dc0.tar.gz ampache-e855988af2850d8d8105b56bc0ce9eae8b7d9dc0.tar.bz2 ampache-e855988af2850d8d8105b56bc0ce9eae8b7d9dc0.zip |
renamed a few files (missing php extension)
updated most of the tables so that every column is independently customizable by css rules
Diffstat (limited to 'templates/show_flagged.inc.php')
-rw-r--r-- | templates/show_flagged.inc.php | 50 |
1 files changed, 34 insertions, 16 deletions
diff --git a/templates/show_flagged.inc.php b/templates/show_flagged.inc.php index 0860d805..ec8c7cd0 100644 --- a/templates/show_flagged.inc.php +++ b/templates/show_flagged.inc.php @@ -22,27 +22,36 @@ $web_path = Config::get('web_path'); ?> <form id="songs" method="post" enctype="multipart/form-data" action="<?php echo Config::get('web_path'); ?>/admin/flag.php?action=reject_flags"> -<table class="tabledata" cellspacing="0" cellpadding="0"> -<tr class="table-header"> - <th><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th> - <th><?php echo _('Object'); ?></th> - <th><?php echo _('User'); ?></th> - <th><?php echo _('Flag'); ?></th> - <th><?php echo _('Comment'); ?></th> - <th><?php echo _('Status'); ?></th> - <th><?php echo _('Action'); ?></th> +<table class="tabledata" cellpadding="0" cellspacing="0"> +<colgroup> + <col id="col_select" /> + <col id="col_object" /> + <col id="col_username" /> + <col id="col_flag" /> + <col id="col_comment" /> + <col id="col_status" /> + <col id="col_action" /> +</colgroup> +<tr class="th-top"> + <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th> + <th class="cel_object"><?php echo _('Object'); ?></th> + <th class="cel_username"><?php echo _('User'); ?></th> + <th class="cel_flag"><?php echo _('Flag'); ?></th> + <th class="cel_comment"><?php echo _('Comment'); ?></th> + <th class="cel_status"><?php echo _('Status'); ?></th> + <th class="cel_action"><?php echo _('Action'); ?></th> </tr> <?php foreach ($flagged as $data) { $flag = new Flag($data); ?> <tr class="<?php echo flip_class(); ?>"> - <td align="center"> + <td class="cel_select"> <input type="checkbox" name="song[]" value="<?php echo $flag->id; ?>" id="song_<?php echo $flag->id; ?>" /> </td> - <td><a href="<?php echo Config::get('web_path'); ?>/admin/flag.php?action=show_edit_song&song=<?php echo $flag->object_id; ?>"><?php $flag->print_name(); ?></a></td> - <td><?php echo scrub_out($flag->f_user_username); ?></td> - <td><?php $flag->print_flag(); ?></td> - <td><?php echo scrub_out($flag->comment); ?></td> - <td><?php $flag->print_status(); ?></td> - <td align="center"> + <td class="cel_object"><a href="<?php echo Config::get('web_path'); ?>/admin/flag.php?action=show_edit_song&song=<?php echo $flag->object_id; ?>"><?php $flag->print_name(); ?></a></td> + <td class="cel_username"><?php echo scrub_out($flag->f_user_username); ?></td> + <td class="cel_flag"><?php $flag->print_flag(); ?></td> + <td class="cel_comment"><?php echo scrub_out($flag->comment); ?></td> + <td class="cel_status"><?php $flag->print_status(); ?></td> + <td class="cel_action"> <?php if ($flag->approved) { ?> <a href="<?php echo $web_path; ?>/admin/flag.php?action=reject_flag&flag_id=<?php echo $flag->id; ?>"> <?php echo get_user_icon('disable'); ?> @@ -68,6 +77,15 @@ $web_path = Config::get('web_path'); <input class="button" type="submit" value="<?php echo _('Update'); ?>" /> </td> </tr> +<tr class="th-bottom"> + <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th> + <th class="cel_object"><?php echo _('Object'); ?></th> + <th class="cel_username"><?php echo _('User'); ?></th> + <th class="cel_flag"><?php echo _('Flag'); ?></th> + <th class="cel_comment"><?php echo _('Comment'); ?></th> + <th class="cel_status"><?php echo _('Status'); ?></th> + <th class="cel_action"><?php echo _('Action'); ?></th> +</tr> </table> </form> <div class="text-action"> |