Add and remove mailcow apps to login screen, fixes #120

This commit is contained in:
andryyy
2017-03-21 12:22:13 +01:00
parent f384759282
commit 4518f6f896
3 changed files with 373 additions and 356 deletions

View File

@@ -63,7 +63,11 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
endif;
?>
<legend>mailcow Apps</legend>
<a href="/SOGo/" role="button" class="btn btn-lg btn-default"><?=$lang['start']['start_sogo'];?></a>
<?php
foreach ($MAILCOW_APPS as $app) {
echo '<a href="' . $app['link'] . '" role="button" class="btn btn-lg btn-default">' . $app['name'] . '</a>&nbsp;';
}
?>
</div>
</div>
</div>