This commit is contained in:
chenfei
2020-07-06 15:09:12 +08:00
parent 945eb9ac25
commit 5f8d829b8b
5 changed files with 13 additions and 1 deletions
+9 -1
View File
@@ -22,7 +22,15 @@
<div class='alert alert-block with-icon'>
<div class='content'>
<?php echo $lang->mail->successSaved;?>
<?php if($this->post->turnon and $mailExist) echo html::a(inlink('test'), $lang->mail->test . ' <i class="icon-rocket"></i>', '', "class='btn btn-primary btn-sm'");?>
<?php if($this->post->turnon):?>
<?php if($mailExist):?>
<?php echo html::a(inlink('test'), $lang->mail->test . ' <i class="icon-rocket"></i>', '', "class='btn btn-primary btn-sm'");?>
<?php else:?>
<span class='content alert-warning'>
<i class="icon-exclamation-sign"></i><?php echo $lang->mail->setForUser;?>
</span>
<?php endif;?>
<?php endif;?>
</div>
</div>
</div>