: " />
: " />
:

"; if ($usehtmleditor) { helpbutton("richtext", get_string("helprichtext"), "moodle", true, true); } else { helpbutton("html", get_string("helphtml"), "moodle", true, true); } echo "
"; ?>
summary); ?>
: get_string("frontpagenews"), FRONTPAGECOURSELIST => get_string("frontpagecourselist"), FRONTPAGECATEGORYNAMES => get_string("frontpagecategorynames"), FRONTPAGECATEGORYCOMBO => get_string("frontpagecategorycombo"), ); $values = array(get_string('hide'), get_string('order1', 'admin'), get_string('order2', 'admin'), get_string('order3', 'admin'), get_string('order4', 'admin')); $seq = array_flip(explode(',',$form->frontpage)); foreach ($seq as $k => $s) { $seq[$k]++; } if (!$coursecount and isset($seq[FRONTPAGECOURSELIST])) { unset($seq[FRONTPAGECOURSELIST]); //disable course list option when too many course present } foreach ($options as $key => $option) { $disabled = (!$coursecount and ($key == FRONTPAGECOURSELIST)); echo "'; } ?>
$option
"; choose_from_menu ($values, "frontpage[$key]", isset($seq[$key])?$seq[$key]:0, '', '', 0, false, $disabled); echo '
: frontpageloggedin)); foreach ($seq as $k => $s) { $seq[$k]++; } foreach ($options as $key => $option) { echo "'; } ?>
$option
"; choose_from_menu ($values, "frontpageloggedin[$key]", isset($seq[$key])?$seq[$key]:0, ''); echo '
: numsections, ""); ?>
: "0 $newsitems", "1" => "1 $newsitem", "2" => "2 $newsitems", "3" => "3 $newsitems", "4" => "4 $newsitems", "5" => "5 $newsitems", "6" => "6 $newsitems", "7" => "7 $newsitems", "8" => "8 $newsitems", "9" => "9 $newsitems", "10" => "10 $newsitems"); choose_from_menu ($options, "newsitems", "$form->newsitems", ""); ?>
: " /> ()
: " /> ()
: " /> ()
: " /> ()
" />