Browse files

short php tags - Bug #1956

  • Loading branch information...
1 parent 1cca75d commit 7b3019e3e695626ab833fda88aa37ea8e6d6daf4 skodak committed Sep 18, 2004
Showing with 51 additions and 51 deletions.
  1. +1 −1 mod/quiz/jstimer.php
  2. +7 −7 mod/wiki/checklinks.html
  3. +13 −13 mod/wiki/removepages.html
  4. +12 −12 mod/wiki/revertpages.html
  5. +8 −8 mod/wiki/setpageflags.html
  6. +10 −10 mod/wiki/strippages.html
View
2 mod/quiz/jstimer.php
@@ -13,7 +13,7 @@ function send_data() {
var timesup = "<?php print_string("timesup","quiz");?>";
var quizclose = <?php echo ($quiz->timeclose - time()) - $timerstartvalue; ?>; // in seconds
-var quizTimerValue = <? echo $timerstartvalue; ?>; // in seconds
+var quizTimerValue = <?php echo $timerstartvalue; ?>; // in seconds
parseInt(quizTimerValue);
// -->
</script>
View
14 mod/wiki/checklinks.html
@@ -3,14 +3,14 @@
?>
<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<? print $userid; ?>">
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<? print $groupid ?>">
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<? print $action; ?>">
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<? print $cm->id ?>">
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<? print $wikipage?>">
-<?
+<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>">
+<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>">
+<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>">
+<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>">
+<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>">
+<?php
$pagelist=wiki_admin_checklinks_list();
choose_from_menu($pagelist, "pagetocheck", $wikipage, "");
?>
- <input type="submit" name="proceed" value="<? print get_string("checklinks","wiki"); ?>">
+ <input type="submit" name="proceed" value="<?php print get_string("checklinks","wiki"); ?>">
</center>
View
26 mod/wiki/removepages.html
@@ -6,27 +6,27 @@
?>
<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<? print $userid; ?>">
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<? print $groupid ?>">
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<? print $action; ?>">
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<? print $cm->id ?>">
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<? print $wikipage?>">
-<?
- $remove_table=wiki_admin_remove_list($form->listall);
+<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>">
+<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>">
+<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>">
+<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>">
+<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>">
+<?php
+ $remove_table=wiki_admin_remove_list($form->listall);
print_table($remove_table);
?>
<center>
-<?
+<?php
if(!count($remove_table->data)) {
print get_string("nocandidatestoremove","wiki",get_string("listall","wiki"))."<br><br>";
}
?>
-<?
+<?php
if($form->listall) {
- print ' <input type="submit" name="listcandidates" value="'.get_string("listcandidates","wiki").'">'."\n";
+ print ' <input type="submit" name="listcandidates" value="'.get_string("listcandidates","wiki").'">'."\n";
} else {
- print ' <input type="submit" name="listall" value="'.get_string("listall","wiki").'">'."\n";
+ print ' <input type="submit" name="listall" value="'.get_string("listall","wiki").'">'."\n";
}
-?>
- <input type="submit" name="proceed" value="<? print get_string("removeselectedpages","wiki"); ?>">
+?>
+ <input type="submit" name="proceed" value="<?php print get_string("removeselectedpages","wiki"); ?>">
</center>
View
24 mod/wiki/revertpages.html
@@ -9,14 +9,14 @@
?>
<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<? print $userid; ?>">
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<? print $groupid ?>">
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<? print $action; ?>">
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<? print $cm->id ?>">
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<? print $wikipage?>">
+<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>">
+<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>">
+<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>">
+<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>">
+<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>">
<CENTER>
-<?
+<?php
if($err->remark) {
formerr($err->remark);
}
@@ -29,22 +29,22 @@
<?php
helpbutton('revertauthorfieldpattern', get_string('authorfieldpattern', 'wiki'), 'wiki');
if (!empty($err->authorfieldpattern)) { formerr($err->authorfieldpattern); }
-?>
+?>
</TD>
</TR>
<TR valign=top>
<TD align=right><P><B><?php print_string('changesfield','wiki') ?>:</B></P></TD>
<TD>
<INPUT type="text" name="changesfield" size=30 value="<?php p($form->changesfield) ?>">
- <? if (!empty($err->changesfield)) { formerr($err->changesfield); } ?>
+ <?php if (!empty($err->changesfield)) { formerr($err->changesfield); } ?>
</TD>
</TR>
<TR valign=top>
<TD align=right><P><B><?php print_string('howtooperate', 'wiki') ?>:</B></P></TD>
<TD>
<?php
- $operations=array( "lastonly" => get_string("revertlastonly","wiki"),
- "allsince" => get_string("revertallsince","wiki"),
+ $operations=array( "lastonly" => get_string("revertlastonly","wiki"),
+ "allsince" => get_string("revertallsince","wiki"),
"the" => get_string("revertthe","wiki"));
choose_from_menu($operations, "howtooperate", $form->howtooperate, "");
?>
@@ -54,9 +54,9 @@
<TD align=right><P><B><?php print_string('deleteversions','wiki') ?>:</B></P></TD>
<TD>
<INPUT type="text" name="deleteversions" size=2 value="<?php p($form->deleteversions) ?>">
- <? if (!empty($err->deleteversions)) { formerr($err->deleteversions); } ?>
+ <?php if (!empty($err->deleteversions)) { formerr($err->deleteversions); } ?>
</TD>
</TR>
</TABLE>
- <input type="submit" name="proceed" value="<? print get_string("revertchanges","wiki"); ?>">
+ <input type="submit" name="proceed" value="<?php print get_string("revertchanges","wiki"); ?>">
</center>
View
16 mod/wiki/setpageflags.html
@@ -3,16 +3,16 @@
?>
<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<? print $userid; ?>">
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<? print $groupid ?>">
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<? print $action; ?>">
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<? print $cm->id ?>">
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<? print $wikipage?>">
-<?
- $pageflags_table=wiki_admin_setpageflags_list($pageflagstatus);
+<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>">
+<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>">
+<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>">
+<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>">
+<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>">
+<?php
+ $pageflags_table=wiki_admin_setpageflags_list($pageflagstatus);
print_table($pageflags_table);
?>
<br>
<center>
- <input type="submit" name="proceed" value="<? print get_string("setpageflags","wiki"); ?>">
+ <input type="submit" name="proceed" value="<?php print get_string("setpageflags","wiki"); ?>">
</center>
View
20 mod/wiki/strippages.html
@@ -3,20 +3,20 @@
?>
<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<? print $userid; ?>">
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<? print $groupid ?>">
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<? print $action; ?>">
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<? print $cm->id ?>">
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<? print $wikipage?>">
-<?
- $strip_table=wiki_admin_strip_list($form->pagestostrip, $form->version, $err);
+<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>">
+<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>">
+<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>">
+<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>">
+<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>">
+<?php
+ $strip_table=wiki_admin_strip_list($form->pagestostrip, $form->version, $err);
print_table($strip_table);
?>
<center>
-<?
+<?php
if(!count($strip_table->data)) {
print get_string("nothingtostrip","wiki")."<br><br>";
}
-?>
- <input type="submit" name="proceed" value="<? print get_string("strippages","wiki"); ?>">
+?>
+ <input type="submit" name="proceed" value="<?php print get_string("strippages","wiki"); ?>">
</center>

0 comments on commit 7b3019e

Please sign in to comment.