'$theme'=>array('theme',t("System theme"),get_config('system','theme'),"Default system theme (which may be over-ridden by user profiles)",$theme_choices),
@ -297,21 +301,19 @@ function admin_page_site(&$a) {
'$maximagesize'=>array('maximagesize',t("Maximum image size"),get_config('system','maximagesize'),"Maximum size in bytes of uploaded images. Default is 0, which means no limits."),
'$register_text'=>array('register_text',t("Register text"),$a->config['register_text'],"Will be displayed prominently on the registration page."),
'$register_text'=>array('register_text',t("Register text"),htmlentities($a->config['register_text'],ENT_QUOTES),"Will be displayed prominently on the registration page."),
'$allowed_sites'=>array('allowed_sites',t("Allowed friend domains"),get_config('system','allowed_sites'),"Comma separated list of domains which are allowed to establish friendships with this site. Wildcards are accepted. Empty to allow any domains"),
'$allowed_email'=>array('allowed_email',t("Allowed email domains"),get_config('system','allowed_email'),"Comma separated list of domains which are allowed in email addresses for registrations to this site. Wildcards are accepted. Empty to allow any domains"),
'$block_public'=>array('block_public',t("Block public"),get_config('system','block_public'),"Check to block public access to all otherwise public personal pages on this site unless you are currently logged in."),
'$force_publish'=>array('publish_all',t("Force publish"),get_config('system','publish_all'),"Check to force all profiles on this site to be listed in the site directory."),
'$global_directory'=>array('directory_submit_url',t("Global directory update URL"),get_config('system','directory_submit_url'),"URL to update the global directory. If this is not set, the global directory is completely unavailable to the application."),
'$no_multi_reg'=>array('no_multi_reg',t("Block multiple registrations"),get_config('system','block_extended_register'),"Disallow users to register additional accounts for use as pages."),
'$no_openid'=>array('no_openid',t("OpenID support"),!get_config('system','no_openid'),"OpenID support for registration and logins."),
'$no_gravatar'=>array('no_gravatar',t("Gravatar support"),!get_config('system','no_gravatar'),"Search new user's photo on Gravatar."),
'$no_regfullname'=>array('no_regfullname',t("Fullname check"),!get_config('system','no_regfullname'),"Force users to registrate with a space between his firsname and lastname in Full name, as an antispam measure"),
'$no_regfullname'=>array('no_regfullname',t("Fullname check"),!get_config('system','no_regfullname'),"Force users to register with a space between firstname and lastname in Full name, as an antispam measure"),
'$no_community_page'=>array('no_community_page',t("Show Community Page"),!get_config('system','no_community_page'),"Display a Community page showing all recent public postings on this site."),
'$verifyssl'=>array('verifyssl',t("Verify SSL"),get_config('system','verifyssl'),"If you wish, you can turn on strict certificate checking. This will mean you cannot connect (at all) to self-signed SSL sites."),
// we behave the same in message lists as the search module
$o.=conversation($a,$r,'search',false);
$o.=paginate($a);
$o.='<div class="cc-license">'.t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.').'</div>';