summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/main.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-06-15 09:19:47 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-06-15 09:19:47 +0000
commit495ef5b443452f92fae14adbcace0d73ec0f7e41 (patch)
tree244b7bceffa8dbf9c9f41df63040c902b654eb13 /roundcubemail/program/include/main.inc
parent85d49a4e7303dec60778307f3aa158cf630abd10 (diff)
- Added option to select skin in user preferences (#1485031)
- template_exists() moved to rcube_template class git-svn-id: https://svn.roundcube.net/trunk@1539 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/main.inc')
-rw-r--r--roundcubemail/program/include/main.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc
index 73b9c4124..2740ee35d 100644
--- a/roundcubemail/program/include/main.inc
+++ b/roundcubemail/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