fix isset checks
This commit is contained in:
parent
205e315230
commit
a46cc02930
|
@ -24,7 +24,7 @@
|
|||
<a href="{{@BASE}}/Logout">Logout</a>
|
||||
</check>
|
||||
|
||||
<check if="{{ @NAV.subnav }}">
|
||||
<check if="isset(@NAV.subnav)">
|
||||
<true>
|
||||
<p style="padding-top: 5px">
|
||||
>>
|
||||
|
@ -50,15 +50,15 @@
|
|||
</false>
|
||||
</check>
|
||||
</nav>
|
||||
<check if="{{ @page_header }}">
|
||||
<check if="isset(@page_header)">
|
||||
<h1>{{@page_header}}</h1>
|
||||
</check>
|
||||
</header>
|
||||
<main>
|
||||
<check if="{{ @ERROR.text }}">
|
||||
<check if="isset(@ERROR.text)">
|
||||
<h3>{{@ERROR.text}}</h3>
|
||||
</check>
|
||||
<check if="{{ @SESSION.messages }}">
|
||||
<check if="isset(@SESSION.messages)">
|
||||
<p>
|
||||
<section style="color:red">
|
||||
<repeat group="{{ @SESSION.messages }}" value="{{ @panel_message }}">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @confirm }}">
|
||||
<check if="isset(@confirm)">
|
||||
<true>
|
||||
<form action="{{@REALM}}" method="POST">
|
||||
<fieldset>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @aliases_array }}">
|
||||
<check if="isset(@aliases_array)">
|
||||
<true>
|
||||
|
||||
<table>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<b>Email Account</b> is the existing email account that the alias address is delivered to.<br>
|
||||
</p>
|
||||
<p>
|
||||
<check if="{{ @PARAMS.mbox }}">
|
||||
<check if="isset(@PARAMS.mbox)">
|
||||
<true>
|
||||
<a href="{{@REALM}}/Add">Add new email alias form</a>
|
||||
</true>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<include href="header.html" />
|
||||
|
||||
|
||||
<check if="{{ @autoresponders_array }}">
|
||||
<check if="isset(@autoresponders_array)">
|
||||
<table>
|
||||
<!-- <tr>
|
||||
<th colspan="2">Autoresponder for {{ @mbox }}@{{ @domain }} </th>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @confirm }}">
|
||||
<check if="isset(@confirm)">
|
||||
<true>
|
||||
<form action="{{@REALM}}" method="POST">
|
||||
<fieldset>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @autoresponders_array }}">
|
||||
<check if="isset(@autoresponders_array)">
|
||||
<true>
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @confirm }}">
|
||||
|
||||
|
||||
<check if="isset(@confirm)">
|
||||
|
||||
<form action="{{@NAV.fullpath}}" method="POST">
|
||||
<fieldset>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @domains_array }}">
|
||||
<check if="isset(@domains_array)">
|
||||
<true>
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @confirm }}">
|
||||
<check if="isset(@confirm)">
|
||||
<true>
|
||||
<form action="{{@REALM}}" method="POST">
|
||||
<fieldset>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
|
||||
<check if="{{ @forward_array }}">
|
||||
<check if="isset(@forward_array)">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Email Account</th>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @forwards_array }}">
|
||||
<check if="isset(@forwards_array)">
|
||||
<true>
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @confirm }}">
|
||||
<check if="isset(@confirm)">
|
||||
<true>
|
||||
<form action="{{@REALM}}" method="POST">
|
||||
<fieldset>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<include href="header.html" />
|
||||
|
||||
<check if="{{ @mboxes_array }}">
|
||||
<check if="isset(@mboxes_array)">
|
||||
<true>
|
||||
<table>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue
Block a user