mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
spacing tidy up
This commit is contained in:
parent
a4221c1d20
commit
fd9576fb1b
6 changed files with 51 additions and 46 deletions
|
@ -2,21 +2,21 @@
|
|||
/// This file to be included so we can assume config.php has already been included.
|
||||
/// We also assume that $inactive, $activetab and $currentaction have been set
|
||||
|
||||
global $USER;
|
||||
$tabs = $row = array();
|
||||
global $USER;
|
||||
$tabs = $row = array();
|
||||
|
||||
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'configblock', 'id' => $id));
|
||||
$row[] = new tabobject('configblock', $script,
|
||||
get_string('configblock', 'block_rss_client'));
|
||||
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'configblock', 'id' => $id));
|
||||
$row[] = new tabobject('configblock', $script,
|
||||
get_string('configblock', 'block_rss_client'));
|
||||
|
||||
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'managefeeds', 'id' => $id));
|
||||
$row[] = new tabobject('managefeeds', $script,
|
||||
get_string('managefeeds', 'block_rss_client'));
|
||||
$script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey, 'blockaction' => 'config', 'currentaction' => 'managefeeds', 'id' => $id));
|
||||
$row[] = new tabobject('managefeeds', $script,
|
||||
get_string('managefeeds', 'block_rss_client'));
|
||||
|
||||
$tabs[] = $row;
|
||||
$tabs[] = $row;
|
||||
|
||||
/// Print out the tabs and continue!
|
||||
print '<div align="center">';
|
||||
print_tabs($tabs, $currentaction);
|
||||
print '</div>';
|
||||
/// Print out the tabs and continue!
|
||||
print '<div align="center">';
|
||||
print_tabs($tabs, $currentaction);
|
||||
print '</div>';
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue