aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-06-01 14:25:46 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-06-01 14:25:46 +0000
commit3df04e1ce435380d8560faaf67a91b88b7cfb3f6 (patch)
treef0297d14874502dd568bab6b61c1b71432f20d9f
parent05602d9aaf42e2e678182b02d091c07434ea614d (diff)
downloadsemanticscuttle-3df04e1ce435380d8560faaf67a91b88b7cfb3f6.tar.gz
semanticscuttle-3df04e1ce435380d8560faaf67a91b88b7cfb3f6.tar.bz2
Interface fix: put order into RSS links
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@134 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--.htaccess6
-rw-r--r--bookmarks.php2
-rw-r--r--index.php2
-rw-r--r--tags.php2
4 files changed, 8 insertions, 4 deletions
diff --git a/.htaccess b/.htaccess
index 8262b68..03aea7e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,5 +24,9 @@ RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
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>
diff --git a/bookmarks.php b/bookmarks.php
index 61e2aac..232249f 100644
--- a/bookmarks.php
+++ b/bookmarks.php
@@ -202,7 +202,7 @@ if ($templatename == 'editbookmark.tpl') {
// Set template vars
$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;
diff --git a/index.php b/index.php
index b4bbe92..9684fdf 100644
--- a/index.php
+++ b/index.php
@@ -36,7 +36,7 @@ if (isset($_GET['action'])){
// Header variables
$tplVars['loadjs'] = true;
$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) {
diff --git a/tags.php b/tags.php
index e44c592..599b6fb 100644
--- a/tags.php
+++ b/tags.php
@@ -53,7 +53,7 @@ if ($usecache) {
$tplVars['pagetitle'] = $pagetitle;
$tplVars['loadjs'] = true;
$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