mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Minor touch-ups to the front page HTML
This commit is contained in:
parent
e48feed988
commit
c6a0f9d5bf
3 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<script language="JavaScript">
|
||||
<!-- //hide
|
||||
|
||||
function popUpProperties(inobj) {
|
||||
|
@ -16,7 +16,7 @@ function fillmessagebox(text) {
|
|||
}
|
||||
|
||||
function openpopup(url,name,height,width) {
|
||||
fullurl = "<?=$CFG->wwwroot ?>" + url;
|
||||
fullurl = "<?php echo $CFG->wwwroot ?>" + url;
|
||||
options = "menubar=0,location=0,scrollbars,resizable,width="+width+",height="+height;
|
||||
windowobj = window.open(fullurl,name, options);
|
||||
windowobj.focus();
|
||||
|
@ -35,7 +35,7 @@ function checkall() {
|
|||
}
|
||||
|
||||
function inserttext(text) {
|
||||
<?PHP
|
||||
<?php
|
||||
if (!empty($SESSION->inserttextform)) {
|
||||
$insertfield = "opener.document.forms['$SESSION->inserttextform'].$SESSION->inserttextfield";
|
||||
} else {
|
||||
|
@ -52,8 +52,8 @@ function inserttext(text) {
|
|||
?>
|
||||
}
|
||||
|
||||
<?PHP if ($focus) { echo "function setfocus() { document.$focus.focus() }\n"; } ?>
|
||||
<?php if ($focus) { echo "function setfocus() { document.$focus.focus() }\n"; } ?>
|
||||
|
||||
// done hiding -->
|
||||
</SCRIPT>
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue