]> git.mjollnir.org Git - moodle.git/commitdiff
Changed some incorrect <?= tags to <php p()...
authorstronk7 <stronk7>
Wed, 12 May 2004 16:55:48 +0000 (16:55 +0000)
committerstronk7 <stronk7>
Wed, 12 May 2004 16:55:48 +0000 (16:55 +0000)
Skodak has found more incorrect tags. See bug 1376
(http://moodle.org/bugs/bug.php?op=show&bugid=1376)

mod/glossary/comment.html
mod/glossary/edit.html
mod/glossary/editcategories.html
mod/glossary/mod.html

index e8571c6e1aafc896d5ef8b8b0050ef260e1760e8..61cae6900adad39efcf5f0ef749ca233fa17ad03 100644 (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") ?>">
index fdfcdc8a57420281516ec494a5242d88127d9448..f6b930254cc9cee0ff6dc4684f4379d477dc8d7e 100644 (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");
    }
index df7f2a240dd761b7dd9511ee1594cf49885c9046..9fd05e89053384199e7af6e6c3265118367e07ec 100644 (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>
 </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>
index b6a872bf744c762e63b0388e1ebd42588ef00198..735557b13dbb902866aff42537918098c9dfd4d6 100644 (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>