diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-05-18 21:30:07 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-05-18 21:30:07 +0200 |
commit | 7f7e049397fcd7526ca75dd91bd881369219f019 (patch) | |
tree | 45f6f121a75e24a703d5d4d1f492dae560ea245a /Zotlabs/Module | |
parent | 5a6141faa2a87a4aeb00a566c1230f35544ff3d2 (diff) | |
download | volse-hubzilla-7f7e049397fcd7526ca75dd91bd881369219f019.tar.gz volse-hubzilla-7f7e049397fcd7526ca75dd91bd881369219f019.tar.bz2 volse-hubzilla-7f7e049397fcd7526ca75dd91bd881369219f019.zip |
an attempt to fix the new_channel validation situation
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/New_channel.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Zotlabs/Module/New_channel.php b/Zotlabs/Module/New_channel.php index df7da2fe8..c946961bc 100644 --- a/Zotlabs/Module/New_channel.php +++ b/Zotlabs/Module/New_channel.php @@ -137,16 +137,19 @@ class New_channel extends \Zotlabs\Web\Controller { } } - $name_help = (($default_role) + $name_help = '<span id="name_help_loading" style="display:none">' . t('Loading') . '</span><span id="name_help_text">'; + $name_help .= (($default_role) ? t('Your real name is recommended.') : t('Examples: "Bob Jameson", "Lisa and her Horses", "Soccer", "Aviation Group"') - ); - - $nick_help = t('This will be used to create a unique network address (like an email address).'); + ); + $name_help .= '</span>'; + $nick_help = '<span id="nick_help_loading" style="display:none">' . t('Loading') . '</span><span id="nick_help_text">'; + $nick_help .= t('This will be used to create a unique network address (like an email address).'); if(! get_config('system','unicode_usernames')) { $nick_help .= ' ' . t('Allowed characters are a-z 0-9, - and _'); } + $nick_help .= '<span>'; $privacy_role = ((x($_REQUEST,'permissions_role')) ? $_REQUEST['permissions_role'] : "" ); |