Prettied up RSS pages a bit

This commit is contained in:
moodler
2007-01-25 07:09:24 +00:00
parent 5bf0415584
commit f4e5991261
2 changed files with 5 additions and 10 deletions
+5 -3
View File
@@ -18,6 +18,7 @@ if (empty($currentaction) || $currentaction == 'configblock') {
include('config_instance_tabs.php');
if ($currentaction == 'configblock') {
print_box_start();
?>
<table cellpadding="9" cellspacing="0" class="blockconfigtable">
<tr valign="top">
@@ -163,16 +164,17 @@ if ($currentaction == 'configblock') {
</tr>
</table>
<?php
print_box_end();
} else {
global $act, $url, $rssid, $preferredtitle, $shared;
print '</form>'; // Closes off page form
print '<table cellpadding="9" cellspacing="0" class="blockconfigtable">';
print '<tr valign="top"><td>';
$context = get_context_instance(CONTEXT_BLOCK, $this->instance->id);
print_box_start();
rss_display_feeds($id, $USER->id, '', $context);
rss_print_form($act, $url, $rssid, $preferredtitle, $shared, $id, $context);
print '</td></tr></table>';
print_box_end();
}
?>
-7
View File
@@ -362,13 +362,6 @@ table.flexible .r1 {
background: url('../../pix/t/switch_plus.gif') no-repeat bottom;
}
.blockconfigtable {
background-color:#FFFFFF;
border-left:1px solid;
border-right:1px solid;
border-bottom:1px solid;
border-color:#AAAAAA;
}
/***