Skip to content

Commit

Permalink
layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin committed Mar 25, 2014
2 parents 8825692 + fe835ff commit 8cfd562
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h2> <?php echo Yum::t('Activation did not work'); ?> </h2>
<h1> <?php echo Yum::t('Activation did not work'); ?> </h1>

<?php if($error == -1) echo Yum::t('The user is already activated'); ?>
<?php if($error == -2) echo Yum::t('Wrong activation Key'); ?>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h2> <?php echo Yum::t('Your account has been activated'); ?> </h2>
<h1> <?php echo Yum::t('Your account has been activated'); ?> </h1>

<p> <?php Yum::t('Click {here} to go to the login form', array(
'{here}' => CHtml::link(Yum::t('here'), Yum::module()->loginUrl
Expand Down
15 changes: 10 additions & 5 deletions modules/registration/views/registration/recovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

?>
<?php if(Yum::hasFlash()) {
echo '<div class="success">';
echo '<div class="alert alert-success">';
echo Yum::getFlash();
echo '</div>';
} else {
Expand All @@ -19,16 +19,21 @@

<?php echo CHtml::errorSummary($form); ?>

<div class="row-fluid">





<?php echo CHtml::activeLabel($form,'login_or_email'); ?>
<?php echo CHtml::activeTextField($form,'login_or_email') ?>
<?php echo CHtml::error($form,'login_or_email'); ?>
<p class="hint"><?php echo Yum::t("Please enter your user name or email address."); ?></p>
</div>

<div class="row-fluid submit">


<?php echo CHtml::submitButton(Yum::t('Restore'), array('class'=>'btn')); ?>
</div>



<?php echo CHtml::endForm(); ?>

Expand Down
6 changes: 6 additions & 0 deletions modules/registration/views/registration/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

<?php $this->breadcrumbs = array(Yum::t('Registration')); ?>

<<<<<<< HEAD

=======
>>>>>>> fe835ff5957c362c26b938d679d70d13c4d7c496
<?php $activeform = $this->beginWidget('CActiveForm', array(
'id'=>'registration-form',
'enableAjaxValidation'=>true,
Expand Down Expand Up @@ -74,4 +77,7 @@
</div>

<?php $this->endWidget(); ?>
<<<<<<< HEAD

=======
>>>>>>> fe835ff5957c362c26b938d679d70d13c4d7c496
11 changes: 9 additions & 2 deletions modules/user/views/user/login_debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,17 @@
<div class="row-fluid">
<div class="span3">
<div class="buttons">
<p><?php echo CHtml::submitButton(Yum::t('Login'), array('class' => 'btn')); ?></p>

<p><?php echo CHtml::submitButton(Yum::t('Login'), array('class' => 'btn')); ?> </p>

</div>

<div class="alert alert-error">
Click <? echo CHtml::link(Yum::t("Registration"),
Yum::module('registration')->registrationUrl); ?> if you are not registered.

</div>

<div class="alert alert-danger"> You can register <?php echo CHtml::link('here', Yum::module('registration')->registrationUrl);?></div>

</div>
</div>
Expand Down

0 comments on commit 8cfd562

Please sign in to comment.