aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php4
-rw-r--r--include/main.js10
-rw-r--r--include/salmon.php2
-rw-r--r--mod/community.php2
-rw-r--r--mod/network.php10
-rw-r--r--mod/profile.php2
-rw-r--r--mod/receive.php1
-rw-r--r--mod/salmon.php2
8 files changed, 20 insertions, 13 deletions
diff --git a/boot.php b/boot.php
index 7effe3087..74f46052b 100644
--- a/boot.php
+++ b/boot.php
@@ -1,6 +1,6 @@
<?php
-define ( 'FRIENDIKA_VERSION', '2.2.1046' );
+define ( 'FRIENDIKA_VERSION', '2.2.1048' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1076 );
@@ -135,7 +135,7 @@ define ( 'NAMESPACE_POCO', 'http://portablecontacts.net/spec/1.0' );
define ( 'NAMESPACE_FEED', 'http://schemas.google.com/g/2010#updates-from' );
define ( 'NAMESPACE_OSTATUS', 'http://ostatus.org/schema/1.0' );
define ( 'NAMESPACE_STATUSNET', 'http://status.net/schema/api/1/' );
-
+define ( 'NAMESPACE_ATOM1', 'http://www.w3.org/2005/Atom' );
/**
* activity stream defines
*/
diff --git a/include/main.js b/include/main.js
index 040e9695e..d17d923e4 100644
--- a/include/main.js
+++ b/include/main.js
@@ -100,6 +100,14 @@
$('#pause').html('');
}
}
+ else {
+ // any key to resume
+ if(stopped == true) {
+ stopped = false;
+ $('#pause').html('');
+ }
+ }
+
});
});
@@ -142,7 +150,7 @@
in_progress = true;
var udargs = ((netargs.length) ? '/' + netargs : '');
- var update_url = 'update_' + src + udargs + '?p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0);
+ var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0);
$.get(update_url,function(data) {
in_progress = false;
diff --git a/include/salmon.php b/include/salmon.php
index c1af1a852..473432f25 100644
--- a/include/salmon.php
+++ b/include/salmon.php
@@ -145,7 +145,7 @@ EOT;
// Setup RSA stuff to PKCS#1 sign the data
- set_include_path(get_include_path() . PATH_SEPARATOR . 'library' . PATH_SEPARATOR . 'phpsec');
+ set_include_path(get_include_path() . PATH_SEPARATOR . 'library/phpsec');
require_once('library/phpsec/Crypt/RSA.php');
diff --git a/mod/community.php b/mod/community.php
index 73feaabc6..cf43598b5 100644
--- a/mod/community.php
+++ b/mod/community.php
@@ -27,7 +27,7 @@ function community_content(&$a, $update = 0) {
if(! $update) {
$o .= '<script> $(document).ready(function() { $(\'#nav-community-link\').addClass(\'nav-selected\'); });</script>';
$o .= '<div id="live-community"></div>' . "\r\n";
- $o .= "<script> var profile_uid = -1; var netargs = ''; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
+ $o .= "<script> var profile_uid = -1; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}
if(x($a->data,'search'))
diff --git a/mod/network.php b/mod/network.php
index 28e540283..7bdd3f3f1 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -125,10 +125,11 @@ function network_content(&$a, $update = 0) {
$o .= '<div id="live-network"></div>' . "\r\n";
$o .= "<script> var profile_uid = " . $_SESSION['uid']
- . "; var netargs = '" . substr($a->cmd,8)
- . ((x($_GET,'cid')) ? '?cid=' . $_GET['cid'] : '')
- . ((x($_GET,'search')) ? '?search=' . $_GET['search'] : '')
- . ((x($_GET,'star')) ? '?star=' . $_GET['star'] : '')
+ . "; var netargs = '" . substr($a->cmd,8)
+ . '?f='
+ . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '')
+ . ((x($_GET,'search')) ? '&search=' . $_GET['search'] : '')
+ . ((x($_GET,'star')) ? '&star=' . $_GET['star'] : '')
. "'; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}
@@ -208,7 +209,6 @@ function network_content(&$a, $update = 0) {
$sql_extra .= " AND `item`.`body` REGEXP '" . dbesc(escape_tags($_GET['search'])) . "' ";
-
$r = q("SELECT COUNT(*) AS `total`
FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0
diff --git a/mod/profile.php b/mod/profile.php
index e9b144ffd..f4b6bfaf1 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -160,7 +160,7 @@ function profile_content(&$a, $update = 0) {
if($tab === 'posts') {
$o .= '<div id="live-profile"></div>' . "\r\n";
$o .= "<script> var profile_uid = " . $a->profile['profile_uid']
- . "; var netargs = ''; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
+ . "; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}
}
diff --git a/mod/receive.php b/mod/receive.php
index 6e36109b3..6fb68e154 100644
--- a/mod/receive.php
+++ b/mod/receive.php
@@ -5,7 +5,6 @@
*/
-
require_once('include/salmon.php');
require_once('library/simplepie/simplepie.inc');
diff --git a/mod/salmon.php b/mod/salmon.php
index 721eae437..56ac071b0 100644
--- a/mod/salmon.php
+++ b/mod/salmon.php
@@ -130,7 +130,7 @@ function salmon_post(&$a) {
// Setup RSA stuff to verify the signature
- set_include_path(get_include_path() . PATH_SEPARATOR . 'library' . PATH_SEPARATOR . 'phpsec');
+ set_include_path(get_include_path() . PATH_SEPARATOR . 'library/phpsec');
require_once('library/phpsec/Crypt/RSA.php');