mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 18:53:01 +02:00
feature #534, modernize admin homepage {wip}
* add tab * display the pending comments as a "message" (new blue box) * remove anything related to environment #532 * display stats as big icon + big number + caption * new stat "storage used"
This commit is contained in:
@@ -27,6 +27,10 @@ function add_core_tabs($sheets, $tab_id)
|
||||
{
|
||||
switch($tab_id)
|
||||
{
|
||||
case 'admin_home':
|
||||
$sheets[''] = array('caption' => l10n('Administration Home'), 'url' => 'admin.php');
|
||||
break;
|
||||
|
||||
case 'album':
|
||||
global $admin_album_base_url;
|
||||
$sheets['properties'] = array('caption' => '<span class="icon-pencil"></span>'.l10n('Properties'), 'url' => $admin_album_base_url.'-properties');
|
||||
|
||||
Reference in New Issue
Block a user