diff --git a/src/admin/templates/abuse.prefs.tpl b/src/admin/templates/abuse.prefs.tpl
index a9e261b..5fe5f43 100644
--- a/src/admin/templates/abuse.prefs.tpl
+++ b/src/admin/templates/abuse.prefs.tpl
@@ -46,7 +46,7 @@
{elseif $fieldInfo.type==2}
{elseif $fieldInfo.type==1}
-
+
{/if}
diff --git a/src/admin/templates/admins.edit.tpl b/src/admin/templates/admins.edit.tpl
index d5c6110..5eac201 100644
--- a/src/admin/templates/admins.edit.tpl
+++ b/src/admin/templates/admins.edit.tpl
@@ -7,15 +7,15 @@
{lng p="username"}:
-
+
{lng p="firstname"}:
-
+
{lng p="lastname"}:
-
+
{lng p="type"}:
diff --git a/src/admin/templates/groups.edit.tpl b/src/admin/templates/groups.edit.tpl
index c649320..94a8824 100644
--- a/src/admin/templates/groups.edit.tpl
+++ b/src/admin/templates/groups.edit.tpl
@@ -8,7 +8,7 @@
diff --git a/src/admin/templates/maintenance.inactive.list.tpl b/src/admin/templates/maintenance.inactive.list.tpl
index a26af60..fb3337c 100644
--- a/src/admin/templates/maintenance.inactive.list.tpl
+++ b/src/admin/templates/maintenance.inactive.list.tpl
@@ -8,8 +8,8 @@
{if $smarty.post.queryTypeLogin} {/if}
{if $smarty.post.queryTypeGroups} {/if}
-{if $smarty.post.loginDays} {/if}
-{foreach from=$smarty.post.groups item=item key=key} {/foreach}
+{if $smarty.post.loginDays} {/if}
+{foreach from=$smarty.post.groups item=item key=key} {/foreach}
{lng p="inactiveusers"}
diff --git a/src/admin/templates/newsletter.templates.edit.tpl b/src/admin/templates/newsletter.templates.edit.tpl
index 5412642..3eb92d3 100644
--- a/src/admin/templates/newsletter.templates.edit.tpl
+++ b/src/admin/templates/newsletter.templates.edit.tpl
@@ -6,7 +6,7 @@
{lng p="title"}:
-
+
{lng p="mode"}:
@@ -20,11 +20,11 @@
{lng p="from"}:
-
+
{lng p="subject"}:
-
+
{lng p="priority"}:
diff --git a/src/admin/templates/newsletter.templates.tpl b/src/admin/templates/newsletter.templates.tpl
index eb370af..fec03bf 100644
--- a/src/admin/templates/newsletter.templates.tpl
+++ b/src/admin/templates/newsletter.templates.tpl
@@ -67,7 +67,7 @@
{lng p="from"}:
-
+
{lng p="subject"}:
diff --git a/src/admin/templates/newsletter.tpl b/src/admin/templates/newsletter.tpl
index bff99c3..7ba05c6 100644
--- a/src/admin/templates/newsletter.tpl
+++ b/src/admin/templates/newsletter.tpl
@@ -75,7 +75,7 @@
{lng p="from"}:
-
+
{lng p="subject"}:
diff --git a/src/admin/templates/prefs.ads.edit.tpl b/src/admin/templates/prefs.ads.edit.tpl
index a5bfd3c..2a117f5 100644
--- a/src/admin/templates/prefs.ads.edit.tpl
+++ b/src/admin/templates/prefs.ads.edit.tpl
@@ -11,7 +11,7 @@
{lng p="category"}:
-
+
{lng p="weight"}:
diff --git a/src/admin/templates/prefs.coupons.edit.tpl b/src/admin/templates/prefs.coupons.edit.tpl
index 64da973..41a735c 100644
--- a/src/admin/templates/prefs.coupons.edit.tpl
+++ b/src/admin/templates/prefs.coupons.edit.tpl
@@ -7,7 +7,7 @@
{lng p="code"}:
-
+
@@ -16,7 +16,7 @@
{lng p="unlimited"}
{lng p="or"}
-
+
diff --git a/src/admin/templates/prefs.profilefields.edit.tpl b/src/admin/templates/prefs.profilefields.edit.tpl
index 8438f41..97d7b91 100644
--- a/src/admin/templates/prefs.profilefields.edit.tpl
+++ b/src/admin/templates/prefs.profilefields.edit.tpl
@@ -6,11 +6,11 @@
{lng p="field"}:
-
+
{lng p="validityrule"}:
-
+
{lng p="pfrulenote"}
@@ -36,7 +36,7 @@
{lng p="options"}:
-
+
{lng p="optionsdesc"}
diff --git a/src/admin/templates/prefs.recvrules.edit.tpl b/src/admin/templates/prefs.recvrules.edit.tpl
index 14d9e2e..ec4fd5b 100644
--- a/src/admin/templates/prefs.recvrules.edit.tpl
+++ b/src/admin/templates/prefs.recvrules.edit.tpl
@@ -6,11 +6,11 @@
{lng p="field"}:
-
+
{lng p="expression"}:
-
+
{lng p="action"}:
diff --git a/src/admin/templates/prefs.sms.types.edit.tpl b/src/admin/templates/prefs.sms.types.edit.tpl
index af82372..c884e86 100644
--- a/src/admin/templates/prefs.sms.types.edit.tpl
+++ b/src/admin/templates/prefs.sms.types.edit.tpl
@@ -6,7 +6,7 @@
{lng p="title"}:
-
+
{lng p="gateway"}:
@@ -19,7 +19,7 @@
{lng p="type"}:
-
+
{lng p="price"}:
diff --git a/src/admin/templates/users.list.tpl b/src/admin/templates/users.list.tpl
index 79333af..c32c859 100644
--- a/src/admin/templates/users.list.tpl
+++ b/src/admin/templates/users.list.tpl
@@ -4,7 +4,7 @@
-{if $queryString} {/if}
+{if !empty($queryString)} {/if}
{if isset($searchQuery)}
@@ -128,7 +128,7 @@
{foreach from=$fields item=field key=fieldID}
-
+
{text value=$field.feld}
{/foreach}
diff --git a/src/admin/templates/users.transactions.tpl b/src/admin/templates/users.transactions.tpl
index a75341e..2d6b0ec 100644
--- a/src/admin/templates/users.transactions.tpl
+++ b/src/admin/templates/users.transactions.tpl
@@ -4,7 +4,7 @@
-{if $queryString} {/if}
+{if !empty($queryString)} {/if}
{lng p="transactions"} ({email value=$user.email}, #{$user.id})
diff --git a/src/admin/templates/workgroups.folders.edit.tpl b/src/admin/templates/workgroups.folders.edit.tpl
index b237c0e..ec42dc6 100644
--- a/src/admin/templates/workgroups.folders.edit.tpl
+++ b/src/admin/templates/workgroups.folders.edit.tpl
@@ -6,7 +6,7 @@
{lng p="title"}:
-
+
{lng p="itemsperpage"}:
diff --git a/src/plugins/templates/bms.admin.deliveryrules.tpl b/src/plugins/templates/bms.admin.deliveryrules.tpl
index 51c6165..0d7f8df 100644
--- a/src/plugins/templates/bms.admin.deliveryrules.tpl
+++ b/src/plugins/templates/bms.admin.deliveryrules.tpl
@@ -26,14 +26,14 @@
{lng p="bms_recipient"}
{lng p="bms_recpdomain"}
-
+
{lng p="bms_target_0"}
{lng p="bms_redirecttosendmail"}
{lng p="bms_redirecttosmtprelay"}
{lng p="bms_target_3"}
-
+
{lng p="bms_flag_ci"}
diff --git a/src/plugins/templates/bms.admin.imap.tpl b/src/plugins/templates/bms.admin.imap.tpl
index 96ad3ef..a3fd5ba 100644
--- a/src/plugins/templates/bms.admin.imap.tpl
+++ b/src/plugins/templates/bms.admin.imap.tpl
@@ -6,7 +6,7 @@
{lng p="bms_greeting"}:
-
+
{lng p="bms_timeout"}:
@@ -56,19 +56,19 @@
{lng p="bms_folder_sent"}:
-
+
{lng p="bms_folder_spam"}:
-
+
{lng p="bms_folder_drafts"}:
-
+
{lng p="bms_folder_trash"}:
-
+
@@ -110,9 +110,9 @@
{lng p="bms_serverport"}:
-
+
:
-
+
diff --git a/src/plugins/templates/bms.admin.logs.tpl b/src/plugins/templates/bms.admin.logs.tpl
index 564732a..5e3fa11 100644
--- a/src/plugins/templates/bms.admin.logs.tpl
+++ b/src/plugins/templates/bms.admin.logs.tpl
@@ -97,7 +97,7 @@
{lng p="search"}:
-
+
diff --git a/src/plugins/templates/bms.admin.msgqueue.tpl b/src/plugins/templates/bms.admin.msgqueue.tpl
index 6827878..a082bc6 100644
--- a/src/plugins/templates/bms.admin.msgqueue.tpl
+++ b/src/plugins/templates/bms.admin.msgqueue.tpl
@@ -32,7 +32,7 @@
{lng p="bms_control_addr"}:
-
+
@@ -61,7 +61,7 @@
{lng p="bms_php_path"}:
-
+
{lng p="bms_reuseprocess"}?
@@ -88,14 +88,14 @@
{lng p="sendmailpath"}:
-
+
{lng p="smtphost"}:
-
+
{lng p="smtpport"}:
@@ -136,7 +136,7 @@
{lng p="bms_signature_sep"}:
-
+
{/if}
diff --git a/src/plugins/templates/bms.admin.pop3.tpl b/src/plugins/templates/bms.admin.pop3.tpl
index 9615c20..98cae10 100644
--- a/src/plugins/templates/bms.admin.pop3.tpl
+++ b/src/plugins/templates/bms.admin.pop3.tpl
@@ -6,7 +6,7 @@
{lng p="bms_greeting"}:
-
+
{lng p="bms_timeout"}:
diff --git a/src/plugins/templates/bms.admin.queue.tpl b/src/plugins/templates/bms.admin.queue.tpl
index 672370b..7007799 100644
--- a/src/plugins/templates/bms.admin.queue.tpl
+++ b/src/plugins/templates/bms.admin.queue.tpl
@@ -111,7 +111,7 @@
{lng p="searchfor"}:
-
+
diff --git a/src/plugins/templates/bms.admin.smtp.tpl b/src/plugins/templates/bms.admin.smtp.tpl
index bbe06a1..45bf3d3 100644
--- a/src/plugins/templates/bms.admin.smtp.tpl
+++ b/src/plugins/templates/bms.admin.smtp.tpl
@@ -6,7 +6,7 @@
{lng p="bms_greeting"}:
-
+
{lng p="bms_timeout"}:
diff --git a/src/plugins/templates/jfchatauth.plugin.prefs.tpl b/src/plugins/templates/jfchatauth.plugin.prefs.tpl
index bbc1772..71067b2 100644
--- a/src/plugins/templates/jfchatauth.plugin.prefs.tpl
+++ b/src/plugins/templates/jfchatauth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/plugins/templates/joomlaauth.plugin.prefs.tpl b/src/plugins/templates/joomlaauth.plugin.prefs.tpl
index 14fa4fa..19f015b 100644
--- a/src/plugins/templates/joomlaauth.plugin.prefs.tpl
+++ b/src/plugins/templates/joomlaauth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/plugins/templates/koobi7auth.plugin.prefs.tpl b/src/plugins/templates/koobi7auth.plugin.prefs.tpl
index 3c5ee30..e06a233 100644
--- a/src/plugins/templates/koobi7auth.plugin.prefs.tpl
+++ b/src/plugins/templates/koobi7auth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/plugins/templates/modfax.admin.gateways.edit.tpl b/src/plugins/templates/modfax.admin.gateways.edit.tpl
index 1c1973c..7e7cb2b 100644
--- a/src/plugins/templates/modfax.admin.gateways.edit.tpl
+++ b/src/plugins/templates/modfax.admin.gateways.edit.tpl
@@ -6,7 +6,7 @@
{lng p="title"}:
-
+
{lng p="modfax_numberformat"}:
@@ -38,19 +38,19 @@
{lng p="modfax_emailfrom"}:
-
+
{lng p="modfax_emailto"}:
-
+
{lng p="modfax_emailsubject"}:
-
+
@@ -62,7 +62,7 @@
{lng p="modfax_emailpdffile"}:
-
+
@@ -72,7 +72,7 @@
{lng p="modfax_httpurl"}:
-
+
@@ -84,7 +84,7 @@
{lng p="returnvalue"}:
-
+
@@ -110,19 +110,19 @@
{lng p="modfax_emailfrom"}:
-
+
{lng p="modfax_emailto"}:
-
+
{lng p="modfax_emailsubject"}:
-
+
@@ -132,7 +132,7 @@
{lng p="subject"}
{lng p="text"}
-
+
@@ -142,7 +142,7 @@
{lng p="subject"}
{lng p="text"}
-
+
@@ -152,19 +152,19 @@
{lng p="modfax_statuscode_param"}:
-
+
{lng p="modfax_result_param"}:
-
+
{lng p="modfax_success_from"}:
-
+
@@ -175,11 +175,11 @@
{lng p="user"}:
-
+
{lng p="password"}:
-
+
diff --git a/src/plugins/templates/modfax.admin.gateways.simple.tpl b/src/plugins/templates/modfax.admin.gateways.simple.tpl
index f4ff202..d767e17 100644
--- a/src/plugins/templates/modfax.admin.gateways.simple.tpl
+++ b/src/plugins/templates/modfax.admin.gateways.simple.tpl
@@ -17,8 +17,8 @@
{text value=$gateway.title}
{if $gateway.protocol==1}{lng p="modfax_email"}{else}{lng p="modfax_http"}{/if}
-
-
+
+
{/foreach}
diff --git a/src/plugins/templates/modfax.admin.prefixes.edit.tpl b/src/plugins/templates/modfax.admin.prefixes.edit.tpl
index 05567b8..5849b7f 100644
--- a/src/plugins/templates/modfax.admin.prefixes.edit.tpl
+++ b/src/plugins/templates/modfax.admin.prefixes.edit.tpl
@@ -6,11 +6,11 @@
{lng p="modfax_country_prefix"}:
-
+
{lng p="modfax_prefix"}:
-
+
{lng p="gateway"}:
diff --git a/src/plugins/templates/modfax.admin.prefixes.tpl b/src/plugins/templates/modfax.admin.prefixes.tpl
index 0706dfb..84cbfa1 100644
--- a/src/plugins/templates/modfax.admin.prefixes.tpl
+++ b/src/plugins/templates/modfax.admin.prefixes.tpl
@@ -57,7 +57,7 @@
{lng p="modfax_country_prefix"}:
-
+
{lng p="modfax_prefix"}:
diff --git a/src/plugins/templates/modfax.admin.prefs.tpl b/src/plugins/templates/modfax.admin.prefs.tpl
index f284ddc..4ed53e3 100644
--- a/src/plugins/templates/modfax.admin.prefs.tpl
+++ b/src/plugins/templates/modfax.admin.prefs.tpl
@@ -20,7 +20,7 @@
diff --git a/src/plugins/templates/modfax.user.compose.block.tpl b/src/plugins/templates/modfax.user.compose.block.tpl
index fed9afb..6971ef0 100644
--- a/src/plugins/templates/modfax.user.compose.block.tpl
+++ b/src/plugins/templates/modfax.user.compose.block.tpl
@@ -78,7 +78,7 @@
{lng p="phone"}:
-
+
{lng p="modfax_remark"}:
diff --git a/src/plugins/templates/mybbauth.plugin.prefs.tpl b/src/plugins/templates/mybbauth.plugin.prefs.tpl
index e21cf1a..83ba903 100644
--- a/src/plugins/templates/mybbauth.plugin.prefs.tpl
+++ b/src/plugins/templates/mybbauth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/plugins/templates/news.admin.edit.tpl b/src/plugins/templates/news.admin.edit.tpl
index 15519f4..34c2522 100644
--- a/src/plugins/templates/news.admin.edit.tpl
+++ b/src/plugins/templates/news.admin.edit.tpl
@@ -8,7 +8,7 @@
{lng p="title"}:
-
+
{lng p="type"}:
diff --git a/src/plugins/templates/openfire.plugin.prefs.tpl b/src/plugins/templates/openfire.plugin.prefs.tpl
index 59188d0..0c71f24 100644
--- a/src/plugins/templates/openfire.plugin.prefs.tpl
+++ b/src/plugins/templates/openfire.plugin.prefs.tpl
@@ -11,19 +11,19 @@
{lng p="openfire_domain"}:
-
+
{lng p="openfire_port"}:
-
+
{lng p="openfire_https"}?
-
+
{lng p="openfire_secretkey"}:
-
+
diff --git a/src/plugins/templates/pacc.admin.prefs.tpl b/src/plugins/templates/pacc.admin.prefs.tpl
index 1886f54..8adf32f 100644
--- a/src/plugins/templates/pacc.admin.prefs.tpl
+++ b/src/plugins/templates/pacc.admin.prefs.tpl
@@ -10,7 +10,7 @@
{lng p="pacc_update_notification"}:
- {lng p="pacc_before_expiration"}
+ {lng p="pacc_before_expiration"}
{lng p="pacc_update_notification_altmail"}
diff --git a/src/plugins/templates/phpbb3auth.plugin.prefs.tpl b/src/plugins/templates/phpbb3auth.plugin.prefs.tpl
index 1b57be8..ddfb464 100644
--- a/src/plugins/templates/phpbb3auth.plugin.prefs.tpl
+++ b/src/plugins/templates/phpbb3auth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/plugins/templates/vbauth.plugin.prefs.tpl b/src/plugins/templates/vbauth.plugin.prefs.tpl
index 7664569..380df3f 100644
--- a/src/plugins/templates/vbauth.plugin.prefs.tpl
+++ b/src/plugins/templates/vbauth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/plugins/templates/wbb2auth.plugin.prefs.tpl b/src/plugins/templates/wbb2auth.plugin.prefs.tpl
index 5e286d8..6c3ee04 100644
--- a/src/plugins/templates/wbb2auth.plugin.prefs.tpl
+++ b/src/plugins/templates/wbb2auth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/plugins/templates/wbb3auth.plugin.prefs.tpl b/src/plugins/templates/wbb3auth.plugin.prefs.tpl
index bbc8f9c..f365466 100644
--- a/src/plugins/templates/wbb3auth.plugin.prefs.tpl
+++ b/src/plugins/templates/wbb3auth.plugin.prefs.tpl
@@ -10,23 +10,23 @@
MySQL {lng p="host"}:
-
+
MySQL {lng p="user"}:
-
+
MySQL {lng p="password"}:
-
+
MySQL {lng p="db"}:
-
+
MySQL Prefix:
-
+
{lng p="user"}-{lng p="domain"}:
diff --git a/src/templates/modern/li/email.compose.tpl b/src/templates/modern/li/email.compose.tpl
index 94467ee..0152e7b 100644
--- a/src/templates/modern/li/email.compose.tpl
+++ b/src/templates/modern/li/email.compose.tpl
@@ -96,7 +96,7 @@
{lng p="attachments"}:
-
+
diff --git a/src/templates/modern/li/email.folders.conditions.tpl b/src/templates/modern/li/email.folders.conditions.tpl
index f173e79..e59fa87 100644
--- a/src/templates/modern/li/email.folders.conditions.tpl
+++ b/src/templates/modern/li/email.folders.conditions.tpl
@@ -53,7 +53,7 @@
{lng p="startswith"}
{lng p="endswith"}
-
+
diff --git a/src/templates/modern/li/email.folders.edit.tpl b/src/templates/modern/li/email.folders.edit.tpl
index 65c3f34..3d3da57 100644
--- a/src/templates/modern/li/email.folders.edit.tpl
+++ b/src/templates/modern/li/email.folders.edit.tpl
@@ -14,7 +14,7 @@
* {lng p="title"}:
-
+
diff --git a/src/templates/modern/li/email.folders.editsys.tpl b/src/templates/modern/li/email.folders.editsys.tpl
index 943c94c..8618056 100644
--- a/src/templates/modern/li/email.folders.editsys.tpl
+++ b/src/templates/modern/li/email.folders.editsys.tpl
@@ -13,7 +13,7 @@
* {lng p="title"}:
-
+
diff --git a/src/templates/modern/li/error.tpl b/src/templates/modern/li/error.tpl
index 8b9a59a..3e46b54 100644
--- a/src/templates/modern/li/error.tpl
+++ b/src/templates/modern/li/error.tpl
@@ -6,8 +6,8 @@
{lng p="error"}
{$msg}
-
- {if $otherButton} {/if}
+
+ {if !empty($otherButton)} {/if}
\ No newline at end of file
diff --git a/src/templates/modern/li/organizer.addressbook.importcsv.tpl b/src/templates/modern/li/organizer.addressbook.importcsv.tpl
index 103b4b4..38fe430 100644
--- a/src/templates/modern/li/organizer.addressbook.importcsv.tpl
+++ b/src/templates/modern/li/organizer.addressbook.importcsv.tpl
@@ -8,7 +8,7 @@