com web/master: This should be done in css: include/functions.inc
| From: | Hannes Magnusson | Date: | Sun, 29 Dec 2013 09:51:07 +0000 |
| Subject: | com web/master: This should be done in css: include/functions.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17879@lists.php.net to get a copy of this message | ||
Commit: e051d82f28685ba5882d3cefd1095fe37feeda23
Author: Hannes Magnusson <bjori@mongodb.com> Sun, 29 Dec 2013 01:51:07 -0800
Parents: 683df30c402fb220e908af4a5f64e2fc9ec4d3a9
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=e051d82f28685ba5882d3cefd1095fe37feeda23
Log:
This should be done in css
Changed paths:
M include/functions.inc
Diff:
diff --git a/include/functions.inc b/include/functions.inc
index 05a5ffe..f148c0c 100644
--- a/include/functions.inc
+++ b/include/functions.inc
@@ -174,8 +174,8 @@ function show_prev_next($begin, $rows, $skip, $total, $extra = array(), $table =
<?php if ($table): ?>
<table border="0" cellspacing="1" width="100%">
<?php endif ?>
- <tr bgcolor="#eeeeee">
- <td align="left">
+ <tr>
+ <td>
<?php
if ($begin > 0) {
printf("<a href=\"%s?%s\">« Previous %d",
@@ -187,13 +187,13 @@ function show_prev_next($begin, $rows, $skip, $total, $extra = array(), $table
=
</td>
<?php if($table): ?>
- <td align="center">
+ <td>
<?php else: ?>
- <td align="center" colspan="2">
+ <td colspan="2">
<?php endif; ?>
<?php echo "Displaying ",$begin+1,"-",$begin+$rows," of
$total";?>
</td>
- <td align="right">
+ <td>
<?php
if ($begin+$rows < $total) {