Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8138/include/admin
Modified Files:
comments.inc.php
Log Message:
- CSS classes in the comment manager was always set to uneven
Index: comments.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/comments.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- comments.inc.php 19 Nov 2004 11:05:32 -0000 1.2
+++ comments.inc.php 23 Nov 2004 19:50:17 -0000 1.3
@@ -139,13 +139,13 @@
}
if ( $page != 1 && $page <= $pages ) {
- $linkPrevious = '<input type="button" name="serendipity[previouspage]" value="<<<" onclick="location.href=\'serendipity_entries.php?serendipity[adminModule]=comments&serendipity[page]='. ($page-1) . $searchString . '\'" />';
+ $linkPrevious = '<input type="button" name="serendipity[previouspage]" value="<<<" onclick="location.href=\'serendipity_admin.php?serendipity[adminModule]=comments&serendipity[page]='. ($page-1) . $searchString . '\'" />';
} else {
$linkPrevious = '<input type="button" name="serendipity[previouspage]" value="<<<" disabled="disabled" />';
}
if ( $page != $pages ) {
- $linkNext = '<input type="button" name="serendipity[nextpage]" value=">>>" onclick="location.href=\'serendipity_entries.php?serendipity[adminModule]=comments&serendipity[page]='. ($page+1) . $searchString . '\'" />';
+ $linkNext = '<input type="button" name="serendipity[nextpage]" value=">>>" onclick="location.href=\'serendipity_admin.php?serendipity[adminModule]=comments&serendipity[page]='. ($page+1) . $searchString . '\'" />';
} else {
$linkNext = '<input type="button" name="serendipity[nextpage]" value=">>>" disabled="disabled" />';
}
@@ -274,7 +274,7 @@
$summary .= ' ...';
}
- $class = 'serendipity_admin_list_item_' . (($i++ % 2 == 0 ) ? 'even' : 'uneven');
+ $class = 'serendipity_admin_list_item_' . (($i % 2 == 0 ) ? 'even' : 'uneven');
?>
<tr>
<td><a name="c<?php echo $rs['id'] ?>"></a>
@@ -330,4 +330,4 @@
</tr>
</table>
</form>
-<?php } ?>
\ No newline at end of file
+<?php } ?>
|