mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Now all the blocks global config pages are valid XML. Related to MDL-7861
This commit is contained in:
parent
73be66c7a8
commit
bf63e03ebe
@ -5,13 +5,13 @@
|
||||
<input name="block" type="hidden" value="<?php echo intval($_REQUEST['block']); ?>" />
|
||||
<select name="block_course_list_adminview">
|
||||
<option value="all" <?php if(isset($CFG->block_course_list_adminview)){
|
||||
if($CFG->block_course_list_adminview == "all"){ p("selected");}
|
||||
if($CFG->block_course_list_adminview == "all"){ echo "selected=\"selected\"";}
|
||||
}else{
|
||||
p("selected");
|
||||
echo "selected=\"selected\"";
|
||||
}?>
|
||||
><?php p(get_string('allcourses', 'block_course_list')) ?></option>
|
||||
<option value="own" <?php if(isset($CFG->block_course_list_adminview)){
|
||||
if($CFG->block_course_list_adminview == "own"){ p("selected"); }
|
||||
if($CFG->block_course_list_adminview == "own"){ echo "selected=\"selected\""; }
|
||||
}?>
|
||||
><?php p(get_string('owncourses', 'block_course_list')) ?></option>
|
||||
</select>
|
||||
|
@ -62,14 +62,14 @@
|
||||
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<input type="submit" value="<?php print_string('savechanges') ?>"></td>
|
||||
<input type="submit" value="<?php print_string('savechanges') ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center"><a href=" <?php echo $CFG->wwwroot; ?>/blocks/rss_client/block_rss_client_action.php?id=<?php
|
||||
if (!isset($id)) {
|
||||
$id = '';
|
||||
}
|
||||
echo $id; ?>"><?php print_string('feedsaddedit', 'block_rss_client')?></a></center><br /><br />
|
||||
echo $id; ?>"><?php print_string('feedsaddedit', 'block_rss_client')?></a><br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user