Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 1084 | Rev 1254 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1084 Rev 1171
Line 502... Line 502...
502
			self::$default_params['retour.champs']
502
			self::$default_params['retour.champs']
503
		);
503
		);
504
	}
504
	}
Line 505... Line 505...
505
 
505
 
-
 
506
	static function getNNCoste($refnn) {
-
 
507
		if(strpos($refnn, 'coste.nn:') == 0) 
506
	static function getNNCoste($refnn) {
508
		$refnn = intval(str_replace('coste.nn:', '', $refnn));
507
		if (is_numeric($refnn)) {
-
 
508
			$t = intval($refnn);
509
		if (is_numeric($refnn)) {
509
			if ($t >= 1 && $t < _COSTE_TEXTE_MAX_COSTE_NN) return $t;
510
			if ($refnn >= 1 && $refnn < _COSTE_TEXTE_MAX_COSTE_NN) return $refnn;
510
		}
511
		}
511
		return FALSE;
512
		return FALSE;
Line 512... Line 513...
512
	}
513
	}