Skip to content

Commit

Permalink
MDL-8922 : Fixed a number of xhtml simple issues, but heaps of hard-c…
Browse files Browse the repository at this point in the history
…ore fixes yet to do.
  • Loading branch information
nicolasconnault committed Mar 23, 2007
1 parent 250aa12 commit 13d6383
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
2 changes: 2 additions & 0 deletions blocks/moodleblock.class.php
Expand Up @@ -577,8 +577,10 @@ function instance_config_print() {

if (is_file($CFG->dirroot .'/blocks/'. $this->name() .'/config_instance.html')) {
print_simple_box_start('center', '', '', 5, 'blockconfiginstance');
print_location_comment(__FILE__,__LINE__);
include($CFG->dirroot .'/blocks/'. $this->name() .'/config_instance.html');
print_simple_box_end();
print_location_comment(__FILE__,__LINE__);
} else {
notice(get_string('blockconfigbad'), str_replace('blockaction=', 'dummy=', qualified_me()));
}
Expand Down
6 changes: 3 additions & 3 deletions blocks/rss_client/config_instance_tabs.php
Expand Up @@ -21,7 +21,7 @@
$tabs[] = $row;

/// Print out the tabs and continue!
print '<div align="center">';
print "\n".'<div class="tabs">'."\n";
print_tabs($tabs, $currentaction);
print '</div>';
?>
print '</div>' . print_location_comment(__FILE__, __LINE__, true);
?>
21 changes: 20 additions & 1 deletion theme/standard/styles_layout.css
Expand Up @@ -1183,8 +1183,24 @@ a.skip-block, .skip-block {
margin-top: 0;
}

.blockconfigtable td.label {
text-align: right;
width: 50%;
}

.blockconfigtable td.value {
text-align: left;
width: 50%;
}

.blockconfigtable td.submit {
text-align: center;
}

.blockconfiginstancecontent .tabs {
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
}

.block_messages .content {
Expand All @@ -1211,7 +1227,10 @@ a.skip-block, .skip-block {
margin-top: 5px;
}


#rss_table {
margin-left: auto;
margin-right: auto;
}
/***
*** Blogs
***/
Expand Down

0 comments on commit 13d6383

Please sign in to comment.