From 495ef5b443452f92fae14adbcace0d73ec0f7e41 Mon Sep 17 00:00:00 2001 From: alec 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 git-svn-id: https://svn.roundcube.net/trunk@1539 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/main.inc | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'roundcubemail/program/include/main.inc') 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 @@ -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