Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1822 Rev 1840
Line 56... Line 56...
56
		return htmlspecialchars($url);
56
		return htmlspecialchars($url);
57
	}
57
	}
Line 58... Line 58...
58
 
58
 
59
	public function getUrlImage($id, $format = 'L') {
59
	public function getUrlImage($id, $format = 'L') {
60
		$url_tpl = $this->conteneur->getParametre('cel_img_url_tpl');
-
 
61
		$id = sprintf('%09s', $id).$format;
60
		$url_tpl = $this->conteneur->getParametre('cel_img_url_tpl');
62
		$url = sprintf($url_tpl, $id);
61
		$url = sprintf($url_tpl, $id, $format);
63
		return $url;
62
		return $url;
Line 64... Line 63...
64
	}
63
	}
65
 
64