more uno groundwork

This commit is contained in:
redmatrix
2016-02-05 13:32:15 -08:00
parent b4e3cd000f
commit 7868e47643
5 changed files with 12 additions and 4 deletions

View File

@@ -227,8 +227,8 @@ function register_content(&$a) {
$nickname = ((x($_REQUEST,'nickname')) ? strip_tags(trim($_REQUEST['nickname'])) : "" );
$privacy_role = ((x($_REQUEST,'permissions_role')) ? $_REQUEST['permissions_role'] : "" );
$auto_create = get_config('system','auto_channel_create');
$default_role = get_config('system','default_permissions_role');
$auto_create = ((UNO) || (get_config('system','auto_channel_create')) ? true : false);
$default_role = ((UNO) ? 'social' : get_config('system','default_permissions_role'));
require_once('include/bbcode.php');

View File

@@ -600,7 +600,7 @@ function settings_content(&$a) {
local_channel());
if (!count($r)){
notice(t("You can't edit this application."));
notice(t('Application not found.'));
return;
}
$app = $r[0];