(Original Author) * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ echo '
'; if ($this->controller->Config->getValue('stats_updating')) { echo '
'._('statistics_notice_data_updating').'
'; } if (isset($_GET['settings'])) { echo '
'._('statistics_notice_settings_updated').'
'; } ?>
selectTag('Addon/id', $all_addons, $addon_id, array('onChange' => 'changeAddon(this);'), null, false).'
'; } ?> link(_('statistics_addon_developertools_link'), '/developers')?> | link(_('statistics_addon_dashboard_link'), '/statistics')?> |
<?=$addon_name?> Icon

0): ?>
controller->Config->getValue('stats_disabled')): ?>
controller->Config->getValue('stats_disabled')): ?>

controller->Config->getValue('stats_disabled') || $this->controller->SimpleAcl->actionAllowed('*', '*', $this->controller->Session->read('User'))): ?>
number_format($stats['totaldownloads'], 0) : 0)?>
number_format($stats['last_updatepings'], 0) : 0)?>
number_format($stats['last_downloads'], 0) : 0)?>
number_format($stats['previous_updatepings'], 0), strftime(_('statistics_date_shortmonth'), strtotime($stats['previous_updatepings_date']))); else echo _('statistics_summary_nodata'); ?>
0) echo '+'; elseif ($stats['updateping_change'] < 0) echo ''; else echo ''; echo round($stats['updateping_change'], 2).'%'; } else echo '0'; ?>
number_format($stats['avg_downloads'], 0) : 0)?> number_format($stats['avg_updatepings'], 0) : 0)?>
number_format($stats['weeklydownloads'], 0) : 0)?> link($html->image('stats/rss16x16.png'), "/statistics/addon/{$addon['Addon']['id']}/format:rss{$key}", array('title' => _('statistics_rss_icon_title')))?>
--
image('stats/lock_open.png', array('alt' => _('statistics_settings_unlocked_alt'))); } else { echo _('statistics_settings_currently_private'); echo ' '.$html->image('stats/lock.png', array('alt' => _('statistics_settings_locked_alt'))); } echo '
'; if ($this->controller->Amo->checkOwnership($addon_id, null, true)) echo $html->link(_('statistics_settings_change_link'), '/statistics/settings/'.$addon_id); elseif ($addon['Addon']['publicstats'] != 1) echo ''._('statistics_settings_confidential').''; ?>