CC-3667 : Preferences pages should have an option to enable/disable password recovery option

This commit is contained in:
Naomi Aro 2012-04-25 11:32:43 +02:00
parent 8020ae0a29
commit 4cdfd33044
3 changed files with 42 additions and 1 deletions

View file

@ -93,6 +93,22 @@
<?php endif; ?>
</dd>
<!-- Enable System Email option -->
<dt id="enableSystemEmail-label" class="block-display">
<label class="required" for="timezone"><?php echo $this->element->getElement('enableSystemEmail')->getLabel() ?>:
</label>
</dt>
<dd id="enableSystemEmail-element" class="block-display">
<?php echo $this->element->getElement('enableSystemEmail') ?>
<?php if($this->element->getElement('enableSystemEmail')->hasErrors()) : ?>
<ul class='errors'>
<?php foreach($this->element->getElement('enableSystemEmail')->getMessages() as $error): ?>
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</dd>
<!-- System Email option -->
<dt id="systemEmail-label" class="block-display">
<label class="required" for="timezone"><?php echo $this->element->getElement('systemEmail')->getLabel() ?>: