</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>
</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>
-<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">
</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
</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>
-<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">\r
+<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">\r
<CENTER>\r
<TABLE cellpadding=5>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? choose_from_menu($categories, "category", "$question->category", ""); ?>\r
+ <?php choose_from_menu($categories, "category", "$question->category", ""); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">\r
- <? if (isset($err["name"])) formerr($err["name"]); ?>\r
+ <INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">\r
+ <?php if (isset($err["name"])) formerr($err["name"]); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (isset($err["questiontext"])) {\r
+ <?php if (isset($err["questiontext"])) {\r
formerr($err["questiontext"]); \r
echo "<BR \>";\r
}\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (empty($images)) {\r
+ <?php if (empty($images)) {\r
print_string("noimagesyet");\r
} else {\r
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");\r
</TR>\r
</TABLE>\r
\r
-<INPUT type="hidden" name=id value="<? p($question->id) ?>">\r
-<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">\r
+<INPUT type="hidden" name=id value="<?php p($question->id) ?>">\r
+<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">\r
<INPUT type="hidden" name=defaultgrade value="0">\r
-<INPUT type="submit" value="<? print_string("savechanges") ?>">\r
+<INPUT type="submit" value="<?php print_string("savechanges") ?>">\r
\r
</CENTER>\r
</FORM>\r
-<? \r
+<?php \r
if ($usehtmleditor) { \r
print_richedit_javascript("theform", "questiontext", "no");\r
}\r
?>
<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>
<?
?>
-<FORM name="theform" method="post" <?=$onsubmit ?> action="editmultianswer.php">
+<FORM name="theform" method="post" <?php echo $onsubmit ?> action="editmultianswer.php">
<CENTER>
<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 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>
<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"]);
<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");
-<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") ?>">
</FORM>
-<?
+<?php
if ($usehtmleditor) {
-<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">\r
+<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">\r
<CENTER>\r
<TABLE cellpadding=5>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? choose_from_menu($categories, "category", "$question->category", ""); ?>\r
+ <?php choose_from_menu($categories, "category", "$question->category", ""); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">\r
- <? if (isset($err["name"])) formerr($err["name"]); ?>\r
+ <INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">\r
+ <?php if (isset($err["name"])) formerr($err["name"]); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (isset($err["questiontext"])) {\r
+ <?php if (isset($err["questiontext"])) {\r
formerr($err["questiontext"]); \r
echo "<BR \>";\r
}\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (empty($images)) {\r
+ <?php if (empty($images)) {\r
print_string("noimagesyet");\r
} else {\r
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choices", "quiz") ?></B>:</P></TD>\r
- <TD><P><? print_string("filloutthreequestions", "quiz") ?></P>\r
+ <TD align=right><P><B><?php print_string("choices", "quiz") ?></B>:</P></TD>\r
+ <TD><P><?php print_string("filloutthreequestions", "quiz") ?></P>\r
</TD>\r
</TR>\r
\r
?>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? echo get_string("question", "quiz")." $i"; ?> :</B></P></TD>\r
+ <TD align=right><P><B><?php echo get_string("question", "quiz")." $i"; ?> :</B></P></TD>\r
<TD>\r
- <textarea name="subquestions[]" rows=5 cols=50><? p($subquestions[$i-1]) ?></textarea>\r
+ <textarea name="subquestions[]" rows=5 cols=50><?php p($subquestions[$i-1]) ?></textarea>\r
<br \>\r
- <? echo get_string("matchanswer", "quiz")." $i"; ?> \r
- <INPUT type="text" name="subanswers[]" size=50 value="<? p($subanswers[$i-1]) ?>">\r
+ <?php echo get_string("matchanswer", "quiz")." $i"; ?> \r
+ <INPUT type="text" name="subanswers[]" size=50 value="<?php p($subanswers[$i-1]) ?>">\r
</TD>\r
</TR>\r
\r
\r
</TABLE>\r
\r
-<INPUT type="hidden" name=id value="<? p($question->id) ?>">\r
-<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">\r
-<INPUT type="submit" value="<? print_string("savechanges") ?>">\r
+<INPUT type="hidden" name=id value="<?php p($question->id) ?>">\r
+<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">\r
+<INPUT type="submit" value="<?php print_string("savechanges") ?>">\r
\r
</CENTER>\r
</FORM>\r
-<? \r
+<?php \r
if ($usehtmleditor) { \r
print_richedit_javascript("theform", "questiontext", "no");\r
}\r
-<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">\r
+<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">\r
<CENTER>\r
<TABLE cellpadding=5>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? choose_from_menu($categories, "category", "$question->category", ""); ?>\r
+ <?php choose_from_menu($categories, "category", "$question->category", ""); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">\r
- <? if (isset($err["name"])) formerr($err["name"]); ?>\r
+ <INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">\r
+ <?php if (isset($err["name"])) formerr($err["name"]); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (isset($err["questiontext"])) {\r
+ <?php if (isset($err["questiontext"])) {\r
formerr($err["questiontext"]); \r
echo "<BR \>";\r
}\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (empty($images)) {\r
+ <?php if (empty($images)) {\r
print_string("noimagesyet");\r
} else {\r
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("answerhowmany", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("answerhowmany", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <?\r
+ <?php \r
$menu[0] = get_string("answersingleno", "quiz");\r
$menu[1] = get_string("answersingleyes", "quiz");\r
choose_from_menu($menu, "single", "$options->single", "");\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choices", "quiz") ?></B>:</P></TD>\r
- <TD><P><? print_string("fillouttwochoices", "quiz") ?></P>\r
+ <TD align=right><P><B><?php print_string("choices", "quiz") ?></B>:</P></TD>\r
+ <TD><P><?php print_string("fillouttwochoices", "quiz") ?></P>\r
</TD>\r
</TR>\r
\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choice", "quiz") ?> 1:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("choice", "quiz") ?> 1:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[0]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[0]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[0]->fraction, ""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[0]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[0]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choice", "quiz") ?> 2:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("choice", "quiz") ?> 2:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[1]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[1]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[1]->fraction, ""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[1]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[1]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choice", "quiz") ?> 3:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("choice", "quiz") ?> 3:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[2]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[2]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[2]->fraction, ""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[2]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[2]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choice", "quiz") ?> 4:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("choice", "quiz") ?> 4:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[3]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[3]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[3]->fraction, ""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[3]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[3]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choice", "quiz") ?> 5:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("choice", "quiz") ?> 5:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[4]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[4]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[4]->fraction, ""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[4]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[4]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("choice", "quiz") ?> 6:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("choice", "quiz") ?> 6:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<? p($answers[5]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php p($answers[5]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptionsfull, "fraction[]", $answers[5]->fraction, ""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[5]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[5]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
</TABLE>\r
\r
-<INPUT type="hidden" name=id value="<? p($question->id) ?>">\r
-<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">\r
-<INPUT type="submit" value="<? print_string("savechanges") ?>">\r
+<INPUT type="hidden" name=id value="<?php p($question->id) ?>">\r
+<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">\r
+<INPUT type="submit" value="<?php print_string("savechanges") ?>">\r
\r
</CENTER>\r
</FORM>\r
-<? \r
+<?php \r
if ($usehtmleditor) { \r
print_richedit_javascript("theform", "questiontext", "no");\r
}\r
-<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 \>";
}
</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"),"","");
</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.
}
?>
<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=""/>
</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">
// 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);
}
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);
}
}
</SCRIPT>
-<?
+<?php
if ($usehtmleditor) {
print_richedit_javascript("theform", "questiontext", "no");
}
\r
<table cellpadding=5>\r
<tr valign=top>\r
- <td align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>\r
+ <td align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>\r
<td>\r
- <? choose_from_menu($categories, "category", "$question->category", ""); ?>\r
+ <?php choose_from_menu($categories, "category", "$question->category", ""); ?>\r
</td>\r
</tr>\r
<tr valign=top>\r
- <td align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>\r
+ <td align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>\r
<td>\r
- <? if (empty($question->name)) {\r
+ <?php if (empty($question->name)) {\r
$question->name = get_string("random", "quiz");\r
} ?>\r
- <input type="text" name="name" size=40 value="<? p($question->name) ?>">\r
- <? if (isset($err["name"])) formerr($err["name"]); ?>\r
+ <input type="text" name="name" size=40 value="<?php p($question->name) ?>">\r
+ <?php if (isset($err["name"])) formerr($err["name"]); ?>\r
</td>\r
</tr>\r
</table>\r
\r
<input type="hidden" name=questiontext value="---">\r
\r
-<input type="hidden" name=id value="<? p($question->id) ?>">\r
-<input type="hidden" name=qtype value="<? p($question->qtype) ?>">\r
-<input type="submit" value="<? print_string("savechanges") ?>">\r
+<input type="hidden" name=id value="<?php p($question->id) ?>">\r
+<input type="hidden" name=qtype value="<?php p($question->qtype) ?>">\r
+<input type="submit" value="<?php print_string("savechanges") ?>">\r
</form>\r
</center>\r
\r
-<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">\r
+<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">\r
<CENTER>\r
<TABLE cellpadding=5>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>\r
<TD>\r
<?PHP echo $categories[$question->category]; ?>\r
<input type="hidden" name="category" value="<?PHP echo "$question->category"; ?>">\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>\r
<TD>\r
<?PHP\r
if (empty($question->name)) {\r
$question->name = get_string("randomsamatch", "quiz");\r
}\r
?>\r
- <INPUT type="text" name="name" size=40 value="<? p($question->name) ?>">\r
- <? if (isset($err["name"])) formerr($err["name"]); ?>\r
+ <INPUT type="text" name="name" size=40 value="<?php p($question->name) ?>">\r
+ <?php if (isset($err["name"])) formerr($err["name"]); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("introduction", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("introduction", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (isset($err["questiontext"])) {\r
+ <?php if (isset($err["questiontext"])) {\r
formerr($err["questiontext"]); \r
echo "<BR \>";\r
}\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("randomsamatchnumber", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("randomsamatchnumber", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <?\r
+ <?php \r
if ($numberavailable < 2) {\r
echo "ERROR";\r
$maxrandom=2;\r
</TR>\r
</TABLE>\r
\r
-<INPUT type="hidden" name=id value="<? p($question->id) ?>">\r
-<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">\r
-<INPUT type="submit" value="<? print_string("savechanges") ?>">\r
+<INPUT type="hidden" name=id value="<?php p($question->id) ?>">\r
+<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">\r
+<INPUT type="submit" value="<?php print_string("savechanges") ?>">\r
\r
</CENTER>\r
</FORM>\r
-<? \r
+<?php \r
if ($usehtmleditor) { \r
print_richedit_javascript("theform", "questiontext", "no");\r
}\r
-<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">\r
+<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">\r
<CENTER>\r
<TABLE cellpadding=5>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? choose_from_menu($categories, "category", "$question->category", ""); ?>\r
+ <?php choose_from_menu($categories, "category", "$question->category", ""); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="name" size=50 value="<? p($question->name) ?>">\r
- <? if (isset($err["name"])) formerr($err["name"]); ?>\r
+ <INPUT type="text" name="name" size=50 value="<?php p($question->name) ?>">\r
+ <?php if (isset($err["name"])) formerr($err["name"]); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (isset($err["questiontext"])) {\r
+ <?php if (isset($err["questiontext"])) {\r
formerr($err["questiontext"]); \r
echo "<BR \>";\r
}\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (empty($images)) {\r
+ <?php if (empty($images)) {\r
print_string("noimagesyet");\r
} else {\r
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("casesensitive", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("casesensitive", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <?\r
+ <?php \r
unset($menu);\r
$menu[0] = get_string("caseno", "quiz");\r
$menu[1] = get_string("caseyes", "quiz");\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("correctanswers", "quiz") ?></B>:</P></TD>\r
+ <TD align=right><P><B><?php print_string("correctanswers", "quiz") ?></B>:</P></TD>\r
<TD>\r
- <P><? print_string("filloutoneanswer", "quiz") ?></P>\r
+ <P><?php print_string("filloutoneanswer", "quiz") ?></P>\r
</TD>\r
\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("answer", "quiz") ?> 1:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("answer", "quiz") ?> 1:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 value="<? p($answers[0]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 value="<?php p($answers[0]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptions, "fraction[]", $answers[0]->fraction,""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[0]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[0]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("answer", "quiz") ?> 2:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("answer", "quiz") ?> 2:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 value="<? p($answers[1]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 value="<?php p($answers[1]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptions, "fraction[]", $answers[1]->fraction,""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[1]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[1]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("answer", "quiz") ?> 3:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("answer", "quiz") ?> 3:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 value="<? p($answers[2]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 value="<?php p($answers[2]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptions, "fraction[]", $answers[2]->fraction,""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[2]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[2]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("answer", "quiz") ?> 4:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("answer", "quiz") ?> 4:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 value="<? p($answers[3]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 value="<?php p($answers[3]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptions, "fraction[]", $answers[3]->fraction,""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[3]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[3]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("answer", "quiz") ?> 5:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("answer", "quiz") ?> 5:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="answer[]" size=50 value="<? p($answers[4]->answer) ?>"> \r
- <? print_string("grade");\r
+ <INPUT type="text" name="answer[]" size=50 value="<?php p($answers[4]->answer) ?>"> \r
+ <?php print_string("grade");\r
echo ": ";\r
choose_from_menu($gradeoptions, "fraction[]", $answers[4]->fraction,""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><? p($answers[4]->feedback) ?></textarea>\r
+ <textarea name="feedback[]" rows=2 cols=50 wrap="virtual"><?php p($answers[4]->feedback) ?></textarea>\r
</TD>\r
</TR>\r
\r
</TABLE>\r
\r
-<INPUT type="hidden" name=id value="<? p($question->id) ?>">\r
-<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">\r
-<INPUT type="submit" value="<? print_string("savechanges") ?>">\r
+<INPUT type="hidden" name=id value="<?php p($question->id) ?>">\r
+<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">\r
+<INPUT type="submit" value="<?php print_string("savechanges") ?>">\r
\r
</CENTER>\r
</FORM>\r
-<? \r
+<?php \r
if ($usehtmleditor) { \r
print_richedit_javascript("theform", "questiontext", "no");\r
}\r
-<FORM name="theform" method="post" <?=$onsubmit ?> action="question.php">\r
+<FORM name="theform" method="post" <?php echo $onsubmit ?> action="question.php">\r
<CENTER>\r
<TABLE cellpadding=5>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("category", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("category", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? choose_from_menu($categories, "category", "$question->category", ""); ?>\r
+ <?php choose_from_menu($categories, "category", "$question->category", ""); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("questionname", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("questionname", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <INPUT type="text" name="name" size=50 value="<? p($question->name) ?>">\r
- <? if (isset($err["name"])) formerr($err["name"]); ?>\r
+ <INPUT type="text" name="name" size=50 value="<?php p($question->name) ?>">\r
+ <?php if (isset($err["name"])) formerr($err["name"]); ?>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("question", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("question", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (isset($err["questiontext"])) {\r
+ <?php if (isset($err["questiontext"])) {\r
formerr($err["questiontext"]); \r
echo "<BR \>";\r
}\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("imagedisplay", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? if (empty($images)) {\r
+ <?php if (empty($images)) {\r
print_string("noimagesyet");\r
} else {\r
choose_from_menu($images, "image", "$question->image", get_string("none"),"","");\r
</TR>\r
\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("correctanswer", "quiz") ?>:</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("correctanswer", "quiz") ?>:</B></P></TD>\r
<TD>\r
- <? $menu[0] = get_string("false", "quiz");\r
+ <?php $menu[0] = get_string("false", "quiz");\r
$menu[1] = get_string("true", "quiz");\r
choose_from_menu($menu, "answer", "$question->answer", ""); ?>\r
<BR>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?> (<? print_string("true", "quiz") ?>):</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?> (<?php print_string("true", "quiz") ?>):</B></P></TD>\r
<TD>\r
- <textarea name="feedbacktrue" rows=2 cols=50 wrap="virtual"><? p($true->feedback) ?></textarea>\r
+ <textarea name="feedbacktrue" rows=2 cols=50 wrap="virtual"><?php p($true->feedback) ?></textarea>\r
</TD>\r
</TR>\r
<TR valign=top>\r
- <TD align=right><P><B><? print_string("feedback", "quiz") ?> (<? print_string("false", "quiz") ?>):</B></P></TD>\r
+ <TD align=right><P><B><?php print_string("feedback", "quiz") ?> (<?php print_string("false", "quiz") ?>):</B></P></TD>\r
<TD>\r
- <textarea name="feedbackfalse" rows=2 cols=50 wrap="virtual"><? p($false->feedback) ?></textarea>\r
+ <textarea name="feedbackfalse" rows=2 cols=50 wrap="virtual"><?php p($false->feedback) ?></textarea>\r
</TD>\r
</TR>\r
</TABLE>\r
\r
-<INPUT type="hidden" name=id value="<? p($question->id) ?>">\r
-<INPUT type="hidden" name=qtype value="<? p($question->qtype) ?>">\r
-<INPUT type="submit" value="<? print_string("savechanges") ?>">\r
+<INPUT type="hidden" name=id value="<?php p($question->id) ?>">\r
+<INPUT type="hidden" name=qtype value="<?php p($question->qtype) ?>">\r
+<INPUT type="submit" value="<?php print_string("savechanges") ?>">\r
\r
</CENTER>\r
</FORM>\r
-<? \r
+<?php \r
if ($usehtmleditor) { \r
print_richedit_javascript("theform", "questiontext", "no");\r
}\r
?>
<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>
?>
<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">
?>
<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">
?>
<tr valign="top">
<td align="right" nowrap>
- <p><b><?=$strfilename?>:</b></p>
+ <p><b><?php echo $strfilename?>:</b></p>
</td>
<td>
<?
</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>
?>
<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>
<?
?>
<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>
<?
?>
<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);
</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>
<?
?>
</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=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=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="<?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>
<?
<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>
<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>
// close table and form\r
?>
</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>\r
</FORM>
<?PHP
<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) {
</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--) {
</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");
</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--) {
</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");
</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--) {
</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--) {
</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");
</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");
</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");
</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");
</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 " - ";
</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");
}
<!-- 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>
<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>
<!-- 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>
<!-- 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>
*/
?>
</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>
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 -->
<!-- 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>
<!-- 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>
<!-- 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>
<!-- 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>
<!-- 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>
<!-- 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>