Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / blocks / course_list / config_global.html
blob5e1b61406e26d6aadd60f2c80a5fea70fb43c479
1 <table cellpadding="9" cellspacing="0">
2 <tr valign="top">
3 <td align="right">block_course_list_adminview:</td>
4 <td>
5 <input name="block" type="hidden" value="<?php echo intval($_REQUEST['block']); ?>" />
6 <select name="block_course_list_adminview">
7 <option value="all" <?php if(isset($CFG->block_course_list_adminview)){
8 if($CFG->block_course_list_adminview == "all"){ echo "selected=\"selected\"";}
9 }else{
10 echo "selected=\"selected\"";
11 }?>
12 ><?php p(get_string('allcourses', 'block_course_list')) ?></option>
13 <option value="own" <?php if(isset($CFG->block_course_list_adminview)){
14 if($CFG->block_course_list_adminview == "own"){ echo "selected=\"selected\""; }
15 }?>
16 ><?php p(get_string('owncourses', 'block_course_list')) ?></option>
17 </select>
18 </td>
19 <td>
20 <?php print_string("configadminview", "block_course_list") ?>
21 </td>
22 </tr>
23 <tr valign="top">
24 <td align="right">block_course_list_hideallcourseslink:</td>
25 <td>
26 <select name="block_course_list_hideallcourseslink">
27 <option value="1" <?php if(isset($CFG->block_course_list_allcourseslink)){
28 if($CFG->block_course_list_hideallcourseslink){ echo "selected=\"selected\"";}
29 }?>
30 ><?php p(get_string('yes')) ?></option>
31 <option value="0" <?php if(isset($CFG->block_course_list_hideallcourseslink)){
32 if(!$CFG->block_course_list_hideallcourseslink){ echo "selected=\"selected\""; }
33 }else{
34 echo "selected=\"selected\"";
35 }?>
36 ><?php p(get_string('no')) ?></option>
37 </select>
38 </td>
39 <td>
40 <?php print_string("confighideallcourseslink", "block_course_list") ?>
41 </td>
42 </tr>
43 <tr>
44 <td colspan="3" align="center">
45 <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
46 </tr>
47 </table>