From e58df3adc9b4182c232c94178d024bb4a89c2290 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 15 Jun 2008 09:19:47 +0000 Subject: - Added option to select skin in user preferences (#1485031) - template_exists() moved to rcube_template class --- program/include/main.inc | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'program/include/main.inc') diff --git a/program/include/main.inc b/program/include/main.inc index 73b9c4124..2740ee35d 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -502,22 +502,6 @@ function strip_newlines($str) } -/** - * Check if a specific template exists - * - * @param string Template name - * @return boolean True if template exists - */ -function template_exists($name) - { - global $CONFIG; - $skin_path = $CONFIG['skin_path']; - - // check template file - return is_file("$skin_path/templates/$name.html"); - } - - /** * Create a HTML table based on the given data * -- cgit v1.2.3