diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-10-03 10:30:17 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-10-03 10:30:17 -0400 |
commit | dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893 (patch) | |
tree | 511b0f752889172163f3801cdbe311f0efc55540 /theme/images | |
parent | 0e4089184a44719fbd1284acb047ab7547674412 (diff) | |
download | fourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.tar.gz fourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.tar.bz2 fourisland-dc0fb9445e8a3ede8bc33d6779fadd89b7ea6893.zip |
Created Theme Switcher
Also rewrote the way layouts work. Now, each layout requires a "layout.tpl" file (which contains the header and footer for the layout) and a "style.php" file (which contains and can include other files that contain the CSS for the layout). Each layout has it's own folder in theme/layouts and you can switch between them using a combo box in the Hatbar. Layouts 6.2 and 4.5 have been modified to work with new Layout 7 features such as AJAX, and they should be relatively free of bugs. Layout 3 has not yet been transferred because since it is pre-The New Four Island, it will be very difficult to do so. This changeset requires manual external code changes: * The line below must be added above the functions.php include in The Fourm's funnctions.php require('/svr/www/hatkirby/fourisland/main/includes/session.php'); * The block of Four Island code in The Fourm's page_header() function should be replaced with: global $fi_pagetitle; $fi_pagetitle = $page_title; ob_start(); * The block of Four Island code in The Fourm's page_footer() function should be replaced with: global $fi_pagetitle; $content = ob_get_contents(); ob_end_clean(); $noRightbar = 1; $onFourm = 1; $pageCategory = 'fourm'; if ($fi_pagetitle == 'Index page') { $title = 'The Fourm'; } else if (strpos($fi_pagetitle, 'View topic') !== FALSE) { $title = str_replace('View topic - ', 'Topic: ', $fi_pagetitle) . ' - The Fourm'; } else if (strpos($fi_pagetitle, 'View forum') !== FALSE) { $title = str_replace('View forum - ', 'Fourm: ', $fi_pagetitle) . ' - The Fourm'; } else if (strpos($fi_pagetitle, 'Viewing profile') !== FALSE) { $title = str_replace('Viewing profile - ', 'Member: ', $fi_pagetitle) . ' - The Fourm'; } else { $title = $fi_pagetitle . ' - The Fourm'; } if ($_GET['view'] != 'print') { include('/svr/www/hatkirby/fourisland/main/includes/layout.php'); } else { echo $content; } Closes #117
Diffstat (limited to 'theme/images')
-rwxr-xr-x | theme/images/Fourm.gif | bin | 0 -> 23001 bytes |
-rwxr-xr-x | theme/images/Fourm_ro.gif | bin | 0 -> 23013 bytes |
-rwxr-xr-x | theme/images/Home.gif | bin | 0 -> 22992 bytes |
-rwxr-xr-x | theme/images/Home_ro.gif | bin | 0 -> 23014 bytes |
-rwxr-xr-x | theme/images/Links.gif | bin | 0 -> 22985 bytes |
-rwxr-xr-x | theme/images/Links_ro.gif | bin | 0 -> 23005 bytes |
-rwxr-xr-x | theme/images/Login.gif | bin | 0 -> 23311 bytes |
-rwxr-xr-x | theme/images/Login_ro.gif | bin | 0 -> 23552 bytes |
-rwxr-xr-x | theme/images/Logout.gif | bin | 0 -> 23470 bytes |
-rwxr-xr-x | theme/images/Logout_ro.gif | bin | 0 -> 23613 bytes |
-rwxr-xr-x | theme/images/Panel.gif | bin | 0 -> 23368 bytes |
-rwxr-xr-x | theme/images/Panel_ro.gif | bin | 0 -> 23577 bytes |
-rwxr-xr-x | theme/images/Poll.gif | bin | 0 -> 23161 bytes |
-rwxr-xr-x | theme/images/Poll_ro.gif | bin | 0 -> 23476 bytes |
-rwxr-xr-x | theme/images/Projects.gif | bin | 0 -> 23098 bytes |
-rwxr-xr-x | theme/images/Projects_ro.gif | bin | 0 -> 23033 bytes |
-rwxr-xr-x | theme/images/Quotes.gif | bin | 0 -> 23969 bytes |
-rwxr-xr-x | theme/images/Quotes_ro.gif | bin | 0 -> 23717 bytes |
-rwxr-xr-x | theme/images/Random.gif | bin | 0 -> 23142 bytes |
-rwxr-xr-x | theme/images/Random_ro.gif | bin | 0 -> 23043 bytes |
-rwxr-xr-x | theme/images/Wiki.gif | bin | 0 -> 23256 bytes |
-rwxr-xr-x | theme/images/Wiki_ro.gif | bin | 0 -> 23551 bytes |
-rwxr-xr-x | theme/images/bg_body_short.gif | bin | 0 -> 384 bytes |
-rwxr-xr-x | theme/images/bg_footer.gif | bin | 0 -> 114 bytes |
-rwxr-xr-x | theme/images/bg_header.gif | bin | 0 -> 642 bytes |
-rwxr-xr-x | theme/images/bg_navbar.gif | bin | 0 -> 206 bytes |
-rwxr-xr-x | theme/images/bg_search.gif | bin | 0 -> 837 bytes |
-rwxr-xr-x | theme/images/corners_bottom.gif | bin | 0 -> 708 bytes |
-rwxr-xr-x | theme/images/corners_left.png | bin | 0 -> 195 bytes |
-rwxr-xr-x | theme/images/corners_right.png | bin | 0 -> 201 bytes |
-rwxr-xr-x | theme/images/fourisland_header.png | bin | 0 -> 24124 bytes |
-rw-r--r-- | theme/images/fourisland_header_night.png | bin | 0 -> 19678 bytes |
-rwxr-xr-x | theme/images/headers/ctnh.png | bin | 0 -> 20000 bytes |
-rwxr-xr-x | theme/images/headers/fourm.png | bin | 0 -> 10596 bytes |
-rwxr-xr-x | theme/images/headers/hatkirbybday.png | bin | 0 -> 12384 bytes |
-rwxr-xr-x | theme/images/headers/islandYearly.png | bin | 0 -> 4527 bytes |
-rwxr-xr-x | theme/images/headers/kfm.png | bin | 0 -> 10819 bytes |
-rwxr-xr-x | theme/images/headers/links.png | bin | 0 -> 10711 bytes |
-rwxr-xr-x | theme/images/headers/main.png | bin | 0 -> 12479 bytes |
-rwxr-xr-x | theme/images/headers/main.xcf | bin | 0 -> 62769 bytes |
-rwxr-xr-x | theme/images/headers/memorial.png | bin | 0 -> 11355 bytes |
-rwxr-xr-x | theme/images/headers/mothers.png | bin | 0 -> 12532 bytes |
-rwxr-xr-x | theme/images/headers/potw.png | bin | 0 -> 10919 bytes |
-rwxr-xr-x | theme/images/headers/projects.png | bin | 0 -> 12846 bytes |
-rwxr-xr-x | theme/images/headers/projects.xcf | bin | 0 -> 87437 bytes |
-rwxr-xr-x | theme/images/headers/quotes.png | bin | 0 -> 12260 bytes |
-rwxr-xr-x | theme/images/headers/random.png | bin | 0 -> 11632 bytes |
-rwxr-xr-x | theme/images/headers/short.png | bin | 0 -> 10776 bytes |
-rwxr-xr-x | theme/images/sides_top.gif | bin | 0 -> 2559 bytes |
49 files changed, 0 insertions, 0 deletions
diff --git a/theme/images/Fourm.gif b/theme/images/Fourm.gif new file mode 100755 index 0000000..1365fd6 --- /dev/null +++ b/theme/images/Fourm.gif | |||
Binary files differ | |||
diff --git a/theme/images/Fourm_ro.gif b/theme/images/Fourm_ro.gif new file mode 100755 index 0000000..8a1cad6 --- /dev/null +++ b/theme/images/Fourm_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Home.gif b/theme/images/Home.gif new file mode 100755 index 0000000..e3e523d --- /dev/null +++ b/theme/images/Home.gif | |||
Binary files differ | |||
diff --git a/theme/images/Home_ro.gif b/theme/images/Home_ro.gif new file mode 100755 index 0000000..b409d75 --- /dev/null +++ b/theme/images/Home_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Links.gif b/theme/images/Links.gif new file mode 100755 index 0000000..a223b3e --- /dev/null +++ b/theme/images/Links.gif | |||
Binary files differ | |||
diff --git a/theme/images/Links_ro.gif b/theme/images/Links_ro.gif new file mode 100755 index 0000000..d540220 --- /dev/null +++ b/theme/images/Links_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Login.gif b/theme/images/Login.gif new file mode 100755 index 0000000..3573589 --- /dev/null +++ b/theme/images/Login.gif | |||
Binary files differ | |||
diff --git a/theme/images/Login_ro.gif b/theme/images/Login_ro.gif new file mode 100755 index 0000000..404f305 --- /dev/null +++ b/theme/images/Login_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Logout.gif b/theme/images/Logout.gif new file mode 100755 index 0000000..12696fe --- /dev/null +++ b/theme/images/Logout.gif | |||
Binary files differ | |||
diff --git a/theme/images/Logout_ro.gif b/theme/images/Logout_ro.gif new file mode 100755 index 0000000..ff103a2 --- /dev/null +++ b/theme/images/Logout_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Panel.gif b/theme/images/Panel.gif new file mode 100755 index 0000000..42075dc --- /dev/null +++ b/theme/images/Panel.gif | |||
Binary files differ | |||
diff --git a/theme/images/Panel_ro.gif b/theme/images/Panel_ro.gif new file mode 100755 index 0000000..e64c5ad --- /dev/null +++ b/theme/images/Panel_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Poll.gif b/theme/images/Poll.gif new file mode 100755 index 0000000..08815d2 --- /dev/null +++ b/theme/images/Poll.gif | |||
Binary files differ | |||
diff --git a/theme/images/Poll_ro.gif b/theme/images/Poll_ro.gif new file mode 100755 index 0000000..6a4549f --- /dev/null +++ b/theme/images/Poll_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Projects.gif b/theme/images/Projects.gif new file mode 100755 index 0000000..bf0cfc7 --- /dev/null +++ b/theme/images/Projects.gif | |||
Binary files differ | |||
diff --git a/theme/images/Projects_ro.gif b/theme/images/Projects_ro.gif new file mode 100755 index 0000000..718ab03 --- /dev/null +++ b/theme/images/Projects_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Quotes.gif b/theme/images/Quotes.gif new file mode 100755 index 0000000..8bf0289 --- /dev/null +++ b/theme/images/Quotes.gif | |||
Binary files differ | |||
diff --git a/theme/images/Quotes_ro.gif b/theme/images/Quotes_ro.gif new file mode 100755 index 0000000..f15831c --- /dev/null +++ b/theme/images/Quotes_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Random.gif b/theme/images/Random.gif new file mode 100755 index 0000000..94cb4be --- /dev/null +++ b/theme/images/Random.gif | |||
Binary files differ | |||
diff --git a/theme/images/Random_ro.gif b/theme/images/Random_ro.gif new file mode 100755 index 0000000..4e62f24 --- /dev/null +++ b/theme/images/Random_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Wiki.gif b/theme/images/Wiki.gif new file mode 100755 index 0000000..e4a0cc7 --- /dev/null +++ b/theme/images/Wiki.gif | |||
Binary files differ | |||
diff --git a/theme/images/Wiki_ro.gif b/theme/images/Wiki_ro.gif new file mode 100755 index 0000000..b8d9438 --- /dev/null +++ b/theme/images/Wiki_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_body_short.gif b/theme/images/bg_body_short.gif new file mode 100755 index 0000000..b396204 --- /dev/null +++ b/theme/images/bg_body_short.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_footer.gif b/theme/images/bg_footer.gif new file mode 100755 index 0000000..ff3f511 --- /dev/null +++ b/theme/images/bg_footer.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_header.gif b/theme/images/bg_header.gif new file mode 100755 index 0000000..46c22e8 --- /dev/null +++ b/theme/images/bg_header.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_navbar.gif b/theme/images/bg_navbar.gif new file mode 100755 index 0000000..d96c6ea --- /dev/null +++ b/theme/images/bg_navbar.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_search.gif b/theme/images/bg_search.gif new file mode 100755 index 0000000..79e040e --- /dev/null +++ b/theme/images/bg_search.gif | |||
Binary files differ | |||
diff --git a/theme/images/corners_bottom.gif b/theme/images/corners_bottom.gif new file mode 100755 index 0000000..bea794f --- /dev/null +++ b/theme/images/corners_bottom.gif | |||
Binary files differ | |||
diff --git a/theme/images/corners_left.png b/theme/images/corners_left.png new file mode 100755 index 0000000..256bde3 --- /dev/null +++ b/theme/images/corners_left.png | |||
Binary files differ | |||
diff --git a/theme/images/corners_right.png b/theme/images/corners_right.png new file mode 100755 index 0000000..df41823 --- /dev/null +++ b/theme/images/corners_right.png | |||
Binary files differ | |||
diff --git a/theme/images/fourisland_header.png b/theme/images/fourisland_header.png new file mode 100755 index 0000000..35f7886 --- /dev/null +++ b/theme/images/fourisland_header.png | |||
Binary files differ | |||
diff --git a/theme/images/fourisland_header_night.png b/theme/images/fourisland_header_night.png new file mode 100644 index 0000000..25502a0 --- /dev/null +++ b/theme/images/fourisland_header_night.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/ctnh.png b/theme/images/headers/ctnh.png new file mode 100755 index 0000000..b9542fc --- /dev/null +++ b/theme/images/headers/ctnh.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/fourm.png b/theme/images/headers/fourm.png new file mode 100755 index 0000000..e7bebde --- /dev/null +++ b/theme/images/headers/fourm.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/hatkirbybday.png b/theme/images/headers/hatkirbybday.png new file mode 100755 index 0000000..ba7bff0 --- /dev/null +++ b/theme/images/headers/hatkirbybday.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/islandYearly.png b/theme/images/headers/islandYearly.png new file mode 100755 index 0000000..099d963 --- /dev/null +++ b/theme/images/headers/islandYearly.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/kfm.png b/theme/images/headers/kfm.png new file mode 100755 index 0000000..cc568ec --- /dev/null +++ b/theme/images/headers/kfm.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/links.png b/theme/images/headers/links.png new file mode 100755 index 0000000..b24ded0 --- /dev/null +++ b/theme/images/headers/links.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/main.png b/theme/images/headers/main.png new file mode 100755 index 0000000..009d3ac --- /dev/null +++ b/theme/images/headers/main.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/main.xcf b/theme/images/headers/main.xcf new file mode 100755 index 0000000..fd37ee4 --- /dev/null +++ b/theme/images/headers/main.xcf | |||
Binary files differ | |||
diff --git a/theme/images/headers/memorial.png b/theme/images/headers/memorial.png new file mode 100755 index 0000000..b68b97d --- /dev/null +++ b/theme/images/headers/memorial.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/mothers.png b/theme/images/headers/mothers.png new file mode 100755 index 0000000..e656d7d --- /dev/null +++ b/theme/images/headers/mothers.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/potw.png b/theme/images/headers/potw.png new file mode 100755 index 0000000..9ce3174 --- /dev/null +++ b/theme/images/headers/potw.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/projects.png b/theme/images/headers/projects.png new file mode 100755 index 0000000..d59f47a --- /dev/null +++ b/theme/images/headers/projects.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/projects.xcf b/theme/images/headers/projects.xcf new file mode 100755 index 0000000..f1950ad --- /dev/null +++ b/theme/images/headers/projects.xcf | |||
Binary files differ | |||
diff --git a/theme/images/headers/quotes.png b/theme/images/headers/quotes.png new file mode 100755 index 0000000..9fb966e --- /dev/null +++ b/theme/images/headers/quotes.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/random.png b/theme/images/headers/random.png new file mode 100755 index 0000000..e7db228 --- /dev/null +++ b/theme/images/headers/random.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/short.png b/theme/images/headers/short.png new file mode 100755 index 0000000..4d4d267 --- /dev/null +++ b/theme/images/headers/short.png | |||
Binary files differ | |||
diff --git a/theme/images/sides_top.gif b/theme/images/sides_top.gif new file mode 100755 index 0000000..a84383a --- /dev/null +++ b/theme/images/sides_top.gif | |||
Binary files differ | |||