From bbf69c444d97862b0cd09a4a4ce9255a306bca0a Mon Sep 17 00:00:00 2001 From: Sebijk Date: Tue, 31 Jan 2023 22:43:33 +0100 Subject: [PATCH] fix again a lot of undefined index --- src/admin/templates/abuse.prefs.tpl | 2 +- src/admin/templates/admins.edit.tpl | 6 +-- src/admin/templates/groups.edit.tpl | 8 ++-- src/admin/templates/logs.tpl | 2 +- .../templates/maintenance.inactive.list.tpl | 4 +- .../templates/newsletter.templates.edit.tpl | 6 +-- src/admin/templates/newsletter.templates.tpl | 2 +- src/admin/templates/newsletter.tpl | 2 +- src/admin/templates/prefs.ads.edit.tpl | 2 +- src/admin/templates/prefs.coupons.edit.tpl | 4 +- .../templates/prefs.profilefields.edit.tpl | 6 +-- src/admin/templates/prefs.recvrules.edit.tpl | 4 +- src/admin/templates/prefs.sms.types.edit.tpl | 4 +- src/admin/templates/users.list.tpl | 4 +- src/admin/templates/users.transactions.tpl | 2 +- .../templates/workgroups.folders.edit.tpl | 2 +- .../templates/bms.admin.deliveryrules.tpl | 4 +- src/plugins/templates/bms.admin.imap.tpl | 14 +++---- src/plugins/templates/bms.admin.logs.tpl | 2 +- src/plugins/templates/bms.admin.msgqueue.tpl | 10 ++--- src/plugins/templates/bms.admin.pop3.tpl | 2 +- src/plugins/templates/bms.admin.queue.tpl | 2 +- src/plugins/templates/bms.admin.smtp.tpl | 2 +- .../templates/jfchatauth.plugin.prefs.tpl | 10 ++--- .../templates/joomlaauth.plugin.prefs.tpl | 10 ++--- .../templates/koobi7auth.plugin.prefs.tpl | 10 ++--- .../templates/modfax.admin.gateways.edit.tpl | 34 +++++++-------- .../modfax.admin.gateways.simple.tpl | 4 +- .../templates/modfax.admin.prefixes.edit.tpl | 4 +- .../templates/modfax.admin.prefixes.tpl | 2 +- src/plugins/templates/modfax.admin.prefs.tpl | 6 +-- .../templates/modfax.user.compose.block.tpl | 2 +- .../templates/mybbauth.plugin.prefs.tpl | 10 ++--- src/plugins/templates/news.admin.edit.tpl | 2 +- .../templates/openfire.plugin.prefs.tpl | 8 ++-- src/plugins/templates/pacc.admin.prefs.tpl | 2 +- .../templates/phpbb3auth.plugin.prefs.tpl | 10 ++--- src/plugins/templates/vbauth.plugin.prefs.tpl | 10 ++--- .../templates/wbb2auth.plugin.prefs.tpl | 10 ++--- .../templates/wbb3auth.plugin.prefs.tpl | 10 ++--- src/templates/modern/li/email.compose.tpl | 2 +- .../modern/li/email.folders.conditions.tpl | 2 +- .../modern/li/email.folders.edit.tpl | 2 +- .../modern/li/email.folders.editsys.tpl | 2 +- src/templates/modern/li/error.tpl | 4 +- .../li/organizer.addressbook.importcsv.tpl | 2 +- .../modern/li/organizer.calendar.edit.tpl | 6 +-- .../li/organizer.calendar.groups.edit.tpl | 2 +- .../modern/li/organizer.customize.tpl | 4 +- .../modern/li/organizer.todo.edit.tpl | 2 +- src/templates/modern/li/payment.pay.tpl | 4 +- .../modern/li/prefs.aliases.edit.tpl | 6 +-- src/templates/modern/li/prefs.common.tpl | 4 +- .../modern/li/prefs.extpop3.edit.tpl | 6 +-- .../modern/li/prefs.filters.edit.tpl | 2 +- .../li/prefs.keyring.issuecert.step2.tpl | 2 +- src/templates/modern/li/search.sidebar.tpl | 2 +- src/templates/modern/li/webdisk.dialog.tpl | 2 +- src/templates/modern/li/webdisk.folder.tpl | 4 +- src/templates/modern/li/webdisk.share.tpl | 2 +- src/templates/modern/m/compose.tpl | 6 +-- src/templates/modern/m/tasks.edit.tpl | 2 +- src/templates/modern/nli/contact.complete.tpl | 42 +++++++++---------- .../modern/nli/login.smsvalidation.tpl | 4 +- 64 files changed, 178 insertions(+), 178 deletions(-) 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 @@ - + @@ -235,11 +235,11 @@ - + - + @@ -266,7 +266,7 @@ {elseif $fieldInfo.type==2} {elseif $fieldInfo.type==1} - + {/if} {/foreach} diff --git a/src/admin/templates/logs.tpl b/src/admin/templates/logs.tpl index 3f6aa68..2abe1e6 100644 --- a/src/admin/templates/logs.tpl +++ b/src/admin/templates/logs.tpl @@ -65,7 +65,7 @@
{lng p="title"}:
{lng p="htmlview"}?
{lng p="smsfrom"}:
{lng p="smssig"}:
{lng p="mailsig"}:
{lng p="search"}: - +
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="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} - +
{/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 @@ - + - +
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"}: - + {lng p= @@ -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 @@
- + @@ -142,7 +142,7 @@ - +