Browse Source

Let template set tell us what the valid non-breaking space is for the target output format. This is somewhat inefficient (although so far only found one place to use it - commit coming later); faster design choice might be to create a <template_name>_functions.php file in the template set's directory, where a function called <template_name>_non_breaking_space() can be called, but then where do you draw the line? (Could also replace the hyperlink.tpl file, but then it starts to look like you are doing exactly what the template engine is supposed to be doing.)

pdontthink 18 years ago
parent
commit
4624de988c
1 changed files with 19 additions and 0 deletions
  1. 19 0
      templates/default/non_breaking_space.tpl

+ 19 - 0
templates/default/non_breaking_space.tpl

@@ -0,0 +1,19 @@
+<?php
+
+/**
+  * non_breaking_space.tpl
+  *
+  * Template for constructing a non-breaking space.
+  *
+  * The following variables are available in this template:
+  *      (none)
+  *
+  * @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
+  */
+
+
+?>&nbsp;