diff --git a/about/theme.php b/about/theme.php index 605b30e..79b5d7e 100644 --- a/about/theme.php +++ b/about/theme.php @@ -6,8 +6,9 @@ */ $theme_name = "Classic Grey"; -$theme_author = "Encore Web Studios"; -$theme_author_email = "formtools@encorewebstudios.com"; -$theme_link = "http://themes.formtools.org/classicgrey/"; +$theme_author = "Ben Keen"; +$theme_author_email = "ben.keen@gmail.com"; +$theme_link = "http://themes.formtools.org"; $theme_description = "A remodelling of the old grey-styled Form Tools 1.x theme."; -$theme_version = "1.1.3"; \ No newline at end of file +$theme_version = "2.0.0"; +$theme_uses_swatches = "no"; diff --git a/footer.tpl b/footer.tpl index 13c7ab3..a04cd39 100644 --- a/footer.tpl +++ b/footer.tpl @@ -4,9 +4,8 @@
- {ft_include file="menu.tpl"} + {ft_include file="menu.tpl"}
-
@@ -18,10 +17,10 @@ {* only display the footer area if there is some text entered for it *} {if $account.settings.footer_text != "" || $g_enable_benchmarking} {/if} - \ No newline at end of file + diff --git a/header.tpl b/header.tpl index 5cb23cc..f0bc67c 100644 --- a/header.tpl +++ b/header.tpl @@ -15,8 +15,8 @@ {literal}}{/literal}; //]]> - - + + @@ -34,7 +34,7 @@
- {if $SESSION.account.is_logged_in && !$g_omit_top_bar} + {if $is_logged_in && !$g_omit_top_bar} {if $settings.release_type == "alpha"} {$settings.program_version}-alpha-{$settings.release_date} {elseif $settings.release_type == "beta"} @@ -42,8 +42,7 @@ {else} {$settings.program_version} {/if} - {if $SESSION.account.account_type == "admin"} -   + {if $account.account_type == "admin"} {$LANG.word_update} {/if} {else} diff --git a/images/header_logo.jpg b/images/header_logo.jpg index ead351b..f7609b1 100644 Binary files a/images/header_logo.jpg and b/images/header_logo.jpg differ diff --git a/menu.tpl b/menu.tpl index 1f47225..84ea1fd 100644 --- a/menu.tpl +++ b/menu.tpl @@ -6,29 +6,29 @@ *} - {assign var=is_current_parent_menu value=false} + {assign var=is_current_parent_menu value=false} - diff --git a/tabset_open.tpl b/tabset_open.tpl index 9bebd8b..4cbd24b 100644 --- a/tabset_open.tpl +++ b/tabset_open.tpl @@ -4,7 +4,8 @@ (a) the page var is the same as the current tab key (e.g. page=main in the query string), OR (b) if curr_tab.pages is specified as an array, and $page is included in the array (used for "sub-pages" in tabs) OR (c) $tab_number is specified and it's equal to $curr_tab_key *} - {if $curr_tab_key == $page || (is_array($curr_tab.pages) && $page|in_array:$curr_tab.pages) || $tab_number == $curr_tab_key} + {if $curr_tab_key == $page || (isset($curr_tab.pages) && is_array($curr_tab.pages) && $page|in_array:$curr_tab.pages) || + (isset($tab_number) && $tab_number == $curr_tab_key)}
  • {$curr_tab.tab_label}
  • {else}
  • {$curr_tab.tab_label}
  • @@ -13,7 +14,7 @@
    -
    \ No newline at end of file +