{include file='include/colorbox.inc.tpl'} {combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} {footer_script require='jquery.cluetip'} var piwigo_need_update_msg = '{'A new version of Piwigo is available.'|@translate|@escape:"javascript"} '; var ext_need_update_msg = '{'Some upgrades are available for extensions.'|@translate|@escape:"javascript"} '; {literal} jQuery().ready(function(){ jQuery('.cluetip').cluetip({ width: 300, splitTitle: '|', positionBy: 'bottomTop' }); jQuery.ajax({ type: 'GET', url: 'ws.php', dataType: 'json', data: { method: 'pwg.extensions.checkUpdates', format: 'json' }, timeout: 5000, success: function (data) { if (data['stat'] != 'ok') return; piwigo_update = data['result']['piwigo_need_update']; ext_update = data['result']['ext_need_update'] if ((piwigo_update || ext_update) && !jQuery(".warnings").is('div')) jQuery(".eiw").prepend('
'); if (piwigo_update) jQuery(".warnings ul").append('
  • '+piwigo_need_update_msg+'
  • '); if (ext_update) jQuery(".warnings ul").append('
  • '+ext_need_update_msg+'
  • '); } }); }); {/literal} {/footer_script} {html_style} .stat-boxes { text-align:left; margin:10px; } .stat-box { display:inline-block; width:200px; margin:10px; color:#777; } div.stat-box { cursor:help; } .stat-box:hover { color:#ff7700; } .stat-box i { font-size:50px; float:left; margin-right:5px; } .stat-box .number, .stat-box .caption { display:inline-block; width:120px; text-align:left; } .stat-box .number { margin-top:10px; font-size:20px; } .eiw .messages ul li { list-style-type:none !important; } .eiw .messages .eiw-icon { margin-right:10px !important; } {/html_style}

    {'Piwigo Administration'|@translate}

    {if $NB_PHOTOS > 1} {$NB_PHOTOS|number_format}{'Photos'|translate} {/if} {if $NB_ALBUMS > 1} {$NB_ALBUMS}{'Albums'|translate} {/if} {if $NB_TAGS > 1} {$NB_TAGS}{'Tags'|translate} {/if} {if $NB_USERS > 2} {$NB_USERS}{'Users'|translate} {/if} {if $NB_GROUPS > 0} {$NB_GROUPS}{'Groups'|translate} {/if} {if $NB_COMMENTS > 1} {$NB_COMMENTS}{'Comments'|translate} {/if} {if $NB_RATES > 0} {$NB_RATES}{'Rating'|translate} {/if} {if $NB_VIEWS > 0} {$NB_VIEWS}{'Pages seen'|translate} {/if} {if $NB_PLUGINS > 0} {$NB_PLUGINS}{'Plugins'|translate} {/if}
    {$STORAGE_USED}{'Storage used'|translate}
    {if $NB_PHOTOS > 1}
    {$first_added_age}{'First photo added'|translate}
    {/if}
    {* .stat-boxes *}

    {if $ENABLE_SYNCHRONIZATION} {'Quick Local Synchronization'|translate} {/if}
    {'Check for upgrade'|@translate} {if isset($SUBSCRIBE_BASE_URL)}
    {'Subscribe %s to Piwigo Announcements Newsletter'|@translate:$EMAIL} {/if}