aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-08 17:56:23 -0800
committerfriendica <info@friendica.com>2012-02-08 17:56:23 -0800
commitb0ee8dd409f28f19ac0f9d0c4e2aa28afeab561d (patch)
treedcf688f43559ed43783e4a3e6cfdce948d2bff1b
parentbb22464165daed42826d7e11c47006a9cf4094d5 (diff)
downloadvolse-hubzilla-b0ee8dd409f28f19ac0f9d0c4e2aa28afeab561d.tar.gz
volse-hubzilla-b0ee8dd409f28f19ac0f9d0c4e2aa28afeab561d.tar.bz2
volse-hubzilla-b0ee8dd409f28f19ac0f9d0c4e2aa28afeab561d.zip
begin cmin, cmax
-rwxr-xr-xboot.php2
-rwxr-xr-xmod/network.php8
2 files changed, 8 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 99108a0a3..b34615443 100755
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
-define ( 'FRIENDICA_VERSION', '2.3.1245' );
+define ( 'FRIENDICA_VERSION', '2.3.1246' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1120 );
diff --git a/mod/network.php b/mod/network.php
index 497e8a115..8f10ace77 100755
--- a/mod/network.php
+++ b/mod/network.php
@@ -56,7 +56,9 @@ function saved_searches($search) {
. ((x($_GET,'star')) ? '?star=' . $_GET['star'] : '')
. ((x($_GET,'bmark')) ? '?bmark=' . $_GET['bmark'] : '')
. ((x($_GET,'conv')) ? '?conv=' . $_GET['conv'] : '')
- . ((x($_GET,'nets')) ? '?nets=' . $_GET['nets'] : '');
+ . ((x($_GET,'nets')) ? '?nets=' . $_GET['nets'] : '')
+ . ((x($_GET,'cmin')) ? '?cmin=' . $_GET['cmin'] : '')
+ . ((x($_GET,'cmax')) ? '?cmax=' . $_GET['cmax'] : '');
$o = '';
@@ -222,6 +224,8 @@ function network_content(&$a, $update = 0) {
$conv = ((x($_GET,'conv')) ? intval($_GET['conv']) : 0);
$spam = ((x($_GET,'spam')) ? intval($_GET['spam']) : 0);
$nets = ((x($_GET,'nets')) ? $_GET['nets'] : '');
+ $cmin = ((x($_GET,'cmin')) ? intval($_GET['cmin']) : 0);
+ $cmax = ((x($_GET,'cmax')) ? intval($_GET['cmax']) : 99);
if(($a->argc > 2) && $a->argv[2] === 'new')
$nouveau = true;
@@ -358,6 +362,8 @@ function network_content(&$a, $update = 0) {
. ((x($_GET,'conv')) ? '&conv=' . $_GET['conv'] : '')
. ((x($_GET,'spam')) ? '&spam=' . $_GET['spam'] : '')
. ((x($_GET,'nets')) ? '&nets=' . $_GET['nets'] : '')
+ . ((x($_GET,'cmin')) ? '&cmin=' . $_GET['cmin'] : '')
+ . ((x($_GET,'cmax')) ? '&cmax=' . $_GET['cmax'] : '')
. "'; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}