MDL-10870 A few more fixes to the file.php page's navigation
[moodle-pu.git] / filter / mediaplugin / filterconfig.html
blob3b3d938734abc0bcbdf65e6453ca7479f13c3d45
1 <?php
2 // check the default settings
3 require_once "defaultsettings.php";
5 // get strings
6 $txt = new Object;
7 $txt->mediapluginmp3 = get_string( 'mediapluginmp3','admin' );
8 $txt->mediapluginswf = get_string( 'mediapluginswf','admin' );
9 $txt->mediapluginswfnote = get_string( 'mediapluginswfnote','admin' );
10 $txt->mediapluginmov = get_string( 'mediapluginmov','admin' );
11 $txt->mediapluginwmv = get_string( 'mediapluginwmv','admin' );
12 $txt->mediapluginmpg = get_string( 'mediapluginmpg','admin' );
13 $txt->mediapluginavi = get_string( 'mediapluginavi','admin' );
14 $txt->mediapluginflv = get_string( 'mediapluginflv','admin' );
15 $txt->mediapluginram = get_string( 'mediapluginram','admin' );
16 $txt->mediapluginrpm = get_string( 'mediapluginrpm','admin' );
17 $txt->mediapluginrm = get_string( 'mediapluginrm','admin' );
18 $txt->yes = get_string( 'yes' );
19 $txt->no = get_string( 'no' );
21 $yesno = array( $txt->no, $txt->yes );
24 <table cellpadding="9" cellspacing="0">
25 <tr valign="top">
26 <td align="right"><?php echo $txt->mediapluginmp3 ?></td>
27 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_mp3',
28 $CFG->filter_mediaplugin_enable_mp3 ); ?></td>
29 <td />
30 </tr>
31 <tr valign="top">
32 <td align="right"><?php echo $txt->mediapluginswf?></td>
33 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_swf',
34 $CFG->filter_mediaplugin_enable_swf ); ?></td>
35 <td><?php echo $txt->mediapluginswfnote ?></td>
36 </tr>
37 <tr valign="top">
38 <td align="right"><?php echo $txt->mediapluginmov ?></td>
39 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_mov',
40 $CFG->filter_mediaplugin_enable_mov ); ?></td>
41 <td />
42 </tr>
43 <tr valign="top">
44 <td align="right"><?php echo $txt->mediapluginwmv ?></td>
45 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_wmv',
46 $CFG->filter_mediaplugin_enable_wmv ); ?></td>
47 <td />
48 </tr>
49 <tr valign="top">
50 <td align="right"><?php echo $txt->mediapluginmpg ?></td>
51 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_mpg',
52 $CFG->filter_mediaplugin_enable_mpg ); ?></td>
53 <td />
54 </tr>
55 <tr valign="top">
56 <td align="right"><?php echo $txt->mediapluginavi ?></td>
57 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_avi',
58 $CFG->filter_mediaplugin_enable_avi ); ?></td>
59 <td />
60 </tr>
61 <tr valign="top">
62 <td align="right"><?php echo $txt->mediapluginflv ?></td>
63 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_flv',
64 $CFG->filter_mediaplugin_enable_flv ); ?></td>
65 <td />
66 </tr>
67 <tr valign="top">
68 <td align="right"><?php echo $txt->mediapluginram ?></td>
69 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_ram',
70 $CFG->filter_mediaplugin_enable_ram ); ?></td>
71 <td />
72 </tr>
73 <tr valign="top">
74 <td align="right"><?php echo $txt->mediapluginrpm ?></td>
75 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_rpm',
76 $CFG->filter_mediaplugin_enable_rpm ); ?></td>
77 </tr>
78 <tr valign="top">
79 <td align="right"><?php echo $txt->mediapluginrm ?></td>
80 <td><?php choose_from_menu( $yesno,'filter_mediaplugin_enable_rm',
81 $CFG->filter_mediaplugin_enable_rm ); ?></td>
82 <td />
83 </tr>
84 </table>