Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31378/include/admin
Modified Files:
configuration.inc.php entries.inc.php
Log Message:
removed/marked the (so far discovered) most disturbing javascript-dependencies in s9y
Index: entries.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/entries.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- entries.inc.php 3 Dec 2004 12:02:27 -0000 1.7
+++ entries.inc.php 4 Dec 2004 14:43:38 -0000 1.8
@@ -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>
@@ -373,9 +381,9 @@
?>
<br />
<div>
- <input type="button" value="<?php echo NOT_REALLY; ?>" onclick="history.go(-1);" />
+ <a href="<?php echo $_SERVER["HTTP_REFERER"]; ?>" class="button"><?php echo NOT_REALLY; ?></a>
<span style="width: 50px;"></span>
- <input type="button" value="<?php echo DUMP_IT; ?>" onclick="location.href='<?php echo $newLoc; ?>'" />
+ <a href="<?php echo $newLoc; ?>" class="button"><?php echo DUMP_IT; ?></a>
</div>
<?php
break;
Index: configuration.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/configuration.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- configuration.inc.php 3 Dec 2004 16:16:44 -0000 1.1
+++ configuration.inc.php 4 Dec 2004 14:43:37 -0000 1.2
@@ -29,7 +29,7 @@
if (is_array($res)) {
echo DIAGNOSTIC_ERROR . '<br /><br />';
echo '<span class="serendipityAdminMsgError">- ' . implode('<br />', $res) . '</span><br /><br />';
- serendipity_printConfigTemplate(serendipity_parseTemplate(S9Y_CONFIG_TEMPLATE), $_POST, false, true);
+ serendipity_printConfigTemplate(serendipity_parseTemplate(S9Y_CONFIG_TEMPLATE), $_POST, false, false);
die();
}
@@ -124,7 +124,7 @@
$t = serendipity_parseTemplate(S9Y_CONFIG_TEMPLATE);
- serendipity_printConfigTemplate($t, $from, false, true);
+ serendipity_printConfigTemplate($t, $from, false, false);
}
/* vim: set sts=4 ts=4 expandtab : */
|