2012-03-26 12:48:01 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* Name: quattro-green
|
2012-03-30 12:24:45 +00:00
|
|
|
* Description: Green variation of the quattro theme
|
2012-03-26 12:48:01 +00:00
|
|
|
* Version: 1.0
|
|
|
|
* Author: Fabio Communi <fabrix.xm@gmail.com>
|
|
|
|
* Maintainer: Tobias Diekershoff
|
|
|
|
*/
|
|
|
|
$a->theme_info = array(
|
|
|
|
'extends' => 'quattro',
|
|
|
|
);
|
2012-03-30 12:03:33 +00:00
|
|
|
|
|
|
|
$quattro_align = get_pconfig(local_user(), 'quattro', 'align' );
|
|
|
|
|
|
|
|
if(local_user() && $quattro_align=="center"){
|
|
|
|
|
|
|
|
$a->page['htmlhead'].="
|
|
|
|
<style>
|
|
|
|
html { width: 100%; margin:0px; padding:0px; }
|
|
|
|
body {
|
|
|
|
margin: 50px auto;
|
|
|
|
width: 900px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
";
|
|
|
|
|
|
|
|
}
|