Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2097
Modified Files:
Tag: branch-0-7
serendipity_admin_entries.inc.php
Log Message:
I don't know if we ever release a 0.7.2, but it should'nt rely on JavaScript
Index: serendipity_admin_entries.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/Attic/serendipity_admin_entries.inc.php,v
retrieving revision 1.39
retrieving revision 1.39.2.1
diff -u -d -r1.39 -r1.39.2.1
--- serendipity_admin_entries.inc.php 20 Oct 2004 16:27:23 -0000 1.39
+++ serendipity_admin_entries.inc.php 3 Dec 2004 10:08:40 -0000 1.39.2.1
@@ -160,10 +160,18 @@
?>
<tr>
<td>
- <input type="button" name="serendipity[prevpage]" value="<<<" onclick="location.href='<?php echo $linkPrevious ?>'" <?php if ($offSet <= 0) echo ' disabled="disabled"' ?> />
+ <?php if ($offSet <= 0) { ?>
+ <a name="dummy_linkPrevious" class="button_disabled"><<<</a>
+ <?php } else { ?>
+ <a href="<?php echo $linkPrevious ?>" class="button"><<<</a>
+ <?php } ?>
</td>
<td align="right">
- <input type="button" name="serendipity[nextpage]" value=">>>" onclick="location.href='<?php echo $linkNext ?>'" <?php if ($count != $perPage) echo ' disabled="disabled"'; ?> />
+ <?php if ($count != $perPage) { ?>
+ <a name="dummy_linkNext" class="button_disabled">>>></a>
+ <?php } else { ?>
+ <a href="<?php echo $linkNext ?>" class="button">>>></a>
+ <?php } ?>
</td>
</tr>
</table>
@@ -340,9 +348,9 @@
?>
<br />
<div>
- <input type="button" value="<?php echo NOT_REALLY; ?>" onclick="history.go(-1);" />
- <span style="width: 50px;"></span>
- <input type="button" value="<?php echo DUMP_IT; ?>" onclick="location.href='<?php echo $newLoc; ?>'" />
+ <a href="<?php echo $_SERVER["HTTP_REFERER"]; ?>" class="button"><?php echo NOT_REALLY; ?></a>
+ <span style="width: 50px;"></span>
+ <a href="<?php echo $newLoc; ?>" class="button"><?php echo DUMP_IT; ?></a>
</div>
<?php
break;
|