com web/php: Replace <small> with <span style: archive/2008.php download-docs.php git-php.php include/get-download.inc include/shared-manual.inc
mailing-lists.php manual/add-note.php submit-event.php
| From: | Hannes Magnusson | Date: | Thu, 05 Jun 2014 18:35:30 +0000 |
| Subject: | com web/php: Replace <small> with <span style: archive/2008.php download-docs.php git-php.php include/get-download.inc include/shared-manual.inc mailing-lists.php manual/add-note.php submit-event.php |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19311@lists.php.net to get a copy of this message | ||
Commit: 12f04c0d4a005342080eacf8eb5440037cd3288d
Author: Michael <git@rvapps.org> Thu, 5 Jun 2014 20:35:30 +0200
Parents: dc438db7e7c59b01163f815e27ca16144f4f5117
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=12f04c0d4a005342080eacf8eb5440037cd3288d
Log:
Replace <small> with <span style
Replace <small> with <span style="font-size:0.8em"> because the
definition of <small> is a complete other with HTML5
Changed paths:
M archive/2008.php
M download-docs.php
M git-php.php
M include/get-download.inc
M include/shared-manual.inc
M mailing-lists.php
M manual/add-note.php
M submit-event.php
Diff:
diff --git a/archive/2008.php b/archive/2008.php
index b3a161d..f7bc561 100644
--- a/archive/2008.php
+++ b/archive/2008.php
@@ -363,10 +363,10 @@ site_header("News Archive - 2008", array("cache" =>
true));
<a href="http://phpconference.com/">Register
now!</a>
</p>
<p>
- <small>* Confirmation with your company's letter head</small>
+ <span style="font-size:0.8em">* Confirmation with your company's
letter head</span>
<br>
- <small>** With Student ID. Limited seating available</small>
+ <span style="font-size:0.8em">** With Student ID. Limited seating
available</span>
</p>
</div>
diff --git a/download-docs.php b/download-docs.php
index dbe7c6d..4891697 100644
--- a/download-docs.php
+++ b/download-docs.php
@@ -200,7 +200,7 @@ if (count($found_formats) == 0) {
// Sizes required to be printed out (URL parameter or preferred language)
if (isset($_GET['sizes']) || $preflang) {
- echo "<br><small>Size: $fileinfo[1]Kb<br>Date:
$fileinfo[2]</small>";
+ echo "<br><span style="font-size:0.8em">Size:
$fileinfo[1]Kb<br>Date: $fileinfo[2]</span>";
}
}
diff --git a/git-php.php b/git-php.php
index 046cf95..15d1853 100644
--- a/git-php.php
+++ b/git-php.php
@@ -377,7 +377,7 @@ foreach ($purposes as $i => $p) { ?>
<td><input type="checkbox" name="guidelines"
value="1">Check the box if you agree.</td>
</tr>
<tr>
- <th class="subr">User ID:<br> <small>(single word, lower
case)</small></th>
+ <th class="subr">User ID:<br> <span
style="font-size:0.8em">(single word, lower case)</span></th>
<td><input type="text" size="10" name="id"
class="max" value="<?php if (isset($_POST['id'])) echo
clean($_POST['id']);?>"></td>
</tr>
diff --git a/include/get-download.inc b/include/get-download.inc
index ee16230..b644ef7 100644
--- a/include/get-download.inc
+++ b/include/get-download.inc
@@ -59,7 +59,7 @@ EOT;
</strong>
<?php
if ($size) {
- echo '<small>(' . number_format($size, 0, '.', ',') .
' bytes)</small>';
+ echo '<span style="font-size:0.8em">(' . number_format($size, 0,
'.', ',') . ' bytes)</span>';
}
?>
</span>
diff --git a/include/shared-manual.inc b/include/shared-manual.inc
index 147fd6e..9df5e5f 100644
--- a/include/shared-manual.inc
+++ b/include/shared-manual.inc
@@ -156,7 +156,7 @@ function manual_notes($notes) {
'&redirect=' . $_SERVER['BASE_HREF'];
$addnotesnippet = make_link(
$addnotelink,
- "<img src='/images/notes-add@2x.png' alt='add a note'
width='12' height='12'> <small>add a note</small>"
+ "<img src='/images/notes-add@2x.png' alt='add a note'
width='12' height='12'> <span style="font-size:0.8em">add a
note</span>"
);
$num_notes = count($notes);
diff --git a/mailing-lists.php b/mailing-lists.php
index 1b9707f..57c3d02 100644
--- a/mailing-lists.php
+++ b/mailing-lists.php
@@ -314,7 +314,7 @@ function output_lists_table($mailing_lists)
"<th>Newsgroup</th><th>Normal</th><th>Digest</th></tr>\n";
} else {
echo '<tr align="center">';
- echo '<td align="left"><strong>' . $listinfo[1] .
'</strong><br><small>'. $listinfo[2] .
'</small></td>';
+ echo '<td align="left"><strong>' . $listinfo[1] .
'</strong><br><span style="font-size:0.8em">'. $listinfo[2] .
'</span></td>';
echo '<td>' . ($listinfo[3] ? 'yes' : 'no') .
'</td>';
// Let the list name defined with a string, if the
diff --git a/manual/add-note.php b/manual/add-note.php
index e6043c6..ead7f97 100644
--- a/manual/add-note.php
+++ b/manual/add-note.php
@@ -273,7 +273,7 @@ else {
<section id="whatnottoenter" class='clearfix'>
-<h3>Thou shall not enter! <small>(No, really, don't)</small></h3>
+<h3>Thou shall not enter! <span style="font-size:0.8em">(No, really,
don't)</span></h3>
<div class='columns'>
<ul>
<li><strong>Bug reports & Missing documentation</strong>
diff --git a/submit-event.php b/submit-event.php
index 4c4d083..98f3f37 100644
--- a/submit-event.php
+++ b/submit-event.php
@@ -240,7 +240,7 @@ if ($process && count($errors) === 0) {
<th class="subr">Email</th>
<td>
<input type="text" name="email" size="40"
maxlength="128" class="max" value="<?php echo
htmlentities($_POST['email'], ENT_QUOTES | ENT_IGNORE,
'UTF-8')?>"><br>
- <small>This email address is only used to contact you about the listing, it will not
displayed along with the listing.</small>
+ <span style="font-size:0.8em">This email address is only used to contact you
about the listing, it will not displayed along with the listing..</span>
</td>
</tr>
<tr>