1 <table cellpadding=
"9" cellspacing=
"0">
3 <td align=
"right">block_course_list_adminview:
</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\"";}
10 echo "selected=\"selected\"";
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\""; }
16 ><?php p(get_string('owncourses', 'block_course_list')) ?></option>
20 <?php print_string("configadminview", "block_course_list") ?>
24 <td align=
"right">block_course_list_hideallcourseslink:
</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\"";}
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\""; }
34 echo "selected=\"selected\"";
36 ><?php p(get_string('no')) ?></option>
40 <?php print_string("confighideallcourseslink", "block_course_list") ?>
44 <td colspan=
"3" align=
"center">
45 <input type=
"submit" value=
"<?php print_string("savechanges
") ?>" /></td
>