Interface fix: put order into RSS links
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@134 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
05602d9aaf
commit
3df04e1ce4
4 changed files with 8 additions and 4 deletions
|
@ -24,5 +24,9 @@ RewriteBase /
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{REQUEST_FILENAME}.php -f
|
RewriteCond %{REQUEST_FILENAME}.php -f
|
||||||
RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA]
|
|
||||||
|
#if cleanurls don't work, comment option 1 (by adding # at the beginning) and uncomment option 2:
|
||||||
|
RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA] #option 1
|
||||||
|
#RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] #option 2
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -202,7 +202,7 @@ if ($templatename == 'editbookmark.tpl') {
|
||||||
|
|
||||||
// Set template vars
|
// Set template vars
|
||||||
$tplVars['rsschannels'] = array(
|
$tplVars['rsschannels'] = array(
|
||||||
array(filter($sitename .': '. $pagetitle), createURL('rss', filter($user, 'url') . $rssCat))
|
array(filter($sitename .': '. $pagetitle), createURL('rss', filter($user, 'url') . $rssCat.'?sort='.getSortOrder()))
|
||||||
);
|
);
|
||||||
|
|
||||||
$tplVars['page'] = $page;
|
$tplVars['page'] = $page;
|
||||||
|
|
|
@ -36,7 +36,7 @@ if (isset($_GET['action'])){
|
||||||
// Header variables
|
// Header variables
|
||||||
$tplVars['loadjs'] = true;
|
$tplVars['loadjs'] = true;
|
||||||
$tplVars['rsschannels'] = array(
|
$tplVars['rsschannels'] = array(
|
||||||
array(sprintf(T_('%s: Recent bookmarks'), $sitename), createURL('rss'))
|
array(sprintf(T_('%s: Recent bookmarks'), $sitename), createURL('rss').'?sort='.getSortOrder())
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($usecache) {
|
if ($usecache) {
|
||||||
|
|
2
tags.php
2
tags.php
|
@ -53,7 +53,7 @@ if ($usecache) {
|
||||||
$tplVars['pagetitle'] = $pagetitle;
|
$tplVars['pagetitle'] = $pagetitle;
|
||||||
$tplVars['loadjs'] = true;
|
$tplVars['loadjs'] = true;
|
||||||
$tplVars['rsschannels'] = array(
|
$tplVars['rsschannels'] = array(
|
||||||
array(filter($sitename .': '. $pagetitle), createURL('rss', 'all/'. filter($cat, 'url')))
|
array(filter($sitename .': '. $pagetitle), createURL('rss', 'all/'. filter($cat, 'url')).'?sort='.getSortOrder())
|
||||||
);
|
);
|
||||||
|
|
||||||
// Pagination
|
// Pagination
|
||||||
|
|
Loading…
Reference in a new issue