diff --git a/Repositories/statistics/config/inc.vars.es_src.php b/Repositories/statistics/config/inc.vars.es_src.php index d934608..1610e53 100755 --- a/Repositories/statistics/config/inc.vars.es_src.php +++ b/Repositories/statistics/config/inc.vars.es_src.php @@ -75,11 +75,18 @@ "keys" => array( "public" => array( "action" => array( - "maxlength" => "20", + "maxlength" => "25", "type" => "string", "action" => UNSET_REQUEST, "pattern" => "/[^\w]/i", - "values" => array('one','two'), + "values" => array( + 'show_detail_date', + 'show_detail_country', + 'show_detail_eprint', + 'cumulative_usage', + 'cumulative_usage_country', + 'cumulative_usage_map', + ), ), "year" => array( "maxlength" => "50", @@ -102,14 +109,13 @@ "type" => "string", "action" => UNSET_REQUEST, "pattern" => "/[^\w]/i", - "values" => array('one','two'), + "values" => array('4w','all',''), ), "code" => array( - "maxlength" => "3", + "maxlength" => "4", "type" => "string", "action" => UNSET_REQUEST, - "pattern" => "/[^\w]/i", - "values" => array('one','two'), + "pattern" => "/[^@\w]/i", ), /* maxlength here refers to largest integer */ "id" => array(