X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=ba9e2b6e44081b274fb5b855531777911c0857fa;hb=581349de59091ee2aa55398dd3b03b1d6f808af7;hp=9bac155b9a953a40dfe4c83e9b7188f73878bc3f;hpb=8f31935b7da523ba03b51459d7596fc5e6eb2854;p=friendica.git diff --git a/boot.php b/boot.php index 9bac155b9a..ba9e2b6e44 100644 --- a/boot.php +++ b/boot.php @@ -2,9 +2,9 @@ set_time_limit(0); -define ( 'FRIENDIKA_VERSION', '2.1.926' ); +define ( 'FRIENDIKA_VERSION', '2.1.931' ); define ( 'DFRN_PROTOCOL_VERSION', '2.1' ); -define ( 'DB_UPDATE_VERSION', 1044 ); +define ( 'DB_UPDATE_VERSION', 1045 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); @@ -1068,6 +1068,7 @@ function paginate(&$a) { $stripped = preg_replace('/(&page=[0-9]*)/','',$a->query_string); $stripped = str_replace('q=','',$stripped); $stripped = trim($stripped,'/'); + $pagenum = $a->pager['page']; $url = $a->get_baseurl() . '/' . $stripped; @@ -1080,7 +1081,7 @@ function paginate(&$a) { $numpages = $a->pager['total'] / $a->pager['itemspage']; - $numstart = 1; + $numstart = 1; $numstop = $numpages; if($numpages > 14) { @@ -2019,7 +2020,7 @@ function contact_block() { intval($shown) ); if(count($r)) { - $o .= '

' . $total . ' ' . t('Contacts') . '

'; + $o .= '

' . sprintf(tt('%d Contact','%d Contacts', $total),$total) . '

'; foreach($r as $rr) { $redirect_url = $a->get_baseurl() . '/redir/' . $rr['id']; if(local_user() && ($rr['uid'] == local_user()) @@ -2665,4 +2666,4 @@ function extract_item_authors($arr,$uid) { } } return array(); -}} \ No newline at end of file +}}