HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
recovery.php
Go to the documentation of this file.
1 <?php $this->pageTitle = Yii::app()->name.' - '.UserModule::t("Restore");
2 $this->breadcrumbs = array(
3  UserModule::t("Login") => array('/user/login'),
4  UserModule::t("Restore"),
5 );
6 ?>
7 
8 <h1><?php echo UserModule::t("Restore"); ?></h1>
9 
10 <?php if (Yii::app()->user->hasFlash('recoveryMessage')): ?>
11 <div class="success">
12 <?php echo Yii::app()->user->getFlash('recoveryMessage'); ?>
13 </div>
14 <?php else: ?>
15 
16 <div class="form">
17 <?php echo CHtml::beginForm(); ?>
18 
19  <?php echo CHtml::errorSummary($form); ?>
20 
21  <div class="row">
22  <?php echo CHtml::activeLabel($form, 'login_or_email'); ?>
23  <?php echo CHtml::activeTextField($form, 'login_or_email') ?>
24  <p class="hint"><?php echo UserModule::t("Please enter your login or email addres."); ?></p>
25  </div>
26 
27  <div class="row submit">
28  <?php echo CHtml::submitButton(UserModule::t("Restore")); ?>
29  </div>
30 
31 <?php echo CHtml::endForm(); ?>
32 </div><!-- form -->
33 <?php endif; ?>