~ubuntu-branches/ubuntu/hoary/moodle/hoary

« back to all changes in this revision

Viewing changes to blocks/course_list/config.html

  • Committer: Bazaar Package Importer
  • Author(s): Isaac Clerencia
  • Date: 2004-12-29 00:49:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041229004952-gliyqzpj2w3e7clx
Tags: 1.4.3-1
* Urgency high as upstream release fixes several security bugs
* New upstream release
* Write database creation errors and warn the user about it, 
closes: #285842, #285842

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<form method="post" action="block.php">
 
2
<?php echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\">"; ?>
 
3
 
 
4
<table cellpadding="9" cellspacing="0">
 
5
<tr valign="top">
 
6
    <td align="right"><p>block_course_list_adminview:</td>
 
7
    <td>
 
8
    <input name="block" type="hidden" value="<?php echo intval($_REQUEST['block']); ?>" />
 
9
    <select name="block_course_list_adminview">
 
10
     <option value="all" <?php if(isset($CFG->block_course_list_adminview)){ 
 
11
     if($CFG->block_course_list_adminview == "all"){ p("selected");}
 
12
     }else{
 
13
        p("selected");
 
14
     }?>     
 
15
     ><?php p(get_string('allcourses', 'block_course_list')) ?></option>
 
16
     <option value="own" <?php if(isset($CFG->block_course_list_adminview)){ 
 
17
     if($CFG->block_course_list_adminview == "own"){ p("selected"); }
 
18
     }?>
 
19
     ><?php p(get_string('owncourses', 'block_course_list')) ?></option>
 
20
    </select>
 
21
    </td>
 
22
    <td>
 
23
    <?php print_string("configadminview", "block_course_list") ?>
 
24
    </td>
 
25
</tr>
 
26
<tr>
 
27
    <td colspan="3" align="center">
 
28
    <input type="submit" value="<?php print_string("savechanges") ?>"></td>
 
29
</tr>
 
30
</table>
 
31
 
 
32
</form>