aboutsummaryrefslogblamecommitdiffstats
path: root/view/theme/quattro-green/theme.php
blob: 275803840492ec55d5d8cf9292d54318a5ac05bd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                      
                                                    






                                              
 














                                                                
<?php
/*
 * Name: quattro-green
 * Description: Green variation of the quattro theme
 * Version: 1.0
 * Author: Fabio Communi <fabrix.xm@gmail.com>
 * Maintainer: Tobias Diekershoff
 */
$a->theme_info = array(
  'extends' => 'quattro',
);

$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>
	";
	
}