Changed some incorrect <?= tags to <php p()...

Skodak has found more incorrect tags. See bug 1376
(http://moodle.org/bugs/bug.php?op=show&bugid=1376)
This commit is contained in:
stronk7 2004-05-12 16:55:48 +00:00
parent 591ee236ea
commit 3a4b8c823d
4 changed files with 17 additions and 17 deletions

View File

@ -41,9 +41,9 @@
echo "<input type=\"hidden\" name=cid value=\"$comment->id\">";
}
?>
<input type="hidden" name=id value="<?=$cm->id ?>">
<input type="hidden" name=eid value="<?=$entry->id ?>">
<input type="hidden" name=action value="<?=$action ?>">
<input type="hidden" name=id value="<?php p($cm->id) ?>">
<input type="hidden" name=eid value="<?php p($entry->id) ?>">
<input type="hidden" name=action value="<?php p($action) ?>">
<input type="hidden" name=confirm value="1">
<input type="submit" value="<?php print_string("savechanges") ?>">

View File

@ -1,14 +1,14 @@
<center>
<form name="form" method="post" <?=$onsubmit ?> action="edit.php" enctype="multipart/form-data">
<form name="form" method="post" <?php p($onsubmit) ?> action="edit.php" enctype="multipart/form-data">
<table class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
<?PHP
<?php
if (isset($errors)) {
?>
<tr valign=top>
<td colspan=2 align=center><strong><font color=red><?PHP p($errors) ?></font></strong>
<td colspan=2 align=center><strong><font color=red><?php p($errors) ?></font></strong>
</td>
</tr>
<?PHP
<?php
}
?>
<tr valign=top>
@ -58,7 +58,7 @@ if (isset($errors)) {
</tr>
<tr>
<td colspan="2">
<?PHP
<?php
if ( !$glossary->usedynalink ) {
echo '<input type="hidden" name=usedynalink value="0">';
echo '<input type="hidden" name=casesensitive value="0">';
@ -166,9 +166,9 @@ if (isset($errors)) {
<input type="hidden" name=hcasesensitive value="0">
<input type="hidden" name=hfullmatch value="1">
<input type="hidden" name=id value="<?=$cm->id ?>">
<input type="hidden" name=mode value="<?=$mode ?>">
<input type="hidden" name=hook value="<?=$hook ?>">
<input type="hidden" name=id value="<?php p($cm->id) ?>">
<input type="hidden" name=mode value="<?php p($mode) ?>">
<input type="hidden" name=hook value="<?php p($hook) ?>">
<input type="hidden" name=confirm value="1">
<input type="submit" value="<?php print_string("savechanges") ?>">
@ -182,7 +182,7 @@ if (isset($errors)) {
</form>
<?PHP
<?php
if ($usehtmleditor) {
print_richedit_javascript("form", "text", "yes");
}

View File

@ -9,7 +9,7 @@
<tr valign=top>
<td align=right><p><b><?php echo get_string("name") ?>:</b></p></td>
<td>
<INPUT type="text" name="name" size=30 value="<?=$name ?>">
<INPUT type="text" name="name" size=30 value="<?php ($name) ?>">
</td>
</tr>
<tr valign=top>
@ -32,11 +32,11 @@
</tr>
<td colspan=2>
<p align=center>
<input type="hidden" name=id value="<?=$cm->id ?>">
<input type="hidden" name=action value="<?=$action?>">
<input type="hidden" name=id value="<?php p($cm->id) ?>">
<input type="hidden" name=action value="<?php p($action) ?>">
<input type="hidden" name=confirm value=1>
<input type="hidden" name=mode value='cat'>
<input type="hidden" name=hook value="<?=$hook?>">
<input type="hidden" name=hook value="<?php p($hook) ?>">
<input type="submit" value="<?php print_string("savechanges") ?>">
<input type="reset" value="<?php print_string("back","glossary") ?>" onclick="javascript:history.go(-1);">
</P>

View File

@ -53,7 +53,7 @@ if (!isset($form->showspecial)) {
$form->rssarticles = 0;
}
?>
<FORM name="form" method="post" action="<?=$ME ?>">
<FORM name="form" method="post" action="<?php p($ME) ?>">
<CENTER>
<TABLE cellpadding=5>
<TR valign=top>