From: Michael Vogel Date: Sun, 8 Feb 2015 12:26:28 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/develop' into 1502-altpager-default X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8871591a98fe0c6b2bde8845c7906f2e14122bea;p=friendica.git Merge remote-tracking branch 'upstream/develop' into 1502-altpager-default Conflicts: mod/admin.php --- 8871591a98fe0c6b2bde8845c7906f2e14122bea diff --cc mod/admin.php index e47d7b5b06,76ecf1f45b..923795e426 --- a/mod/admin.php +++ b/mod/admin.php @@@ -372,8 -372,6 +372,8 @@@ function admin_page_site_post(&$a) $basepath = ((x($_POST,'basepath')) ? notags(trim($_POST['basepath'])) : ''); $singleuser = ((x($_POST,'singleuser')) ? notags(trim($_POST['singleuser'])) : ''); $proxy_disabled = ((x($_POST,'proxy_disabled')) ? True : False); + $old_pager = ((x($_POST,'old_pager')) ? True : False); - $disable_noscrape = ((x($_POST,'disable_noscrape')) ? true : false); ++ if($ssl_policy != intval(get_config('system','ssl_policy'))) { if($ssl_policy == SSL_POLICY_FULL) { q("update `contact` set @@@ -501,8 -499,6 +501,7 @@@ set_config('system','temppath', $temppath); set_config('system','basepath', $basepath); set_config('system','proxy_disabled', $proxy_disabled); + set_config('system','old_pager', $old_pager); - set_config('system','disable_noscrape', $disable_noscrape); info( t('Site settings updated.') . EOL); goaway($a->get_baseurl(true) . '/admin/site' ); @@@ -668,11 -664,8 +667,9 @@@ function admin_page_site(&$a) '$temppath' => array('temppath', t("Temp path"), get_config('system','temppath'), "If you have a restricted system where the webserver can't access the system temp path, enter another path here."), '$basepath' => array('basepath', t("Base path to installation"), get_config('system','basepath'), "If the system cannot detect the correct path to your installation, enter the correct path here. This setting should only be set if you are using a restricted system and symbolic links to your webroot."), '$proxy_disabled' => array('proxy_disabled', t("Disable picture proxy"), get_config('system','proxy_disabled'), t("The picture proxy increases performance and privacy. It shouldn't be used on systems with very low bandwith.")), + '$old_pager' => array('old_pager', t("Enable old style pager"), get_config('system','old_pager'), t("The old style pager has page numbers but slows down massively the page speed.")), '$relocate_url' => array('relocate_url', t("New base url"), $a->get_baseurl(), "Change base url for this server. Sends relocate message to all DFRN contacts of all users."), - - '$disable_noscrape'=> array('disable_noscrape', t("Disable noscrape"), get_config('system','disable_noscrape'), t("The noscrape feature speeds up directory submissions by using JSON data instead of HTML scraping. Disabling it will cause higher load on your server and the directory server.")), '$form_security_token' => get_form_security_token("admin_site") ));