diff options
author | friendica <info@friendica.com> | 2015-03-24 20:38:53 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-24 20:38:53 -0700 |
commit | 022305fe8383be238a442efdbd5ba3463d15b7ab (patch) | |
tree | ff9d3832f5a305eadd435d385f847d9900994dfa /mod | |
parent | 63b8020969434756a7b966ae615c28bf7680f2f8 (diff) | |
download | volse-hubzilla-022305fe8383be238a442efdbd5ba3463d15b7ab.tar.gz volse-hubzilla-022305fe8383be238a442efdbd5ba3463d15b7ab.tar.bz2 volse-hubzilla-022305fe8383be238a442efdbd5ba3463d15b7ab.zip |
also allow service classes to set post expiration. These take priority over the site default.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/siteinfo.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php index 2ad9f7cde..ab6891e25 100644 --- a/mod/siteinfo.php +++ b/mod/siteinfo.php @@ -72,6 +72,8 @@ function siteinfo_init(&$a) { $channels_active_monthly_stat = intval(get_config('system','channels_active_monthly_stat')); $local_posts_stat = intval(get_config('system','local_posts_stat')); $hide_in_statistics = intval(get_config('system','hide_in_statistics')); + $site_expire = intval(get_config('system', 'default_expire_days')); + $data = Array( 'version' => $version, @@ -84,6 +86,7 @@ function siteinfo_init(&$a) { 'language' => get_config('system','language'), 'diaspora_emulation' => get_config('system','diaspora_enabled'), 'rss_connections' => get_config('system','feed_contacts'), + 'expiration' => $site_expire, 'default_service_restrictions' => $service_class, 'admin' => $admin, 'site_name' => (($site_name) ? $site_name : ''), @@ -150,7 +153,7 @@ function siteinfo_content(&$a) { $o = replace_macros(get_markup_template('siteinfo.tpl'), array( '$title' => t('Red'), - '$description' => t('This is a hub of the Red Matrix - a global cooperative network of decentralized privacy enhanced websites.'), + '$description' => t('This is a hub of redmatrix - a global cooperative network of decentralized privacy enhanced websites.'), '$version' => $version, '$tag_txt' => t('Tag: '), '$tag' => $tag, @@ -158,7 +161,7 @@ function siteinfo_content(&$a) { '$lastpoll' => get_poller_runtime(), '$commit' => $commit, '$web_location' => t('Running at web location') . ' ' . z_root(), - '$visit' => t('Please visit <a href="https://redmatrix.me">RedMatrix.me</a> to learn more about the Red Matrix.'), + '$visit' => t('Please visit <a href="https://redmatrix.me">redmatrix.me</a> to learn more about the Red Matrix.'), '$bug_text' => t('Bug reports and issues: please visit'), '$bug_link_url' => 'https://github.com/friendica/red/issues', '$bug_link_text' => 'redmatrix issues', |