blob: 269990a54ccc3cd6a7824b827ff391f9128b60e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
namespace Zotlabs\Module;
class Login extends \Zotlabs\Web\Controller {
function get() {
if(local_channel())
goaway(z_root());
if(remote_channel() && $_SESSION['atoken'])
goaway(z_root());
$o = '<div class="generic-content-wrapper">';
$o .= '<div class="section-title-wrapper">';
$o .= '<h2 class="">' . t('Login') . '</h2>';
$o .= '</div>';
$o .= '<div class="section-content-wrapper">';
$o .= login(true);
$o .= '</div>';
$o .= '</div>';
return $o;
}
}
|