summaryrefslogtreecommitdiff
path: root/templates/mailbox.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:11:41 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:11:41 +0000
commit465182f8a748c53cb9667146071d0fba6a90c3f8 (patch)
tree9f7e9fdee322e7434b61a9ca6b5f554ebf282026 /templates/mailbox.tpl
parentd933b0644bd69a035e45346fcf1da3a97486f685 (diff)
downloadmessages-fa91bdee6d9cbed12dd6795d424a935175b3b782.tar.gz
messages-fa91bdee6d9cbed12dd6795d424a935175b3b782.tar.bz2
messages-fa91bdee6d9cbed12dd6795d424a935175b3b782.zip
Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones.V5-php84
Diffstat (limited to 'templates/mailbox.tpl')
-rwxr-xr-xtemplates/mailbox.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/mailbox.tpl b/templates/mailbox.tpl
index a8a9e64..7ebae09 100755
--- a/templates/mailbox.tpl
+++ b/templates/mailbox.tpl
@@ -67,10 +67,10 @@
{forminput}
<select name="flags" id="messages">
<option value="">{tr}All{/tr}</option>
- <option value="is_read_y" {if $smarty.request.flag eq 'is_read' and $smarty.request.flagval eq 'y'}selected="selected"{/if}>{tr}Read{/tr}</option>
- <option value="is_read_n" {if $smarty.request.flag eq 'is_read' and $smarty.request.flagval eq 'n'}selected="selected"{/if}>{tr}Unread{/tr}</option>
- <option value="is_flagged_y" {if $smarty.request.flag eq 'is_flagged' and $smarty.request.flagval eq 'y'}selected="selected"{/if}>{tr}Flagged{/tr}</option>
- <option value="is_flagged_y" {if $smarty.request.flag eq 'isflagged' and $smarty.request.flagval eq 'n'}selected="selected"{/if}>{tr}Unflagged{/tr}</option>
+ <option value="is_read_y" {if $smarty.request.flag eq 'is_read' && $smarty.request.flagval eq 'y'}selected="selected"{/if}>{tr}Read{/tr}</option>
+ <option value="is_read_n" {if $smarty.request.flag eq 'is_read' && $smarty.request.flagval eq 'n'}selected="selected"{/if}>{tr}Unread{/tr}</option>
+ <option value="is_flagged_y" {if $smarty.request.flag eq 'is_flagged' && $smarty.request.flagval eq 'y'}selected="selected"{/if}>{tr}Flagged{/tr}</option>
+ <option value="is_flagged_y" {if $smarty.request.flag eq 'isflagged' && $smarty.request.flagval eq 'n'}selected="selected"{/if}>{tr}Unflagged{/tr}</option>
</select>
{formhelp note=""}
{/forminput}