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) {
17 $line_height = $site_line_height;
19 if ($line_height === false) {
22 if ($dispy_font_size === false) {
23 $dispy_font_size = $site_dispy_font_size;
25 if ($dispy_font_size === false) {
26 $dispy_font_size = "12";
28 if ($colour === false) {
29 $colour = $site_colour;
31 if ($colour === false) {
35 if($colour == "light") {
36 if (file_exists("$THEMEPATH/light/style.css")) {
37 echo file_get_contents("$THEMEPATH/light/style.css");
41 if($colour == "dark") {
42 if (file_exists("$THEMEPATH/dark/style.css")) {
43 echo file_get_contents("$THEMEPATH/dark/style.css");
47 if($dispy_font_size == "16") {
48 echo ".wall-item-content {
52 if($dispy_font_size == "15") {
53 echo ".wall-item-content {
57 if($dispy_font_size == "14") {
58 echo ".wall-item-content {
62 if($dispy_font_size == "13.5") {
63 echo ".wall-item-content {
67 if($dispy_font_size == "13") {
68 echo ".wall-item-content {
72 if($dispy_font_size == "12.5") {
73 echo ".wall-item-content {
77 if($dispy_font_size == "12") {
78 echo ".wall-item-content {
82 if($line_height == "1.5") {
83 echo ".wall-item-content {
87 if($line_height == "1.4") {
88 echo ".wall-item-content {
92 if($line_height == "1.3") {
93 echo ".wall-item-content {
97 if($line_height == "1.2") {
98 echo ".wall-item-content {
102 if($line_height == "1.1") {
103 echo ".wall-item-content {