Merge pull request #347 from PhoenixPeca/dev
Add Tooltip to mailcow Apps
This commit is contained in:
		| @@ -99,7 +99,7 @@ | |||||||
|           <?php |           <?php | ||||||
|           foreach ($MAILCOW_APPS as $app): |           foreach ($MAILCOW_APPS as $app): | ||||||
|           ?> |           ?> | ||||||
|             <li><a href="<?= $app['link']; ?>"><?= $app['name']; ?></a></li> |             <li title="<?= htmlspecialchars($app['description']); ?>"><a href="<?= htmlspecialchars($app['link']); ?>"><?= htmlspecialchars($app['name']); ?></a></li> | ||||||
|           <?php |           <?php | ||||||
|           endforeach; |           endforeach; | ||||||
|           ?> |           ?> | ||||||
|   | |||||||
| @@ -42,11 +42,13 @@ $PASSWD_REGEP = '.{4,}'; | |||||||
| $MAILCOW_APPS = array( | $MAILCOW_APPS = array( | ||||||
|   array( |   array( | ||||||
|     'name' => 'SOGo', |     'name' => 'SOGo', | ||||||
|     'link' => '/SOGo/' |     'link' => '/SOGo/', | ||||||
|  |     'description' => 'SOGo is a web-based client for email, address book and calendar.' | ||||||
|   ), |   ), | ||||||
|   // array( |   // array( | ||||||
|     // 'name' => 'Roundcube', |     // 'name' => 'Roundcube', | ||||||
|     // 'link' => '/rc/' |     // 'link' => '/rc/', | ||||||
|  |     // 'description' => 'Roundcube is a web-based email client.', | ||||||
|   // ), |   // ), | ||||||
| ); | ); | ||||||
|  |  | ||||||
| @@ -60,4 +62,4 @@ $LOG_PAGINATION_SIZE = 30; | |||||||
| $SESSION_LIFETIME = 3600; | $SESSION_LIFETIME = 3600; | ||||||
|  |  | ||||||
| // Label for OTP devices | // Label for OTP devices | ||||||
| $OTP_LABEL = "mailcow UI"; | $OTP_LABEL = "mailcow UI"; | ||||||
|   | |||||||
| @@ -69,7 +69,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI']; | |||||||
|           <?php |           <?php | ||||||
|           foreach ($MAILCOW_APPS as $app): |           foreach ($MAILCOW_APPS as $app): | ||||||
|           ?> |           ?> | ||||||
|             <a href="<?= $app['link']; ?>" role="button" class="btn btn-lg btn-default"><?= $app['name']; ?></a>  |             <a href="<?= htmlspecialchars($app['link']); ?>" role="button" title="<?= htmlspecialchars($app['description']); ?>" class="btn btn-lg btn-default"><?= htmlspecialchars($app['name']); ?></a>  | ||||||
|           <?php |           <?php | ||||||
|           endforeach; |           endforeach; | ||||||
|           ?> |           ?> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user