mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Fixed some PHP short_tags
This commit is contained in:
parent
c2251033bb
commit
c559bcf6f0
@ -93,14 +93,14 @@
|
||||
|
||||
</table>
|
||||
<center>
|
||||
<input type="hidden" name=course value="<? p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<? p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<? p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<? p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<? p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<? p($form->mode) ?>">
|
||||
<input type="submit" value="<? print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<? print_string("cancel") ?>">
|
||||
<input type="hidden" name=course value="<?php p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<?php p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<?php p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<?php p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<?php p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<?php p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<?php p($form->mode) ?>">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<?php print_string("cancel") ?>">
|
||||
</center>
|
||||
</form>
|
||||
|
@ -171,14 +171,14 @@
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<input type="hidden" name=course value="<? p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<? p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<? p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<? p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<? p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<? p($form->mode) ?>">
|
||||
<input type="submit" value="<? print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<? print_string("cancel") ?>">
|
||||
<input type="hidden" name=course value="<?php p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<?php p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<?php p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<?php p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<?php p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<?php p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<?php p($form->mode) ?>">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<?php print_string("cancel") ?>">
|
||||
</center>
|
||||
</form>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="edit.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="edit.php">
|
||||
<table><tr>
|
||||
<td align=right>
|
||||
<font size="1">
|
||||
@ -18,7 +18,7 @@
|
||||
</td>
|
||||
</tr></table>
|
||||
|
||||
<? print_textarea($usehtmleditor, 20, 60, 630, 400, "text", $entry->text); ?>
|
||||
<?php print_textarea($usehtmleditor, 20, 60, 630, 400, "text", $entry->text); ?>
|
||||
|
||||
<p align=center>
|
||||
<?PHP
|
||||
@ -32,9 +32,9 @@
|
||||
</p>
|
||||
|
||||
<p align=center>
|
||||
<input type="hidden" name=id value="<?=$cm->id ?>">
|
||||
<input type="submit" value="<? print_string("savechanges") ?>">
|
||||
<input type="reset" value="<? print_string("revert") ?>">
|
||||
<input type="hidden" name=id value="<?php echo $cm->id ?>">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>">
|
||||
<input type="reset" value="<?php print_string("revert") ?>">
|
||||
</P>
|
||||
</form>
|
||||
|
||||
|
@ -1,23 +1,23 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">
|
||||
<CENTER>
|
||||
<TABLE cellpadding=5>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
formerr($err["questiontext"]);
|
||||
echo "<BR \>";
|
||||
}
|
||||
@ -31,9 +31,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (empty($images)) {
|
||||
<?php if (empty($images)) {
|
||||
print_string("noimagesyet");
|
||||
} else {
|
||||
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");
|
||||
@ -43,14 +43,14 @@
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<INPUT type="hidden" name=defaultgrade value="0">
|
||||
<INPUT type="submit" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="submit" value="<?php print_string("savechanges") ?>">
|
||||
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("theform", "questiontext", "no");
|
||||
}
|
||||
|
@ -165,10 +165,10 @@
|
||||
?>
|
||||
<CENTER>
|
||||
<P> </P>
|
||||
<FORM NAME=theform METHOD=post ACTION=<?=$modform->destination ?>>
|
||||
<INPUT TYPE="hidden" NAME=course VALUE="<? p($modform->course) ?>">
|
||||
<INPUT TYPE="submit" VALUE="<? print_string("savequiz", "quiz") ?>">
|
||||
<INPUT type="submit" name=cancel value="<? print_string("cancel") ?>">
|
||||
<FORM NAME=theform METHOD=post ACTION=<?php echo $modform->destination ?>>
|
||||
<INPUT TYPE="hidden" NAME=course VALUE="<?php p($modform->course) ?>">
|
||||
<INPUT TYPE="submit" VALUE="<?php print_string("savequiz", "quiz") ?>">
|
||||
<INPUT type="submit" name=cancel value="<?php print_string("cancel") ?>">
|
||||
</FORM>
|
||||
</CENTER>
|
||||
<?
|
||||
|
@ -119,7 +119,7 @@
|
||||
|
||||
?>
|
||||
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="editmultianswer.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="editmultianswer.php">
|
||||
|
||||
<CENTER>
|
||||
|
||||
@ -127,11 +127,11 @@
|
||||
|
||||
<TR valign=top>
|
||||
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
|
||||
<TD>
|
||||
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
|
||||
</TD>
|
||||
|
||||
@ -139,13 +139,13 @@
|
||||
|
||||
<TR valign=top>
|
||||
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
|
||||
<TD>
|
||||
|
||||
<INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">
|
||||
<INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">
|
||||
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
|
||||
</TD>
|
||||
|
||||
@ -153,11 +153,11 @@
|
||||
|
||||
<TR valign=top>
|
||||
|
||||
<TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>
|
||||
|
||||
<TD>
|
||||
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
|
||||
formerr($err["questiontext"]);
|
||||
|
||||
@ -185,11 +185,11 @@
|
||||
|
||||
<TR valign=top>
|
||||
|
||||
<TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
|
||||
<TD>
|
||||
|
||||
<? if (empty($images)) {
|
||||
<?php if (empty($images)) {
|
||||
|
||||
print_string("noimagesyet");
|
||||
|
||||
@ -209,13 +209,13 @@
|
||||
|
||||
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
|
||||
<INPUT type="hidden" name=defaultgrade value="<? p($question->defaultgrade) ?>">
|
||||
<INPUT type="hidden" name=defaultgrade value="<?php p($question->defaultgrade) ?>">
|
||||
|
||||
<INPUT type="submit" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="submit" value="<?php print_string("savechanges") ?>">
|
||||
|
||||
|
||||
|
||||
@ -223,7 +223,7 @@
|
||||
|
||||
</FORM>
|
||||
|
||||
<?
|
||||
<?php
|
||||
|
||||
if ($usehtmleditor) {
|
||||
|
||||
|
@ -1,23 +1,23 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">
|
||||
<CENTER>
|
||||
<TABLE cellpadding=5>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
formerr($err["questiontext"]);
|
||||
echo "<BR \>";
|
||||
}
|
||||
@ -31,9 +31,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (empty($images)) {
|
||||
<?php if (empty($images)) {
|
||||
print_string("noimagesyet");
|
||||
} else {
|
||||
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");
|
||||
@ -43,8 +43,8 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choices", "quiz") ?></B>:</P></TD>
|
||||
<TD><P><? print_string("filloutthreequestions", "quiz") ?></P>
|
||||
<TD align=right><P><B><?php print_string("choices", "quiz") ?></B>:</P></TD>
|
||||
<TD><P><?php print_string("filloutthreequestions", "quiz") ?></P>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -53,12 +53,12 @@
|
||||
?>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? echo get_string("question", "quiz")." $i"; ?> :</B></P></TD>
|
||||
<TD align=right><P><B><?php echo get_string("question", "quiz")." $i"; ?> :</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="subquestions[]" rows=5 cols=50><? p($subquestions[$i-1]) ?></textarea>
|
||||
<textarea name="subquestions[]" rows=5 cols=50><?php p($subquestions[$i-1]) ?></textarea>
|
||||
<br \>
|
||||
<? echo get_string("matchanswer", "quiz")." $i"; ?>
|
||||
<INPUT type="text" name="subanswers[]" size=50 value="<? p($subanswers[$i-1]) ?>">
|
||||
<?php echo get_string("matchanswer", "quiz")." $i"; ?>
|
||||
<INPUT type="text" name="subanswers[]" size=50 value="<?php p($subanswers[$i-1]) ?>">
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -68,13 +68,13 @@
|
||||
|
||||
</TABLE>
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<?php print_string("savechanges") ?>">
|
||||
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("theform", "questiontext", "no");
|
||||
}
|
||||
|
@ -1,23 +1,23 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">
|
||||
<CENTER>
|
||||
<TABLE cellpadding=5>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
formerr($err["questiontext"]);
|
||||
echo "<BR \>";
|
||||
}
|
||||
@ -31,9 +31,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (empty($images)) {
|
||||
<?php if (empty($images)) {
|
||||
print_string("noimagesyet");
|
||||
} else {
|
||||
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");
|
||||
@ -42,9 +42,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("answerhowmany", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("answerhowmany", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<?
|
||||
<?php
|
||||
$menu[0] = get_string("answersingleno", "quiz");
|
||||
$menu[1] = get_string("answersingleyes", "quiz");
|
||||
choose_from_menu($menu, "single", "$options->single", "");
|
||||
@ -54,26 +54,26 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choices", "quiz") ?></B>:</P></TD>
|
||||
<TD><P><? print_string("fillouttwochoices", "quiz") ?></P>
|
||||
<TD align=right><P><B><?php print_string("choices", "quiz") ?></B>:</P></TD>
|
||||
<TD><P><?php print_string("fillouttwochoices", "quiz") ?></P>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choice", "quiz") ?> 1:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("choice", "quiz") ?> 1:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[0]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[0]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[0]->fraction, ""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[0]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[0]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -82,19 +82,19 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choice", "quiz") ?> 2:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("choice", "quiz") ?> 2:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[1]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[1]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[1]->fraction, ""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[1]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[1]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -103,19 +103,19 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choice", "quiz") ?> 3:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("choice", "quiz") ?> 3:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[2]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[2]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[2]->fraction, ""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[2]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[2]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -124,19 +124,19 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choice", "quiz") ?> 4:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("choice", "quiz") ?> 4:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[3]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[3]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[3]->fraction, ""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[3]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[3]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -145,19 +145,19 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choice", "quiz") ?> 5:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("choice", "quiz") ?> 5:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[4]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[4]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[4]->fraction, ""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[4]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[4]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -166,30 +166,30 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("choice", "quiz") ?> 6:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("choice", "quiz") ?> 6:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[5]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[5]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[5]->fraction, ""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[5]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[5]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<?php print_string("savechanges") ?>">
|
||||
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("theform", "questiontext", "no");
|
||||
}
|
||||
|
@ -1,23 +1,23 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">
|
||||
<CENTER>
|
||||
<TABLE cellpadding=5>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="name" size=50 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<INPUT type="text" name="name" size=50 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
formerr($err["questiontext"]);
|
||||
echo "<BR \>";
|
||||
}
|
||||
@ -31,9 +31,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (empty($images)) {
|
||||
<?php if (empty($images)) {
|
||||
print_string("noimagesyet");
|
||||
} else {
|
||||
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");
|
||||
@ -43,7 +43,7 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("correctanswer", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("correctanswer", "quiz") ?>:</B></P></TD>
|
||||
<?
|
||||
// Even thou the rest of the module can handle up to six numerical answers,
|
||||
// this form will limit the number of numerical answers to one only.
|
||||
@ -55,13 +55,13 @@
|
||||
}
|
||||
?>
|
||||
<TD>
|
||||
<INPUT align="LEFT" type="text" id="correct0" name="answer[]" size="20" value="<? p($answers[0]->answer) ?>"/>
|
||||
<INPUT align="LEFT" type="text" id="correct0" name="answer[]" size="20" value="<?php p($answers[0]->answer) ?>"/>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("acceptederror", "quiz"); ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("acceptederror", "quiz"); ?>:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT align="LEFT" type="text" id="acceptederror0" name="acceptederror[]" size="15" value="<? p($acceptederror) ?>" />±
|
||||
<INPUT align="LEFT" type="text" id="acceptederror0" name="acceptederror[]" size="15" value="<?php p($acceptederror) ?>" />±
|
||||
<!-- Values max and min will be determined when the form is submitted -->
|
||||
<INPUT type="HIDDEN" id="min0" name="min[]" value=""/>
|
||||
<INPUT type="HIDDEN" id="max0" name="max[]" value=""/>
|
||||
@ -70,16 +70,16 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[0]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[0]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="submit" onClick="return determineMinAndMax();" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<INPUT type="submit" onClick="return determineMinAndMax();" value="<?php print_string("savechanges") ?>">
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<SCRIPT language="JAVASCRIPT">
|
||||
@ -88,7 +88,7 @@ function determineMinAndMax() {
|
||||
// based on the input for answer and acceptederror.
|
||||
with(document.theform) {
|
||||
if (correct0.value=='') {
|
||||
alert('<? print_string("missingcorrectanswer","quiz") ?>');
|
||||
alert('<?php print_string("missingcorrectanswer","quiz") ?>');
|
||||
return false;
|
||||
} else if (acceptederror0.value=='') {
|
||||
var correct= parseFloat(correct0.value);
|
||||
@ -98,7 +98,7 @@ function determineMinAndMax() {
|
||||
}
|
||||
return true;
|
||||
} else if (isNaN(acceptederror0.value) || isNaN(correct0.value)) {
|
||||
alert('<? print_string("answerswithacceptederrormarginmustbenumeric", "quiz") ?>');
|
||||
alert('<?php print_string("answerswithacceptederrormarginmustbenumeric", "quiz") ?>');
|
||||
return false;
|
||||
} else {
|
||||
var correct= parseFloat(correct0.value);
|
||||
@ -110,7 +110,7 @@ function determineMinAndMax() {
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("theform", "questiontext", "no");
|
||||
}
|
||||
|
@ -3,28 +3,28 @@
|
||||
|
||||
<table cellpadding=5>
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<td>
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<td>
|
||||
<? if (empty($question->name)) {
|
||||
<?php if (empty($question->name)) {
|
||||
$question->name = get_string("random", "quiz");
|
||||
} ?>
|
||||
<input type="text" name="name" size=40 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<input type="text" name="name" size=40 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name=questiontext value="---">
|
||||
|
||||
<input type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<input type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<input type="submit" value="<? print_string("savechanges") ?>">
|
||||
<input type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<input type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>">
|
||||
</form>
|
||||
</center>
|
||||
|
||||
|
@ -1,29 +1,29 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">
|
||||
<CENTER>
|
||||
<TABLE cellpadding=5>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<?PHP echo $categories[$question->category]; ?>
|
||||
<input type="hidden" name="category" value="<?PHP echo "$question->category"; ?>">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<?PHP
|
||||
if (empty($question->name)) {
|
||||
$question->name = get_string("randomsamatch", "quiz");
|
||||
}
|
||||
?>
|
||||
<INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("introduction", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("introduction", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
formerr($err["questiontext"]);
|
||||
echo "<BR \>";
|
||||
}
|
||||
@ -40,9 +40,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("randomsamatchnumber", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("randomsamatchnumber", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<?
|
||||
<?php
|
||||
if ($numberavailable < 2) {
|
||||
echo "ERROR";
|
||||
$maxrandom=2;
|
||||
@ -62,13 +62,13 @@
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<?php print_string("savechanges") ?>">
|
||||
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("theform", "questiontext", "no");
|
||||
}
|
||||
|
@ -1,23 +1,23 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">
|
||||
<CENTER>
|
||||
<TABLE cellpadding=5>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="name" size=50 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<INPUT type="text" name="name" size=50 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
formerr($err["questiontext"]);
|
||||
echo "<BR \>";
|
||||
}
|
||||
@ -31,9 +31,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (empty($images)) {
|
||||
<?php if (empty($images)) {
|
||||
print_string("noimagesyet");
|
||||
} else {
|
||||
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");
|
||||
@ -42,9 +42,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("casesensitive", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("casesensitive", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<?
|
||||
<?php
|
||||
unset($menu);
|
||||
$menu[0] = get_string("caseno", "quiz");
|
||||
$menu[1] = get_string("caseyes", "quiz");
|
||||
@ -53,26 +53,26 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("correctanswers", "quiz") ?></B>:</P></TD>
|
||||
<TD align=right><P><B><?php print_string("correctanswers", "quiz") ?></B>:</P></TD>
|
||||
<TD>
|
||||
<P><? print_string("filloutoneanswer", "quiz") ?></P>
|
||||
<P><?php print_string("filloutoneanswer", "quiz") ?></P>
|
||||
</TD>
|
||||
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("answer", "quiz") ?> 1:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("answer", "quiz") ?> 1:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 value="<? p($answers[0]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 value="<?php p($answers[0]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptions, "fraction[]", $answers[0]->fraction,""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[0]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[0]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -81,19 +81,19 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("answer", "quiz") ?> 2:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("answer", "quiz") ?> 2:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 value="<? p($answers[1]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 value="<?php p($answers[1]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptions, "fraction[]", $answers[1]->fraction,""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[1]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[1]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -102,19 +102,19 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("answer", "quiz") ?> 3:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("answer", "quiz") ?> 3:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 value="<? p($answers[2]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 value="<?php p($answers[2]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptions, "fraction[]", $answers[2]->fraction,""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[2]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[2]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -123,19 +123,19 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("answer", "quiz") ?> 4:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("answer", "quiz") ?> 4:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 value="<? p($answers[3]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 value="<?php p($answers[3]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptions, "fraction[]", $answers[3]->fraction,""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[3]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[3]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
@ -144,31 +144,31 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("answer", "quiz") ?> 5:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("answer", "quiz") ?> 5:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="answer[]" size=50 value="<? p($answers[4]->answer) ?>">
|
||||
<? print_string("grade");
|
||||
<INPUT type="text" name="answer[]" size=50 value="<?php p($answers[4]->answer) ?>">
|
||||
<?php print_string("grade");
|
||||
echo ": ";
|
||||
choose_from_menu($gradeoptions, "fraction[]", $answers[4]->fraction,""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[4]->feedback) ?></textarea>
|
||||
<textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[4]->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
</TABLE>
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<?php print_string("savechanges") ?>">
|
||||
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("theform", "questiontext", "no");
|
||||
}
|
||||
|
@ -1,23 +1,23 @@
|
||||
<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">
|
||||
<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">
|
||||
<CENTER>
|
||||
<TABLE cellpadding=5>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
<?php choose_from_menu($categories, "category", "$question->category", ""); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<INPUT type="text" name="name" size=50 value="<? p($question->name) ?>">
|
||||
<? if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
<INPUT type="text" name="name" size=50 value="<?php p($question->name) ?>">
|
||||
<?php if (isset($err["name"])) formerr($err["name"]); ?>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (isset($err["questiontext"])) {
|
||||
<?php if (isset($err["questiontext"])) {
|
||||
formerr($err["questiontext"]);
|
||||
echo "<BR \>";
|
||||
}
|
||||
@ -31,9 +31,9 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? if (empty($images)) {
|
||||
<?php if (empty($images)) {
|
||||
print_string("noimagesyet");
|
||||
} else {
|
||||
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");
|
||||
@ -43,35 +43,35 @@
|
||||
</TR>
|
||||
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("correctanswer", "quiz") ?>:</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("correctanswer", "quiz") ?>:</B></P></TD>
|
||||
<TD>
|
||||
<? $menu[0] = get_string("false", "quiz");
|
||||
<?php $menu[0] = get_string("false", "quiz");
|
||||
$menu[1] = get_string("true", "quiz");
|
||||
choose_from_menu($menu, "answer", "$question->answer", ""); ?>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?> (<? print_string("true", "quiz") ?>):</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?> (<?php print_string("true", "quiz") ?>):</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedbacktrue" rows=2 cols=50 wrap="virtual"><? p($true->feedback) ?></textarea>
|
||||
<textarea name="feedbacktrue" rows=2 cols=50 wrap="virtual"><?php p($true->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR valign=top>
|
||||
<TD align=right><P><B><? print_string("feedback", "quiz") ?> (<? print_string("false", "quiz") ?>):</B></P></TD>
|
||||
<TD align=right><P><B><?php print_string("feedback", "quiz") ?> (<?php print_string("false", "quiz") ?>):</B></P></TD>
|
||||
<TD>
|
||||
<textarea name="feedbackfalse" rows=2 cols=50 wrap="virtual"><? p($false->feedback) ?></textarea>
|
||||
<textarea name="feedbackfalse" rows=2 cols=50 wrap="virtual"><?php p($false->feedback) ?></textarea>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<INPUT type="hidden" name=id value="<? p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<? print_string("savechanges") ?>">
|
||||
<INPUT type="hidden" name=id value="<?php p($question->id) ?>">
|
||||
<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">
|
||||
<INPUT type="submit" value="<?php print_string("savechanges") ?>">
|
||||
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("theform", "questiontext", "no");
|
||||
}
|
||||
|
@ -54,18 +54,18 @@
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b><?=$strtypename?>:</b></p>
|
||||
<p><b><?php echo $strtypename?>:</b></p>
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="reference" rows=3 cols=50 wrap="virtual"><? p($form->reference) ?></textarea>
|
||||
<textarea name="reference" rows=3 cols=50 wrap="virtual"><?php p($form->reference) ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b>(<?=$strexample?>)</b></p>
|
||||
<p><b>(<?php echo $strexample?>)</b></p>
|
||||
</td>
|
||||
<td>
|
||||
<p><?=$strexamplereference?></p>
|
||||
<p><?php echo $strexamplereference?></p>
|
||||
</td>
|
||||
</TR>
|
||||
|
||||
@ -77,10 +77,10 @@
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b><?=$strtypename?>:</b></p>
|
||||
<p><b><?php echo $strtypename?>:</b></p>
|
||||
</td>
|
||||
<td>
|
||||
<input name="reference" size="100" value="<? p($form->reference) ?>">
|
||||
<input name="reference" size="100" value="<?php p($form->reference) ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@ -212,10 +212,10 @@
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b><?=$strtypename?>:</b></p>
|
||||
<p><b><?php echo $strtypename?>:</b></p>
|
||||
</td>
|
||||
<td>
|
||||
<input name="reference" size="100" value="<? p($form->reference) ?>">
|
||||
<input name="reference" size="100" value="<?php p($form->reference) ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@ -236,7 +236,7 @@
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b><?=$strfilename?>:</b></p>
|
||||
<p><b><?php echo $strfilename?>:</b></p>
|
||||
</td>
|
||||
<td>
|
||||
<?
|
||||
@ -251,10 +251,10 @@
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b><?=$strnote?>:</b></p>
|
||||
<p><b><?php echo $strnote?>:</b></p>
|
||||
</td>
|
||||
<td>
|
||||
<p><?=$strnotefile?>
|
||||
<p><?php echo $strnotefile?>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -267,15 +267,15 @@
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b><?=$strfulltext?>:</b></p><br />
|
||||
<p><b><?php echo $strfulltext?>:</b></p><br />
|
||||
<font size="1">
|
||||
<? helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?><br />
|
||||
<? helpbutton("text", get_string("helptext"), "moodle", true, true) ?> <br />
|
||||
<? emoticonhelpbutton("theform", "alltext") ?> <br />
|
||||
<?php helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?><br />
|
||||
<?php helpbutton("text", get_string("helptext"), "moodle", true, true) ?> <br />
|
||||
<?php emoticonhelpbutton("theform", "alltext") ?> <br />
|
||||
</font>
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="alltext" rows=20 cols=50 wrap="virtual"><? p($form->alltext) ?></textarea>
|
||||
<textarea name="alltext" rows=20 cols=50 wrap="virtual"><?php p($form->alltext) ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
@ -286,14 +286,14 @@
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap="true">
|
||||
<p><b><?=$strfulltext?>:</b></p><br \>
|
||||
<p><b><?php echo $strfulltext?>:</b></p><br \>
|
||||
<font size="1">
|
||||
<? helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?><br />
|
||||
<? helpbutton("wiki", get_string("helpwiki"), "moodle", true, true) ?> <br />
|
||||
<?php helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?><br />
|
||||
<?php helpbutton("wiki", get_string("helpwiki"), "moodle", true, true) ?> <br />
|
||||
</font>
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="alltext" rows="20" cols="50" wrap="virtual"><? p($form->alltext) ?></textarea>
|
||||
<textarea name="alltext" rows="20" cols="50" wrap="virtual"><?php p($form->alltext) ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
@ -304,10 +304,10 @@
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right" nowrap>
|
||||
<p><b><?=$strhtmlfragment?>:</b></p><br />
|
||||
<p><b><?php echo $strhtmlfragment?>:</b></p><br />
|
||||
<font size="1">
|
||||
<? helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?><br />
|
||||
<? if ($usehtmleditor) {
|
||||
<?php helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?><br />
|
||||
<?php if ($usehtmleditor) {
|
||||
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
|
||||
} else {
|
||||
helpbutton("html", get_string("helphtml"), "moodle", true, true);
|
||||
@ -315,7 +315,7 @@
|
||||
</font>
|
||||
</td>
|
||||
<td>
|
||||
<? print_textarea($usehtmleditor, 20, 50, 680, 400, "alltext", $form->alltext); ?>
|
||||
<?php print_textarea($usehtmleditor, 20, 50, 680, 400, "alltext", $form->alltext); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
@ -328,20 +328,20 @@
|
||||
|
||||
?>
|
||||
</table>
|
||||
<input type="hidden" name=summary value="<? p($form->summary) ?>">
|
||||
<input type="hidden" name=type value="<? p($form->type) ?>">
|
||||
<input type="hidden" name=name value="<? p($form->name) ?>">
|
||||
<input type="hidden" name=summary value="<?php p($form->summary) ?>">
|
||||
<input type="hidden" name=type value="<?php p($form->type) ?>">
|
||||
<input type="hidden" name=name value="<?php p($form->name) ?>">
|
||||
|
||||
<input type="hidden" name=course value="<? p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<? p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<? p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<? p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<? p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<? p($form->mode) ?>">
|
||||
<input type="hidden" name=course value="<?php p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<?php p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<?php p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<?php p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<?php p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<?php p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<?php p($form->mode) ?>">
|
||||
<center>
|
||||
<input type="submit" value="<? print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<? print_string("cancel") ?>">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<?php print_string("cancel") ?>">
|
||||
</center>
|
||||
</form>
|
||||
<?
|
||||
|
@ -13,7 +13,7 @@
|
||||
<form name="form" method="post" action="../mod/survey/details.php">
|
||||
<table cellpadding=5>
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("surveyname", "survey") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("surveyname", "survey") ?>:</B></P></TD>
|
||||
<td>
|
||||
<input type="text" name="name" size=30 value="<?php p($form->name) ?>">
|
||||
</td>
|
||||
|
@ -144,7 +144,7 @@ function checkform() {
|
||||
|
||||
<noscript>
|
||||
<!-- Without Javascript, no checking is done -->
|
||||
<input type="submit" value="<? get_string("clicktocontinue", "survey") ?>">
|
||||
<input type="submit" value="<?php get_string("clicktocontinue", "survey") ?>">
|
||||
</noscript>
|
||||
|
||||
</center>
|
||||
|
@ -460,8 +460,8 @@
|
||||
// close table and form
|
||||
?>
|
||||
</TABLE>
|
||||
<input type="submit" value="<? print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<? print_string("cancel") ?>">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<?php print_string("cancel") ?>">
|
||||
</CENTER>
|
||||
</FORM>
|
||||
<?PHP
|
||||
|
@ -52,15 +52,15 @@
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="mod.php">
|
||||
<table cellpadding=5>
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("title", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("title", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<input type="text" name="name" size=60 value="<? p($form->name) ?>">
|
||||
<input type="text" name="name" size=60 value="<?php p($form->name) ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("description", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("description", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?
|
||||
<?php
|
||||
print_textarea($usehtmleditor, 20, 60, 595, 400, "description", $form->description);
|
||||
|
||||
if ($usehtmleditor) {
|
||||
@ -82,7 +82,7 @@
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("maximumgrade") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("maximumgrade") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?
|
||||
for ($i=100; $i>=0; $i--) {
|
||||
@ -94,7 +94,7 @@
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("gradingstrategy", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("gradingstrategy", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?PHP
|
||||
require("$CFG->dirroot/mod/workshop/lib.php");
|
||||
@ -108,7 +108,7 @@
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("numberofassessmentelements", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("numberofassessmentelements", "workshop") ?>:</B></P></TD>
|
||||
<td valign="middle">
|
||||
<?
|
||||
for ($i=20; $i>=0; $i--) {
|
||||
@ -121,7 +121,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align=right><P><B><? print_string("allowresubmit", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("allowresubmit", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?PHP
|
||||
$options[0] = get_string("no"); $options[1] = get_string("yes");
|
||||
@ -132,7 +132,7 @@
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("numberofassessmentsofteachersexamples", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("numberofassessmentsofteachersexamples", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?PHP
|
||||
for ($i=20; $i>=0; $i--) {
|
||||
@ -145,7 +145,7 @@
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("numberofassessmentsofstudentsubmissions", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("numberofassessmentsofstudentsubmissions", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?PHP
|
||||
for ($i=20; $i>=0; $i--) {
|
||||
@ -158,7 +158,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align=right><P><B><? print_string("selfassessment", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("selfassessment", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?PHP
|
||||
$options[0] = get_string("no"); $options[1] = get_string("yes");
|
||||
@ -169,7 +169,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align=right><P><B><? print_string("assessmentsmustbeagreed", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("assessmentsmustbeagreed", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?PHP
|
||||
$options[0] = get_string("no"); $options[1] = get_string("yes");
|
||||
@ -180,7 +180,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align=right><P><B><? print_string("hidegradesbeforeagreement", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("hidegradesbeforeagreement", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?PHP
|
||||
$options[0] = get_string("no"); $options[1] = get_string("yes");
|
||||
@ -191,7 +191,7 @@
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("maximumsize", "workshop") ?>:</B></P></TD>
|
||||
<td align=right><P><B><?php print_string("maximumsize", "workshop") ?>:</B></P></TD>
|
||||
<td>
|
||||
<?
|
||||
$sizelist = array("10Kb", "50Kb", "100Kb", "500Kb", "1Mb", "2Mb", "5Mb", "10Mb", "20Mb", "50Mb");
|
||||
@ -217,7 +217,7 @@
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("deadline", "workshop") ?>:</B></td>
|
||||
<td align=right><P><B><?php print_string("deadline", "workshop") ?>:</B></td>
|
||||
<td><?
|
||||
print_date_selector("deadlineday", "deadlinemonth", "deadlineyear", $form->deadline);
|
||||
echo " - ";
|
||||
@ -228,22 +228,22 @@
|
||||
</table>
|
||||
<BR>
|
||||
<CENTER>
|
||||
<input type="hidden" name=course value="<? p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<? p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<? p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<? p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<? p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<? p($form->mode) ?>">
|
||||
<input type="submit" value="<? print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<? print_string("cancel") ?>">
|
||||
<input type="hidden" name=course value="<?php p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<?php p($form->coursemodule) ?>">
|
||||
<input type="hidden" name=section value="<?php p($form->section) ?>">
|
||||
<input type="hidden" name=module value="<?php p($form->module) ?>">
|
||||
<input type="hidden" name=modulename value="<?php p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<?php p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<?php p($form->mode) ?>">
|
||||
<input type="submit" value="<?php print_string("savechanges") ?>">
|
||||
<input type="submit" name=cancel value="<?php print_string("cancel") ?>">
|
||||
<p>
|
||||
<p><?PHP notify(get_string("noteonassessmentelements", "workshop")); ?>
|
||||
|
||||
</CENTER>
|
||||
</FORM>
|
||||
|
||||
<?
|
||||
<?php
|
||||
if ($usehtmleditor) {
|
||||
print_richedit_javascript("form", "description", "no");
|
||||
}
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<CENTER>
|
||||
<HR SIZE=1 NOSHADE>
|
||||
<FONT SIZE=1>
|
||||
<P><?=$loggedinas ?></P>
|
||||
<P><?=$homelink ?></P>
|
||||
<P><?php echo $loggedinas ?></P>
|
||||
<P><?php echo $homelink ?></P>
|
||||
</FONT>
|
||||
|
||||
</BODY>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size=2 noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -25,20 +25,20 @@
|
||||
*/
|
||||
?>
|
||||
</td>
|
||||
<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
|
||||
<td width="6" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_sidebar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
|
||||
</tr><tr>
|
||||
<td height="9" width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_bott.jpg" width="6" height="9" /></td>
|
||||
<td height="9" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/bott_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/bott_bar.jpg" width="1" height="9" /></td>
|
||||
<td height="9" width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_bott.jpg" width="6" height="9" /></td>
|
||||
<td height="9" width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_corner_bott.jpg" width="6" height="9" /></td>
|
||||
<td height="9" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/bott_bar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/bott_bar.jpg" width="1" height="9" /></td>
|
||||
<td height="9" width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_corner_bott.jpg" width="6" height="9" /></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td width="1" bgcolor="<? echo $THEME->themeborder?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
|
||||
<td width="1" bgcolor="<?php echo $THEME->themeborder?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
|
||||
</tr>
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="93" height="19" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/client_tools_bot_mid.gif"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/login_lower_left.gif" width="93" height="19" /></td>
|
||||
<td height="19" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/client_tools_bot_mid.gif"><center><FONT SIZE=1><?=$loggedinas ?></FONT></center></td>
|
||||
<td width="93" height="19" align="right" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/client_tools_bot_mid.gif"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/login_lower_right.gif" width="93" height="19" border="0" /></a></td>
|
||||
<td width="93" height="19" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/client_tools_bot_mid.gif"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/login_lower_left.gif" width="93" height="19" /></td>
|
||||
<td height="19" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/client_tools_bot_mid.gif"><center><FONT SIZE=1><?php echo $loggedinas ?></FONT></center></td>
|
||||
<td width="93" height="19" align="right" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/client_tools_bot_mid.gif"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/login_lower_right.gif" width="93" height="19" border="0" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<P align=center><font size="1"><?=$homelink ?></font></P>
|
||||
<P align=center><font size="1"><?php echo $homelink ?></font></P>
|
||||
|
@ -24,124 +24,124 @@
|
||||
To read the license please visit http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
?>
|
||||
<HTML<?=$direction?>>
|
||||
<HTML<?php echo $direction?>>
|
||||
<HEAD>
|
||||
<TITLE><?=$title ?></TITLE>
|
||||
<META NAME="keywords" CONTENT="Moodle, <?=$title ?> " />
|
||||
<?=$meta ?>
|
||||
<TITLE><?php echo $title ?></TITLE>
|
||||
<META NAME="keywords" CONTENT="Moodle, <?php echo $title ?> " />
|
||||
<?php echo $meta ?>
|
||||
<meta name="ROBOTS" content="INDEX,FOLLOW" />
|
||||
<meta name="resource-type" content="document" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta name="author" content="<?=$title ?>" />
|
||||
<meta name="copyright" content="Copyright (c) 2003 by <?=$title ?>" />
|
||||
<meta name="author" content="<?php echo $title ?>" />
|
||||
<meta name="copyright" content="Copyright (c) 2003 by <?php echo $title ?>" />
|
||||
<meta name="revisit-after" content="1 days" />
|
||||
<meta name="distribution" content="Global" />
|
||||
<meta name="generator" content="Moodle - http://moodle.com" />
|
||||
<meta name="rating" content="General" />
|
||||
|
||||
<LINK REL="stylesheet" HREF="<?=$styles ?>" />
|
||||
<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/favicon.ico" />
|
||||
<LINK REL="stylesheet" HREF="<?php echo $styles ?>" />
|
||||
<LINK REL="SHORTCUT ICON" HREF="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/favicon.ico" />
|
||||
</script>
|
||||
<? include("$CFG->javascript"); ?>
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</HEAD>
|
||||
|
||||
<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\" topmargin=\"$THEME->topmargin\" leftmargin=\"$THEME->leftmargin\" marginheight=\"$THEME->marginheight\" marginwidth=\"$THEME->marginwidth\" />"; ?>
|
||||
<BODY <?php if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\" topmargin=\"$THEME->topmargin\" leftmargin=\"$THEME->leftmargin\" marginheight=\"$THEME->marginheight\" marginwidth=\"$THEME->marginwidth\" />"; ?>
|
||||
|
||||
|
||||
<? if ($home) { // This is what gets printed on the home page only ?>
|
||||
<?php if ($home) { // This is what gets printed on the home page only ?>
|
||||
<div align="center">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="6" ><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td width="6" ><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="6" bgcolor="<? echo $THEME->body?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="left" valign="top"><A TARGET="<? echo $CFG->framename?>" HREF="<? echo $CFG->wwwroot?>"><img src="<? echo "$CFG->wwwroot/theme/$CFG->theme/$THEME->frontlogo" ?>" border="0" /></A></td>
|
||||
<td width="6" bgcolor="<? echo $THEME->body?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
|
||||
<td width="6" bgcolor="<?php echo $THEME->body?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="left" valign="top"><A TARGET="<?php echo $CFG->framename?>" HREF="<?php echo $CFG->wwwroot?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/$THEME->frontlogo" ?>" border="0" /></A></td>
|
||||
<td width="6" bgcolor="<?php echo $THEME->body?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
|
||||
</tr>
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td width="1" bgcolor="<?php echo $THEME->themeborders?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="center" valign="middle" width="100%">
|
||||
<TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
|
||||
<TR>
|
||||
<TD ALIGN=LEFT VALIGN=middle> <FONT SIZE=4><B><?=$heading?></B></FONT></TD>
|
||||
<TD ALIGN=RIGHT VALIGN=middle><?=$menu ?> </TD>
|
||||
<TD ALIGN=LEFT VALIGN=middle> <FONT SIZE=4><B><?php echo $heading?></B></FONT></TD>
|
||||
<TD ALIGN=RIGHT VALIGN=middle><?php echo $menu ?> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</td>
|
||||
<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
|
||||
<td width="1" bgcolor="<?php echo $THEME->themeborders?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
|
||||
</tr>
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td width="1" bgcolor="<?php echo $THEME->themeborders?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="center" valign="top">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
</tr><tr>
|
||||
<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg" width="6" height="100" /></td>
|
||||
<td width="6" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_sidebar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_sidebar.jpg" width="6" height="100" /></td>
|
||||
<td align="left" valign="top">
|
||||
|
||||
|
||||
<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
|
||||
<div align="center">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="6" bgcolor="<? echo $THEME->body?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="left" valign="top"><A TARGET="<?=$CFG->framename?>" HREF="<? echo $CFG->wwwroot ?>"><img src="<? echo "$CFG->wwwroot/theme/$CFG->theme/$THEME->smalllogo" ?>" border="0" /></A></td>
|
||||
<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
|
||||
<td width="6" bgcolor="<?php echo $THEME->body?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="left" valign="top"><A TARGET="<?php echo $CFG->framename?>" HREF="<?php echo $CFG->wwwroot ?>"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/$THEME->smalllogo" ?>" border="0" /></A></td>
|
||||
<td width="6" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_sidebar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_sidebar.jpg" width="6" height="100%" /></td>
|
||||
</tr>
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td width="1" bgcolor="<?php echo $THEME->themeborders?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="center" valign="middle">
|
||||
<table WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
|
||||
<TR>
|
||||
<TD ALIGN=LEFT VALIGN=middle> <FONT SIZE=4><B><?=$heading?></B></FONT></TD>
|
||||
<TD ALIGN=RIGHT VALIGN=middle><?=$menu ?> </TD>
|
||||
<TD ALIGN=LEFT VALIGN=middle> <FONT SIZE=4><B><?php echo $heading?></B></FONT></TD>
|
||||
<TD ALIGN=RIGHT VALIGN=middle><?php echo $menu ?> </TD>
|
||||
</TR>
|
||||
</table>
|
||||
|
||||
<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
|
||||
<TR>
|
||||
<TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" VALIGN=middle> <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT></TD>
|
||||
<TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
|
||||
<TD BGCOLOR="<?php echo $THEME->cellheading?>" CLASS="navbar" VALIGN=middle> <FONT SIZE=2><B><?php print_navigation("$navigation"); ?></B></FONT></TD>
|
||||
<TD BGCOLOR="<?php echo $THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?php echo $button ?></TD>
|
||||
</TR>
|
||||
</table>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
</td>
|
||||
<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
|
||||
<td width="1" bgcolor="<?php echo $THEME->themeborders?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_right.gif" width="2" height="100%" /></td>
|
||||
</tr>
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
</table><table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="1" bgcolor="<? echo $THEME->themeborders?>"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td width="1" bgcolor="<?php echo $THEME->themeborders?>"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/side_left.gif" width="2" height="100%" /></td>
|
||||
<td align="center" valign="top">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<? echo $THEME->themewidth?>">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="<?php echo $THEME->themewidth?>">
|
||||
<tr>
|
||||
<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_corner_top.jpg" width="6" height="9" /></td>
|
||||
<td valign="bottom" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/top_bar.jpg" width="1" height="9" /></td>
|
||||
<td width="6"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/left_corner_top.jpg" width="6" height="9" /></td>
|
||||
</tr><tr>
|
||||
<td width="6" background="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg"><img src="<?=$CFG->wwwroot?>/theme/<?=$CFG->theme ?>/images/right_sidebar.jpg" width="6" height="100" /></td>
|
||||
<td width="6" background="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_sidebar.jpg"><img src="<?php echo $CFG->wwwroot?>/theme/<?php echo $CFG->theme ?>/images/right_sidebar.jpg" width="6" height="100" /></td>
|
||||
<td align="left" valign="top">
|
||||
|
||||
|
||||
<? } else { // This is what gets printed on any other page (no heading, not home page) ?>
|
||||
<?php } else { // This is what gets printed on any other page (no heading, not home page) ?>
|
||||
<BLOCKQUOTE>
|
||||
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<!-- End of header -->
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!-- START OF FOOTER -->
|
||||
<center>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<p class="logininfo"><?=$loggedinas ?></p>
|
||||
<p class="homelink"><?=$homelink ?></p>
|
||||
<p class="logininfo"><?php echo $loggedinas ?></p>
|
||||
<p class="homelink"><?php echo $homelink ?></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user