fixed printf statement
[squirrelmail.git] / plugins / bug_report / bug_report.php
index f75d69fc895684da09003058354b5d5e96f0c41f..35757acf7c3e4eadebccf3e3d22a556e961af294 100644 (file)
@@ -51,7 +51,7 @@ $body_top = "I subscribe to the squirrelmail-users mailing list.\n" .
 $body = htmlspecialchars($body_top) . $body;
 
 ?>
 $body = htmlspecialchars($body_top) . $body;
 
 ?>
-   <br>
+   <br />
    <table width="95%" align="center" border="0" cellpadding="2" cellspacing="0"><tr>
       <?php echo html_tag('td',"<b>"._("Submit a Bug Report")."</b>",'center',$color[0]); ?>
    </tr></table>
    <table width="95%" align="center" border="0" cellpadding="2" cellspacing="0"><tr>
       <?php echo html_tag('td',"<b>"._("Submit a Bug Report")."</b>",'center',$color[0]); ?>
    </tr></table>
@@ -64,12 +64,12 @@ $body = htmlspecialchars($body_top) . $body;
 
    echo "<ul>";
    echo "<li>";
 
    echo "<ul>";
    echo "<li>";
-   echo _("Make sure that you are running the most recent copy of <a href=\"http://www.squirrelmail.org/\">SquirrelMail</a>.");
-   echo sprintf(_("You are currently using version %s."),$version);
+   printf(_("Make sure that you are running the most recent copy of %s."),'<a href="http://www.squirrelmail.org/">SquirrelMail</a>');
+   printf(_("You are currently using version %s."),$version);
    echo "</li>\n";
 
    echo "<li>";
    echo "</li>\n";
 
    echo "<li>";
-   echo _("Check to see if your bug is already listed in the <a href=\"http://sourceforge.net/bugs/?group_id=311\">Bug List</a> on SourceForge. If it is, we already know about it and are trying to fix it.");
+   printf(_("Check to see if your bug is already listed in the %sBug List%s on SourceForge. If it is, we already know about it and are trying to fix it."), '<a href="http://sourceforge.net/bugs/?group_id=311">', '</a>');
    echo "</li>\n";
    
    echo "<li>";
    echo "</li>\n";
    
    echo "<li>";
@@ -77,7 +77,7 @@ $body = htmlspecialchars($body_top) . $body;
    echo "</li>\n";
 
    echo "<li>";
    echo "</li>\n";
 
    echo "<li>";
-   echo _("If there were warnings displayed above, try to resolve them yourself. Read the guides in the <tt>doc/</tt> directory where SquirrelMail was installed.");
+   printf(_("If there were warnings displayed above, try to resolve them yourself. Read the guides in the %s directory where SquirrelMail was installed."), '<tt>doc/</tt>');
    echo "</li>\n";
    echo "</ul>\n";
 
    echo "</li>\n";
    echo "</ul>\n";