Website is working!
This commit is contained in:
1 parent
c978ba8e19
commit
2ed0710575
24 files changed
+644
-119
No files matched your search
@@ -3,15 +3,13 @@
|
||||
/* @var $model LoginForm */
|
||||
/* @var $form CActiveForm */
|
||||
|
||||
$this->pageTitle=Yii::app()->name . ' - Login';
|
||||
$this->breadcrumbs=array(
|
||||
'Login',
|
||||
);
|
||||
$this->pageTitle=Yii::t('app', Yii::app()->name) . ' - ' . Yii::t('app', 'Login');
|
||||
|
||||
?>
|
||||
|
||||
<h1>Login</h1>
|
||||
<h1><?=Yii::t('app', 'Login')?></h1>
|
||||
|
||||
<p>Please fill out the following form with your login credentials:</p>
|
||||
<p><?=Yii::t('app', 'Please fill out the following form with your login credentials:')?></p>
|
||||
|
||||
<div class="form">
|
||||
<?php $form=$this->beginWidget('CActiveForm', array(
|
||||
@@ -22,8 +20,11 @@ $this->breadcrumbs=array(
|
||||
),
|
||||
)); ?>
|
||||
|
||||
<p class="note">Fields with <span class="required">*</span> are required.</p>
|
||||
|
||||
<p class="note"><?=Yii::t('app', 'Fields with {*} are required.', array('{*}'=>'<span class="required">*</span>'))?></p>
|
||||
|
||||
<?php echo $form->errorSummary($model, Yii::t('app', 'Please, fix following errors:')); ?>
|
||||
|
||||
<div class="row">
|
||||
<?php echo $form->labelEx($model,'username'); ?>
|
||||
<?php echo $form->textField($model,'username'); ?>
|
||||
@@ -43,10 +44,10 @@ $this->breadcrumbs=array(
|
||||
</div>
|
||||
|
||||
<div class="row buttons">
|
||||
<?php echo CHtml::submitButton('Login'); ?>
|
||||
<?php echo CHtml::submitButton(Yii::t('app', 'Login')); ?>
|
||||
</div>
|
||||
|
||||
<?php $this->endWidget(); ?>
|
||||
|
||||
<?php echo CHtml::link('Register',array('site/register')); ?>
|
||||
<BR>
|
||||
<?php echo CHtml::link(Yii::t('app', 'Register'), array('site/register')); ?>
|
||||
</div><!-- form -->
|
||||
Reference in new issue
Block a user