Ignore:
Timestamp:
May 7, 2008, 7:36:06 AM (12 years ago)
Author:
ryandesign@…
Message:

www: use numerical entities instead of named entities for nbsp, ldquo and rdquo since the named entities cause errors in Safari 1.3; closes #14455

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/localized/it/includes/functions.inc

    r19376 r36577  
    129129    echo "<p>Use the form below to add project news.</p>\n\n";
    130130    echo "<form action=\"$PHP_SELF\" method=\"post\">\n";
    131     echo "<p>Title:&nbsp;&nbsp;<input type=\"text\" name=\"title\" size=\"40\" /></p>\n";
     131    echo "<p>Title:&#160;&#160;<input type=\"text\" name=\"title\" size=\"40\" /></p>\n";
    132132    echo "<p>News:</p>\n";
    133133    echo "<p><textarea name=\"news\" cols=\"70\" rows=\"20\"></textarea></p>\n";
     
    185185      echo "<p>Use the form below to edit project news.</p>\n\n";
    186186      echo "<form action=\"$PHP_SELF?id=$id\" method=\"post\">\n";
    187       echo "<p>Title:&nbsp;&nbsp;<input type=\"text\" name=\"title\" size=\"40\" value=\"$row->title\" /></p>\n";
     187      echo "<p>Title:&#160;&#160;<input type=\"text\" name=\"title\" size=\"40\" value=\"$row->title\" /></p>\n";
    188188      echo "<p>News:</p>\n";
    189189      echo "<p><textarea name=\"news\" cols=\"70\" rows=\"20\">";
     
    246246  if(mysql_num_rows($result) > 0) {
    247247    while($row = mysql_fetch_object($result)) {
    248       echo "<p><a href=\"/it/archives.php?id=$row->id\">$row->title</a><br />&nbsp&nbsp;$row->f_timestamp&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"edit.php?id=$row->id\">edit</a></p>\n\n";
     248      echo "<p><a href=\"/it/archives.php?id=$row->id\">$row->title</a><br />&#160;&#160;$row->f_timestamp&#160;&#160;|&#160;&#160;<a href=\"edit.php?id=$row->id\">edit</a></p>\n\n";
    249249    }
    250250  }
     
    268268  if(mysql_num_rows($result) > 0) {
    269269    while($row = mysql_fetch_object($result)) {
    270       echo "<p><a href=\"/it/archives.php?id=$row->id\">$row->title</a><br />&nbsp&nbsp;$row->f_timestamp</p>\n\n";
     270      echo "<p><a href=\"/it/archives.php?id=$row->id\">$row->title</a><br />&#160;&#160;$row->f_timestamp</p>\n\n";
    271271    }
    272272  }
Note: See TracChangeset for help on using the changeset viewer.