From e2ee4ae0244ff1698b28f89b05ea9b0ce65273aa Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 5 Feb 2017 14:45:28 -0800 Subject: better theming of rmagic page --- Zotlabs/Module/Rmagic.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Zotlabs') 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') + ] + ); } } -- cgit v1.2.3