summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-06-15 09:19:47 +0000
committeralecpl <alec@alec.pl>2008-06-15 09:19:47 +0000
commite58df3adc9b4182c232c94178d024bb4a89c2290 (patch)
treeb0bb042ac42eab574bcb7dcec1c8d4b5b90ee54a /program/include/main.inc
parent46290afee202066d2510db1c02e86838da88545c (diff)
- Added option to select skin in user preferences (#1485031)
- template_exists() moved to rcube_template class
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc16
1 files changed, 0 insertions, 16 deletions
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
@@ -503,22 +503,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
*
* @param array Named table attributes