Permalink
Browse files

More short tags

  • Loading branch information...
1 parent 6b77de5 commit 145cb8f9ab8ec8e56f755c24fc16f2a50221114e moodler committed Sep 11, 2003
View
@@ -75,7 +75,7 @@
<form name="form" method="post" <?php echo $onsubmit ?> action="<?php echo $ME ?>">
<table cellpadding=5>
-<?
+<?php
//Now print the Backup Name tr
echo "<tr>";
View
@@ -76,7 +76,7 @@
<form name="form" method="post" <?php echo $onsubmit ?> action="<?php echo $ME ?>">
<table cellpadding=5>
-<?
+<?php
if ($allmods = get_records("modules") ) {
foreach ($allmods as $mod) {
$modname = $mod->name;
View
@@ -100,7 +100,7 @@
<form name="form" method="post" <?php echo $onsubmit ?> action="<?php echo $ME ?>">
<table cellpadding=5>
-<?
+<?php
//First, course destination
//Print the full tr
View
@@ -171,7 +171,7 @@
<INPUT type="submit" name=cancel value="<?php print_string("cancel") ?>">
</FORM>
</CENTER>
- <?
+ <?php
print_simple_box_end();
echo "</TD><TD VALIGN=top WIDTH=50%>";
print_simple_box_start("CENTER", "100%", $THEME->body);
View
@@ -44,7 +44,7 @@
<TR valign=top>
<TD align=right><P><B><?php print_string("correctanswer", "quiz") ?>:</B></P></TD>
- <?
+ <?php
// 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.
if (is_numeric($answers[0]->min) && is_numeric($answers[0]->answer)) {
View
@@ -69,7 +69,7 @@
</td>
</TR>
- <?
+ <?php
break;
case WEBPAGE:
@@ -91,7 +91,7 @@
</td>
</tr>
- <?
+ <?php
break;
case WEBLINK:
@@ -204,7 +204,7 @@
</td>
</tr>
- <?
+ <?php
break;
case PROGRAM:
@@ -226,7 +226,7 @@
</td>
</tr>
- <?
+ <?php
break;
case UPLOADEDFILE:
@@ -239,7 +239,7 @@
<p><b><?php echo $strfilename?>:</b></p>
</td>
<td>
- <?
+ <?php
$rootdir = $CFG->dataroot."/".$course->id;
$coursedirs = get_directory_list($rootdir, $CFG->moddata);
foreach ($coursedirs as $dir) {
@@ -259,7 +259,7 @@
</td>
</tr>
- <?
+ <?php
break;
case PLAINTEXT:
@@ -278,7 +278,7 @@
<textarea name="alltext" rows=20 cols=50 wrap="virtual"><?php p($form->alltext) ?></textarea>
</td>
</tr>
- <?
+ <?php
break;
case WIKITEXT:
@@ -296,7 +296,7 @@
<textarea name="alltext" rows="20" cols="50" wrap="virtual"><?php p($form->alltext) ?></textarea>
</td>
</tr>
- <?
+ <?php
break;
case HTML:
@@ -318,7 +318,7 @@
<?php print_textarea($usehtmleditor, 20, 50, 680, 400, "alltext", $form->alltext); ?>
</td>
</tr>
- <?
+ <?php
break;
default:
@@ -344,7 +344,7 @@
<input type="submit" name=cancel value="<?php print_string("cancel") ?>">
</center>
</form>
-<?
+<?php
if ($usehtmleditor and $form->type == HTML) {
print_richedit_javascript("theform", "alltext", "yes");
}
View
@@ -149,7 +149,7 @@ function checkform() {
</center>
-<?
+<?php
echo "</form>";
print_footer($course);
View
@@ -1,4 +1,4 @@
-<?
+<?php
// set the defaults...
if ($usehtmleditor = can_use_richtext_editor()) {
$defaultformat = FORMAT_HTML;
@@ -84,7 +84,7 @@
<tr valign=top>
<td align=right><P><B><?php print_string("maximumgrade") ?>:</B></P></TD>
<td>
- <?
+ <?php
for ($i=100; $i>=0; $i--) {
$grades[$i] = $i;
}
@@ -110,7 +110,7 @@
<tr valign=top>
<td align=right><P><B><?php print_string("numberofassessmentelements", "workshop") ?>:</B></P></TD>
<td valign="middle">
- <?
+ <?php
for ($i=20; $i>=0; $i--) {
$numbers[$i] = $i;
}
@@ -193,7 +193,7 @@
<tr valign=top>
<td align=right><P><B><?php print_string("maximumsize", "workshop") ?>:</B></P></TD>
<td>
- <?
+ <?php
$sizelist = array("10Kb", "50Kb", "100Kb", "500Kb", "1Mb", "2Mb", "5Mb", "10Mb", "20Mb", "50Mb");
$maxsize = get_max_upload_file_size();
$sizeinlist = false;
@@ -218,7 +218,7 @@
<tr valign=top>
<td align=right><P><B><?php print_string("deadline", "workshop") ?>:</B></td>
- <td><?
+ <td><?php
print_date_selector("deadlineday", "deadlinemonth", "deadlineyear", $form->deadline);
echo "&nbsp;-&nbsp;";
print_time_selector("deadlinehour", "deadlineminute", $form->deadline);

0 comments on commit 145cb8f

Please sign in to comment.