]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed some PHP short_tags
authormoodler <moodler>
Tue, 9 Sep 2003 12:34:51 +0000 (12:34 +0000)
committermoodler <moodler>
Tue, 9 Sep 2003 12:34:51 +0000 (12:34 +0000)
30 files changed:
mod/chat/mod.html
mod/forum/mod.html
mod/journal/edit.html
mod/quiz/description.html
mod/quiz/edit.php
mod/quiz/editmultianswer.php
mod/quiz/match.html
mod/quiz/multichoice.html
mod/quiz/numerical.html
mod/quiz/random.html
mod/quiz/randomsamatch.html
mod/quiz/shortanswer.html
mod/quiz/truefalse.html
mod/resource/details.php
mod/survey/mod.html
mod/survey/view.php
mod/workshop/assessments.php
mod/workshop/mod.html
theme/brightretro/footer.html
theme/cordoroyblue/footer.html
theme/garden/footer.html
theme/oceanblue/footer.html
theme/poweraid/footer.html
theme/poweraid/header.html
theme/standard/footer.html
theme/standardblue/footer.html
theme/standardgreen/footer.html
theme/standardlogo/footer.html
theme/standardred/footer.html
theme/standardwhite/footer.html

index 947ae65c56b1c3211183a2ad157f5aaf75b1899c..4024248db2d892af443a5ae78260581ced84313a 100644 (file)
 
 </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>
index fad164f8f899f15b7c7079ee6ec107468760ee93..e43a768867ab617cca5ce6590c15b59f147aa411 100644 (file)
 </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>
index a557e0dbe2070218dd5f13d8f456f714e1cd88e2..deaaecf1df987a5309a3ce52f0a4bcb3371630f9 100644 (file)
@@ -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>
 
index 7aaaf9a0a3ae27d0b53a424d4d6696f0d29e9b5b..9910a419782b56449c64772b75d4c9d2c02ed353 100644 (file)
@@ -1,23 +1,23 @@
-<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
@@ -31,9 +31,9 @@
     </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
index 8d4dd4427019e5477d482354c245b65f6283a88b..76b7c1f94b965ce0d8d7a2be286aab297b4a834d 100644 (file)
         ?>
         <CENTER>
         <P>&nbsp;</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>
         <?
index d52ec63729c916a6b169be41c2bc1bd11e172dab..793c85bde91ff666a674c7862d6fd757aa27bdea 100644 (file)
 
 ?>
 
