From 64f81ff8d28cfe169c26f265e6b7da844aeb4a13 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 29 Apr 2010 07:56:20 +0000 Subject: [PATCH] Added a smarty function 'factory' which can be used the generate HTML content, e.g. the password input field. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17920 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/ihtml/themes/default/login.tpl | 8 +---- .../smarty/plugins/function.factory.php | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 gosa-core/include/smarty/plugins/function.factory.php diff --git a/gosa-core/ihtml/themes/default/login.tpl b/gosa-core/ihtml/themes/default/login.tpl index 1dc7ceacf..795dd6d9f 100644 --- a/gosa-core/ihtml/themes/default/login.tpl +++ b/gosa-core/ihtml/themes/default/login.tpl @@ -46,13 +46,7 @@
diff --git a/gosa-core/include/smarty/plugins/function.factory.php b/gosa-core/include/smarty/plugins/function.factory.php new file mode 100644 index 000000000..7156feb92 --- /dev/null +++ b/gosa-core/include/smarty/plugins/function.factory.php @@ -0,0 +1,31 @@ +"; + } + return($str); +} + +?> -- 2.30.2