1 | <?php |
---|
2 | /** |
---|
3 | * Configure MythTV playback groups |
---|
4 | * |
---|
5 | * @url $URL: http://svn.mythtv.org/svn/branches/release-0-23-fixes/mythplugins/mythweb/modules/tv/tmpl/default/set_playgroup.php $ |
---|
6 | * @date $Date: 2009-09-11 23:18:21 -0500 (Fri, 11 Sep 2009) $ |
---|
7 | * @version $Revision: 21792 $ |
---|
8 | * @author $Author: kormoc $ |
---|
9 | * @license GPL |
---|
10 | * |
---|
11 | * @package MythWeb |
---|
12 | * @subpackage Settings |
---|
13 | * |
---|
14 | /**/ |
---|
15 | ?> |
---|
16 | |
---|
17 | <form id="chg_grp_form" class="form" method="post" action="<?php echo form_action ?>"> |
---|
18 | |
---|
19 | <table border="0" cellspacing="0" cellpadding="0"> |
---|
20 | <tr class="x-sep"> |
---|
21 | <th><?php echo t('Edit existing group') ?>:</th> |
---|
22 | <td><?php playgroup_select($group['name'], 'playgroup', NULL, NULL, '$(\'chg_grp_form\').submit()') ?> |
---|
23 | <noscript><input type="submit" class="submit" value="<?php echo t('Edit') ?>"></noscript></td> |
---|
24 | <td><input type="submit" class="submit" name="new_group" value="<?php echo t('New Group') ?>"></td> |
---|
25 | </tr> |
---|
26 | </table> |
---|
27 | |
---|
28 | </form> |
---|
29 | |
---|
30 | <form id="save_grp_form" class="form" method="post" action="<?php echo form_action ?>"> |
---|
31 | <input type="hidden" name="old_name" value="<?php echo html_entities($group['name']) ?>" /> |
---|
32 | |
---|
33 | <table border="0" cellspacing="0" cellpadding="0"> |
---|
34 | <tr> |
---|
35 | <th><?php echo t('Name') ?>:</th> |
---|
36 | <td colspan="2"><?php |
---|
37 | if ($group['name'] == 'Default') |
---|
38 | echo '<b>Default</b>'; |
---|
39 | else |
---|
40 | echo '<input type="text" name="name" value="', html_entities($group['name']), '" maxlength="32" />'; |
---|
41 | ?></td> |
---|
42 | </tr><tr> |
---|
43 | <th><?php echo t('Title Match') ?>:</th> |
---|
44 | <td colspan="2"><input type="text" name="titlematch" value="<?php echo html_entities($group['titlematch']) ?>" /></td> |
---|
45 | </tr><tr> |
---|
46 | <th><?php echo t('Skip Ahead') ?>:</th> |
---|
47 | <td colspan="2"><input type="text" name="skipahead" class="quantity" value="<?php echo html_entities($group['skipahead']) ?>" /></td> |
---|
48 | </tr><tr> |
---|
49 | <th><?php echo t('Skip Back') ?>:</th> |
---|
50 | <td colspan="2"><input type="text" name="skipback" class="quantity" value="<?php echo html_entities($group['skipback']) ?>" /></td> |
---|
51 | </tr><tr> |
---|
52 | <th><?php echo t('Time Stretch') ?>:</th> |
---|
53 | <td colspan="2"><input type="text" name="timestretch" class="quantity" value="<?php echo html_entities($group['timestretch']) ?>" /></td> |
---|
54 | </tr><tr class="x-sep"> |
---|
55 | <th><?php echo t('Jump') ?>:</th> |
---|
56 | <td colspan="2"><input type="text" name="jump" class="quantity" value="<?php echo html_entities($group['jump']) ?>" /></td> |
---|
57 | </tr><tr align="center"> |
---|
58 | <td><input type="reset" class="submit" value="<?php echo t('Reset') ?>"></td> |
---|
59 | <td><input type="submit" class="submit" name="save" value="<?php echo t('Save') ?>"></td> |
---|
60 | <td><input type="submit" class="submit" name="delete" value="<?php echo t('Delete') ?>"></td> |
---|
61 | </tr> |
---|
62 | </table> |
---|
63 | |
---|
64 | </form> |
---|
65 | |
---|