From: Penny Leach <penny@mjollnir.org> Date: Sat, 13 Sep 2008 17:12:43 +0000 (+0100) Subject: moved main to about so it would load first, and array sort components. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=102e26dd01209e034395b05f8d737bf353c59b5c;p=m.o.git moved main to about so it would load first, and array sort components. --- diff --git a/comp/about.php b/comp/about.php new file mode 100644 index 0000000..f036bf4 --- /dev/null +++ b/comp/about.php @@ -0,0 +1,5 @@ +<?php + +function comp_about() { + include(get_config('root') . '/include/about.inc'); +} diff --git a/comp/main.php b/comp/main.php deleted file mode 100644 index 61e1946..0000000 --- a/comp/main.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php - -function comp_main() { - include(get_config('root') . '/include/main.inc'); -} diff --git a/include/main.inc b/include/about.inc similarity index 100% rename from include/main.inc rename to include/about.inc diff --git a/lib/general.php b/lib/general.php index 5fe7f49..f5c1b37 100644 --- a/lib/general.php +++ b/lib/general.php @@ -21,6 +21,7 @@ function get_components() { } $comps[] = substr($file, 0, strpos($file, '.')); } + asort($comps); return $comps; } diff --git a/style.css b/style.css index 51ef487..de2da8a 100644 --- a/style.css +++ b/style.css @@ -69,7 +69,7 @@ div#flickr img { border:0px; } -div#main { +div#about { left:20px; width:780px; height:195px;