function fs_get_browsers_tree($days_ago = NULL) { if (!$days_ago) { $days_ago = fs_browsers_tree_days_ago(); } return fs_get_stats_tree(fs_get_browser_statistics($days_ago), 'browsers_tree_id'); }
-- </div> </div> <!-- warp --> <div class="fwrap"> <h2><?php fs_e('Browsers'); fs_create_anchor('Browsers'); ?> <span> <?php fs_cfg_button('browsers_config'); ?> <span id="browsers_config" class="normal_font hidden"> <?php $days = fs_get_num_textfield('firestats_browsers_tree_days_ago', 'fs_browsers_tree', fs_browsers_tree_days_ago(), 4); $show_for_the_last_Y_days = sprintf(fs_r("Show items for the last %s days"), $days); ?> <span> <?php echo $show_for_the_last_Y_days; ?> <button class="button" onclick="saveOptions('firestats_browsers_tree_days_ago','fs_browsers_tree')"><?php fs_e('Apply'); ?> </button> </span> </span> </span> </h2> <div id="fs_browsers_tree" class="tree_container">