diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-06 10:08:05 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-06 10:08:05 +0100 |
commit | e70c87ed413bb1f649d0ee96404f97e3aa3f48b9 (patch) | |
tree | 2107c81ca2a35fa25cfaf3f2dcd750f92784d787 /Zotlabs | |
parent | 178e3d5bc8237cd6dcf30c1ac0d2e8a24859cc47 (diff) | |
parent | eb3685f5377be06615de66aba104aad6f4927495 (diff) | |
download | volse-hubzilla-e70c87ed413bb1f649d0ee96404f97e3aa3f48b9.tar.gz volse-hubzilla-e70c87ed413bb1f649d0ee96404f97e3aa3f48b9.tar.bz2 volse-hubzilla-e70c87ed413bb1f649d0ee96404f97e3aa3f48b9.zip |
merge dev
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Rmagic.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Zotlabs/Module/Rmagic.php b/Zotlabs/Module/Rmagic.php index 9252d1f1d..9fcc72441 100644 --- a/Zotlabs/Module/Rmagic.php +++ b/Zotlabs/Module/Rmagic.php @@ -70,13 +70,12 @@ class Rmagic extends \Zotlabs\Web\Controller { function get() { - - $o = replace_macros(get_markup_template('rmagic.tpl'),array( - '$title' => t('Remote Authentication'), - '$desc' => t('Enter your channel address (e.g. channel@example.com)'), - '$submit' => t('Authenticate') - )); - return $o; - + return replace_macros(get_markup_template('rmagic.tpl'), + [ + '$title' => t('Remote Authentication'), + '$address' => [ 'address', t('Enter your channel address (e.g. channel@example.com)'), '', '' ], + '$submit' => t('Authenticate') + ] + ); } } |