Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin committed Mar 24, 2014
1 parent 2bc162b commit 0cc6c05
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 23 deletions.
34 changes: 12 additions & 22 deletions modules/user/views/layouts/yum.php
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
<?php
Yii::app()->clientScript->registerCssFile(
Yii::app()->getAssetManager()->publish(
Yii::getPathOfAlias('user.assets.css').'/yum.css'));

$this->beginContent(Yum::module()->baseLayout); ?>

<div class="span12">
Yii::app()->clientScript->registerCssFile(
Yii::app()->getAssetManager()->publish(
Yii::getPathOfAlias('user.assets.css').'/yum.css'));
$this->beginContent(Yum::module()->baseLayout); ?>
<?php
if (Yum::module()->debug) {
echo CHtml::openTag('div', array('class' => 'container yumwarning'));
echo sprintf(
'You are running the Yii User Management Module %s in Debug Mode!',
Yum::module()->version);
echo CHtml::closeTag('div');
}
if (Yum::module()->debug) {
echo CHtml::openTag('div', array('class' => 'alert alert-danger'));
echo sprintf(
'You are running the Yii User Management Module %s in Debug Mode!',
Yum::module()->version);
echo CHtml::closeTag('div');
}
?>

<div class="container">
<?php echo Yum::renderFlash(); ?>
</div>

<div class="container">
<?php echo $content; ?>
</div>
</div>

<?php $this->endContent(); ?>
<?php $this->endContent(); ?>
2 changes: 1 addition & 1 deletion modules/user/views/user/changepassword.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
$this->pageTitle = Yum::t("change password");
echo '<h2>'. Yum::t('change password') .'</h2>';
echo '<h1>'. Yum::t('change password') .'</h1>';

$this->breadcrumbs = array(
Yum::t("Change password"));
Expand Down

0 comments on commit 0cc6c05

Please sign in to comment.