1
0

Fixed Footer "always bottom"

This commit is contained in:
Mike Schwörer 2014-07-30 20:04:09 +02:00
parent af53da14d2
commit a287b1b1a5
3 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,9 @@ body {
#fullbodywrapper {
min-height:100%;
position:relative;
}
#fullcontentwrapper {
padding-bottom: 120px;
}

View File

@ -5,9 +5,9 @@ $yii=dirname(__FILE__).'/../framework/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';
// remove the following lines when in production mode
#defined('YII_DEBUG') or define('YII_DEBUG',true);
defined('YII_DEBUG') or define('YII_DEBUG',true);
// dev or prod - merges settings with respective file
defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'prod');
defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'dev');
require_once($yii);
Yii::createWebApplication($config)->run();

View File

@ -85,9 +85,11 @@
}
?>
<div id="fullcontentwrapper">
<?php
echo $content;
?>
</div>
<div class="footer">
Copyright &copy; <?php echo date('Y'); ?> by Mike Schwörer &#xb7; <i><a href="/admin">{{admin}}</a></i><br/>