New template files
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Sep 2006 14:26:07 +0000 (14:26 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Sep 2006 14:26:07 +0000 (14:26 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11753 7612ce4b-ef26-0410-bec9-ea0150e637f0

css/rtl.css [new file with mode: 0644]
templates/default/config.php [new file with mode: 0644]
templates/default/protocol_header.tpl [new file with mode: 0644]
templates/default_advanced/config.php [new file with mode: 0644]

diff --git a/css/rtl.css b/css/rtl.css
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/templates/default/config.php b/templates/default/config.php
new file mode 100644 (file)
index 0000000..d8bc545
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+
+/**
+ * Provides some basic configuration options to the template engine
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+
+/**
+ * Indicates what template engine this template set uses.
+ */
+$template_engine = SQ_PHP_TEMPLATE;
+
+
+/**
+ * Required Javascript files for this template set.  If a JS file is listed
+ * here, but not listed in the provided js files below, SquirrelMail will use
+ * the file by the same name in the default template directory.
+ */
+$required_js_files = array  (
+                                'default.js',
+                            );
+
+
diff --git a/templates/default/protocol_header.tpl b/templates/default/protocol_header.tpl
new file mode 100644 (file)
index 0000000..bfe8c93
--- /dev/null
@@ -0,0 +1,39 @@
+<?php
+
+/**
+ * protocol_header.tpl
+ *
+ * Template to create the HTML header for each page.
+ *
+ * The following variables are avilable in this template:
+ *      $frames        - boolean value indicating if the page being 
+ *                       rendered is a frameset or not
+ *      $lang          - string indicating current SM interface language 
+ *      $title         - current page title string
+ *      $header_tags   - string containing text of any tags to be rendered
+ *                       in the page header (meta tags, style links,
+ *                       javascript links, etc.)
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+/* retrieve the template vars */
+extract($t);
+
+
+if ($frames) { ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">
+<?php } else { ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<?php } ?>
+<html<?php if (!empty($lang)) { ?> lang="<?php echo $lang; ?>"<?php } ?>>
+<head>
+<title><?php if (!empty($title)) { ?><?php echo $title ?><?php } ?></title>
+<?php if (!empty($header_tags)) { ?><?php echo $header_tags ?><?php } ?>
+</head>
+
+
diff --git a/templates/default_advanced/config.php b/templates/default_advanced/config.php
new file mode 100644 (file)
index 0000000..3578687
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+/**
+ * Provides some basic configuration options to the template engine
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+
+/**
+ * Indicates what template engine this template set uses.
+ */
+$template_engine = SQ_PHP_TEMPLATE;
+
+
+/**
+ * Required Javascript files for this template set.  If a JS file is listed
+ * here, but not listed in the provided js files below, SquirrelMail will use
+ * the file by the same name in the default template directory.
+ */
+$required_js_files = array  (
+                                'default.js',
+                                'dtree.js',
+                            );
+
+