3 $dispy_font_size = false;
6 $site_line_height = get_config("dispy","line_height");
7 $site_dispy_font_size = get_config("dispy", "font_size" );
8 $site_colour = get_config("dispy", "colour" );
11 $line_height = get_pconfig(local_user(), "dispy","line_height");
12 $dispy_font_size = get_pconfig(local_user(), "dispy", "font_size");
13 $colour = get_pconfig(local_user(), "dispy", "colour");
16 if ($line_height === false) { $line_height = $site_line_height; }
17 if ($line_height === false) { $line_height = "1.2"; }
18 if ($dispy_font_size === false) { $dispy_font_size = $site_dispy_font_size; }
19 if ($dispy_font_size === false) { $dispy_font_size = "12"; }
20 if ($colour === false) { $colour = $site_colour; }
21 if ($colour === false) { $colour = "light"; }
23 if($colour == "light") {
24 if (file_exists("$THEMEPATH/light/style.css")) {
25 echo file_get_contents("$THEMEPATH/light/style.css");
27 if($dispy_font_size == "16") {
29 .wall-item-container .wall-item-content {
32 .wall-item-photo-container .wall-item-content {
36 if($dispy_font_size == "15") {
38 .wall-item-container .wall-item-content {
41 .wall-item-photo-container .wall-item-content {
45 if($dispy_font_size == "14") {
47 .wall-item-container .wall-item-content {
50 .wall-item-photo-container .wall-item-content {
54 if($dispy_font_size == "13.5") {
56 .wall-item-container .wall-item-content {
59 .wall-item-photo-container .wall-item-content {
63 if($dispy_font_size == "13") {
65 .wall-item-container .wall-item-content {
68 .wall-item-photo-container .wall-item-content {
72 if($dispy_font_size == "12.5") {
74 .wall-item-container .wall-item-content {
77 .wall-item-photo-container .wall-item-content {
81 if($dispy_font_size == "12") {
83 .wall-item-container .wall-item-content {
86 .wall-item-photo-container .wall-item-content {
90 if($line_height == "1.5") {
92 .wall-item-container .wall-item-content {
95 .wall-item-photo-container .wall-item-content {
99 if($line_height == "1.4") {
101 .wall-item-container .wall-item-content {
104 .wall-item-photo-container .wall-item-content {
108 if($line_height == "1.3") {
110 .wall-item-container .wall-item-content {
113 .wall-item-photo-container .wall-item-content {
117 if($line_height == "1.2") {
119 .wall-item-container .wall-item-content {
122 .wall-item-photo-container .wall-item-content {
126 if($line_height == "1.1") {
128 .wall-item-container .wall-item-content {
131 .wall-item-photo-container .wall-item-content {
137 if($colour == "dark") {
138 if (file_exists("$THEMEPATH/dark/style.css")) {
139 echo file_get_contents("$THEMEPATH/dark/style.css");
141 if($dispy_font_size == "16") {
143 .wall-item-container .wall-item-content {
146 .wall-item-photo-container .wall-item-content {
150 if($dispy_font_size == "15") {
152 .wall-item-container .wall-item-content {
155 .wall-item-photo-container .wall-item-content {
159 if($dispy_font_size == "14") {
161 .wall-item-container .wall-item-content {
164 .wall-item-photo-container .wall-item-content {
168 if($dispy_font_size == "13.5") {
170 .wall-item-container .wall-item-content {
173 .wall-item-photo-container .wall-item-content {
177 if($dispy_font_size == "13") {
179 .wall-item-container .wall-item-content {
182 .wall-item-photo-container .wall-item-content {
186 if($dispy_font_size == "12.5") {
188 .wall-item-container .wall-item-content {
191 .wall-item-photo-container .wall-item-content {
195 if($dispy_font_size == "12") {
197 .wall-item-container .wall-item-content {
200 .wall-item-photo-container .wall-item-content {
204 if($line_height == "1.5") {
206 .wall-item-container .wall-item-content {
209 .wall-item-photo-container .wall-item-content {
213 if($line_height == "1.4"){
215 .wall-item-container .wall-item-content {
218 .wall-item-photo-container .wall-item-content {
222 if($line_height == "1.3") {
224 .wall-item-container .wall-item-content {
227 .wall-item-photo-container .wall-item-content {
231 if($line_height == "1.2") {
233 .wall-item-container .wall-item-content {
236 .wall-item-photo-container .wall-item-content {
240 if($line_height == "1.1") {
242 .wall-item-container .wall-item-content {
245 .wall-item-photo-container .wall-item-content {