-<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) { 
 
index 11b90a75463ebd663ee2b385b506c2896b4fcca8..7f329347c35fad979cca3800fa209d0edc00ed4e 100644 (file)
@@ -1,23 +1,23 @@
-<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
@@ -31,9 +31,9 @@
     </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
@@ -43,8 +43,8 @@
 </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";  ?>&nbsp;&nbsp;\r
-        <INPUT type="text" name="subanswers[]" size=50 value="<? p($subanswers[$i-1]) ?>">\r
+        <?php  echo get_string("matchanswer", "quiz")." $i";  ?>&nbsp;&nbsp;\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
index 756d75c0e52246b19b9de30115ad4cee87992b62..6886f7d6f1b234ad721190a65070203f84248910 100644 (file)
@@ -1,23 +1,23 @@
-<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
@@ -31,9 +31,9 @@
     </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
@@ -42,9 +42,9 @@
     </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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php  p($answers[0]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php  p($answers[1]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php  p($answers[2]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php  p($answers[3]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php  p($answers[4]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 maxlength=255 value="<?php  p($answers[5]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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
index a2ff494e87530f9ca8bc35467a2f695b95021a8e..6f110fc8bf735d2229f1f1eb08efd7ef951d39e2 100644 (file)
@@ -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.
         }
     ?>
     <TD>
-        <INPUT align="LEFT" type="text" id="correct0" name="answer[]" size="20" value="<? p($answers[0]->answer) ?>"/>&nbsp;&nbsp;
+        <INPUT align="LEFT" type="text" id="correct0" name="answer[]" size="20" value="<?php  p($answers[0]->answer) ?>"/>&nbsp;&nbsp;
     </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) ?>" />&plusmn;
+        <INPUT align="LEFT" type="text" id="acceptederror0" name="acceptederror[]" size="15" value="<?php  p($acceptederror) ?>" />&plusmn;
         <!-- 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">
@@ -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");
    }
index f5767014b50d68c38bb0b089add2cbc158655aae..48758f7fadcdae4e5167520538c1fb4bb3abea74 100644 (file)
@@ -3,28 +3,28 @@
 \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
index ca453e61d7a086d74f088637d88eeba5c39df446..2406a7ebce6439a75e9a6fd26f4e158995d3dc9f 100644 (file)
@@ -1,29 +1,29 @@
-<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
@@ -40,9 +40,9 @@
     </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
index 3535956a152753b742a4baa1b4c96a8944c3ce93..1b6077792349a460af8d84f7c9f6954ad140ec5b 100644 (file)
@@ -1,23 +1,23 @@
-<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
@@ -31,9 +31,9 @@
     </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
@@ -42,9 +42,9 @@
     </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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 value="<?php  p($answers[0]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 value="<?php  p($answers[1]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 value="<?php  p($answers[2]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 value="<?php  p($answers[3]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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) ?>">&nbsp;&nbsp;\r
-        <? print_string("grade");\r
+        <INPUT type="text" name="answer[]" size=50 value="<?php  p($answers[4]->answer) ?>">&nbsp;&nbsp;\r
+        <?php  print_string("grade");\r
            echo ":&nbsp;";\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
index cda62b64b96ae9560fcba188bf6a0ff73431f3d2..59cf5358f7261236c89095699cc1a61378588a9d 100644 (file)
@@ -1,23 +1,23 @@
-<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
@@ -31,9 +31,9 @@
     </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
index daefed170fffa0ede5136628eb0b48433f28d1a5..94b011a1a3d658faa57d5251116e368662d3eecc 100644 (file)
                 ?>
                 <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>
 <?
index ade46e03a778588414196589dd52878684449aa8..60f3902201a546b543e79bfb8be49b4a55560286 100644 (file)
@@ -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>
index 8f8eba9dda5d79842ffb259b030e71d609a3e985..7120f3f2daab03e775b8e484fbeefef9bb7de15a 100644 (file)
@@ -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>
index bd65d98ead5492f63fb5b48b452907275e16421f..12d174dff3bf69d737c09acb1cbb01066863e853 100644 (file)
                // 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
index 822eabfa75623fd28af81d79e0f4e7bd656c6db9..ed98371ec65ea8c4865f77202d46bbb31de4550b 100644 (file)
 <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");
 </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 "&nbsp;-&nbsp;";
 </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");
    }
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>
index e016358ef3f689ad7982b021c84a14286dbeb1fb..66432e81e55215cddb146f9fd8002a9f1b29c193 100644 (file)
@@ -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>
index e0305179fd728b026a49f1112c0e915b3119bdcd..e8283b3428b7bbfb44f0bcf3408408efabcf03ad 100755 (executable)
@@ -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>
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>
index d36d6e554fd866a4457dcff00bdcca8fdb0cd409..0bbc897d08a3afd43c5fc471758486fa229ae932 100644 (file)
 */
 ?>
 </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>
index 5118dfd0ef423e7c2f40cf250d3457b7ffd3af90..16dc2abcf22286869532c6aba615c55f9d0a2f31 100644 (file)
  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>&nbsp;<FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-<TD ALIGN=RIGHT VALIGN=middle><?=$menu ?>&nbsp;</TD>
+<TD ALIGN=LEFT VALIGN=middle>&nbsp;<FONT SIZE=4><B><?php echo $heading?></B></FONT></TD>
+<TD ALIGN=RIGHT VALIGN=middle><?php echo $menu ?>&nbsp;</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>&nbsp;<FONT SIZE=4><B><?=$heading?></B></FONT></TD>
-<TD ALIGN=RIGHT VALIGN=middle><?=$menu ?>&nbsp;</TD>
+<TD ALIGN=LEFT VALIGN=middle>&nbsp;<FONT SIZE=4><B><?php echo $heading?></B></FONT></TD>
+<TD ALIGN=RIGHT VALIGN=middle><?php echo $menu ?>&nbsp;</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>&nbsp;<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>&nbsp;<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 -->
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>
index 18bb88290b62f0bfb61a04881d1383d6d5b0317b..ee5aaf4bc559d26368a20eba6157dbc24cacaa07 100644 (file)
@@ -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>