Display app_links always (#3664)
* Display app_links always Displays $app_links always, even if $MAILCOW_APPS is empty. * Removed trailing spaces added by GitHubs editormaster
parent
107e619893
commit
0dfb59e912
|
@ -91,14 +91,14 @@ $_SESSION['index_query_string'] = $_SERVER['QUERY_STRING'];
|
||||||
<a href="<?= htmlspecialchars($app['link']); ?>" role="button" style="margin-bottom:3pt" title="<?= htmlspecialchars($app['description']); ?>" class="btn btn-primary"><?= htmlspecialchars($app['name']); ?></a>
|
<a href="<?= htmlspecialchars($app['link']); ?>" role="button" style="margin-bottom:3pt" title="<?= htmlspecialchars($app['description']); ?>" class="btn btn-primary"><?= htmlspecialchars($app['name']); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
$app_links = customize('get', 'app_links');
|
}
|
||||||
if (!empty($app_links)) {
|
$app_links = customize('get', 'app_links');
|
||||||
foreach ($app_links as $row) {
|
if (!empty($app_links)) {
|
||||||
foreach ($row as $key => $val) {
|
foreach ($app_links as $row) {
|
||||||
?>
|
foreach ($row as $key => $val) {
|
||||||
<a href="<?= htmlspecialchars($val); ?>" role="button" style="margin-bottom:3pt" class="btn btn-primary"><?= htmlspecialchars($key); ?></a>
|
?>
|
||||||
<?php
|
<a href="<?= htmlspecialchars($val); ?>" role="button" style="margin-bottom:3pt" class="btn btn-primary"><?= htmlspecialchars($key); ?></a>
|
||||||
}
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue