'Dynamic Recent Period', 'URL' => get_root_url() . 'admin.php?page=plugin-' . DYNARECEPERIO_ID, ); return $menu; } } // REMOVE INPUT ON PROFILE AND USERS LIST if (script_basename() == 'profile' || defined('IN_ADMIN')) { if ($conf['dynareceperio']['force']) { add_event_handler('loc_end_page_tail', 'dynareceperio_hide_recent_period'); function dynareceperio_hide_recent_period() { global $template, $page; if (@$page['page'] == 'user_list') { $template->set_prefilter('user_list', 'dynareceperio_user_list'); } else if (@$page['body_id']=='theProfilePage' || (@$page['page'] == 'configuration' && @$_GET['section'] == 'default')) { $template->block_footer_script(array('require'=>'jquery'), 'jQuery("#recent_period").parent().hide();'); } } function dynareceperio_user_list($content) { $search = '
{\'Recent period\'|translate}'; $replace = '