before and after are switched, pass QSA in some rewrite rules

darcs-hash:20080615035510-84dde-3026b20678070004d8e8439d5e08e01ee6ef2b8b.gz
This commit is contained in:
Evan Prodromou 2008-06-14 23:55:10 -04:00
parent 83e303fe27
commit 7ad2b42bc3
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
RewriteEngine On RewriteEngine On
RewriteRule ^$ index.php?action=public [L] RewriteRule ^$ index.php?action=public [L,QSA]
RewriteRule ^rss$ index.php?action=publicrss [L] RewriteRule ^rss$ index.php?action=publicrss [L,QSA]
RewriteRule ^doc/about$ index.php?action=doc&title=about [L,QSA] RewriteRule ^doc/about$ index.php?action=doc&title=about [L,QSA]
RewriteRule ^doc/help$ index.php?action=doc&title=help [L,QSA] RewriteRule ^doc/help$ index.php?action=doc&title=help [L,QSA]

View File

@ -760,7 +760,7 @@ function common_pagination($have_before, $have_after, $page, $action, $args=NULL
common_element_start('li', 'before'); common_element_start('li', 'before');
common_element('a', array('href' => common_local_url($action, $newargs)), common_element('a', array('href' => common_local_url($action, $newargs)),
_t(Before')); _t(After'));
common_element_end('li'); common_element_end('li');
} }
@ -769,7 +769,7 @@ function common_pagination($have_before, $have_after, $page, $action, $args=NULL
$newargs = ($args) ? array_merge($args,$pargs) : $pargs; $newargs = ($args) ? array_merge($args,$pargs) : $pargs;
common_element_start('li', 'after'); common_element_start('li', 'after');
common_element('a', array('href' => common_local_url($action, $newargs)), common_element('a', array('href' => common_local_url($action, $newargs)),
_t('After »')); _t('Before »'));
common_element_end('li'); common_element_end('li');
} }