From: moodler Date: Sat, 13 Jan 2007 05:38:37 +0000 (+0000) Subject: Admin registration page -> XHTML Strict X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c4054f90f3232b30dc2e20414cf4f09a4efb2ec5;p=moodle.git Admin registration page -> XHTML Strict --- diff --git a/admin/register.php b/admin/register.php index 7058e07ad5..6f5c34c8bf 100644 --- a/admin/register.php +++ b/admin/register.php @@ -40,77 +40,73 @@ print_heading($strregistration); print_simple_box($strregistrationinfo, "center", "70%"); - echo "
"; /// Print the form - print_simple_box_start("center", ""); + echo "
\n"; + echo '
'; + echo 'Registration Information'; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; echo "\n"; echo "\n"; echo "\n"; - - echo "wwwroot\">\n"; - echo "siteidentifier\">\n"; + echo "wwwroot\" />\n"; + echo "siteidentifier\" />\n"; echo "\n"; echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "version\">\n"; - echo "release\">\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; + echo ''; + echo ''; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; + echo ''; + echo ''; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; + echo ''; + echo ''; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; + echo '
'; + echo "\n"; - echo "
".get_string("location")."
Moodle URL:$CFG->wwwroot
".get_string("currentversion").":$CFG->release ($CFG->version)
".get_string("fullsitename").":fullname\">
".get_string("country").":"; + + echo "version\" />\n"; + echo "release\" />\n"; + + echo '
'; + echo '
'; + echo '
'.$CFG->wwwroot.'
'; + echo '
'; + + echo '
'; + echo '
'; + echo '
'."$CFG->release ($CFG->version)".'
'; + echo '
'; + + echo '
'; + echo '
'; + echo '
'; + echo ''; + echo '
'; + echo '
'; + + echo '
'; + echo '
'; + echo '
'; choose_from_menu (get_list_of_countries(), "country", $admin->country, get_string("selectacountry")."...", "", ""); - echo "
country\" title=\"".get_string("publicdirectorytitle")."\" target=_blank>".get_string("publicdirectory").":"; + echo '
'; + echo ''; + echo '
'; $options[0] = get_string("publicdirectory0"); $options[1] = get_string("publicdirectory1"); $options[2] = get_string("publicdirectory2"); choose_from_menu ($options, "public", "2", "", "", ""); unset($options); - echo "
".get_string("registrationcontact").":\n"; + echo '
'; + echo '
'; + echo '
'; $options[0] = get_string("registrationcontactno"); $options[1] = get_string("registrationcontactyes"); choose_from_menu ($options, "contact", "1", "", "", ""); unset($options); - echo "
".get_string("statistics").":"; - echo "
(".get_string("notpublic").')'; - echo "
"; + echo ''; + echo ''; + + echo '
'; + echo '
'; + echo '
'; $count = count_records('course')-1; echo get_string("courses").": ".$count; @@ -156,48 +152,39 @@ $count = count_records('resource'); echo get_string("modulenameplural", "resource").": ".$count; echo "\n"; - echo '
'; - - echo "

".get_string("administrator")."
".get_string("administrator").":
".get_string("email").":email\">
".get_string("registrationemail").":\n"; + echo ''; + echo ''; + + echo '
'; + echo '
'; + echo '
'; + echo ""; + echo '
'; + echo '
'; + + echo '
'; + echo '
'; + echo '
'; + echo "email\" />"; + echo '
'; + echo '
'; + + echo '
'; + echo '
'; + echo '
'; $options[0] = get_string("registrationno"); $options[1] = get_string("registrationyes"); choose_from_menu ($options, "mailme", "1", "", "", ""); unset($options); - echo "
 
\n"; echo "\n"; - print_simple_box_end(); - - echo "
\n"; - print_footer(); ?> diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 0228a672a1..5e3d68e364 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -450,6 +450,10 @@ form.mform .required img.req { display:none; } +#admin-register form.mform .fsubmit { + padding:20px; + text-align:center; +} /***