aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-23 16:31:40 -0800
committerzotlabs <mike@macgirvin.com>2017-01-23 16:31:40 -0800
commitcb47354a4f76e033485e9818b137742c01466dbe (patch)
tree1cba8e14d0cd1069a4d80bfa0acd51e24401b7bc /include/channel.php
parent61588a4b772f8c5c0c231cf2eb63d72a8f64411d (diff)
downloadvolse-hubzilla-cb47354a4f76e033485e9818b137742c01466dbe.tar.gz
volse-hubzilla-cb47354a4f76e033485e9818b137742c01466dbe.tar.bz2
volse-hubzilla-cb47354a4f76e033485e9818b137742c01466dbe.zip
put login form into the nav bar. Proof of concept - needs a bit of UI tweaks.
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php
index 247d3d358..d66ed7abe 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -1908,4 +1908,18 @@ function channel_manual_conv_update($channel_id) {
return intval($x);
+}
+
+
+function remote_login() {
+
+ $o = replace_macros(get_markup_template('remote_login.tpl'),array(
+ '$title' => t('Remote Authentication'),
+ '$desc' => t('Enter your channel address (e.g. channel@example.com)'),
+ '$submit' => t('Authenticate')
+ ));
+ return $o;
+
+
+
} \ No newline at end of file