Changeset 962
- Timestamp:
- 03/22/07 21:17:46 (20 months ago)
- Location:
- trunk
- Files:
-
- 6 modified
-
Build.PL (modified) (2 diffs)
-
Changes (modified) (1 diff)
-
INSTALL (modified) (1 diff)
-
lib/OpenGuides/Config.pm (modified) (4 diffs)
-
templates/home_node.tt (modified) (2 diffs)
-
templates/node.tt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Build.PL
r953 r962 42 42 moderation_requires_password enable_node_image enable_common_categories 43 43 enable_common_locales recent_changes_on_home_page 44 show_gmap_in_node_display);44 content_above_navbar_in_html show_gmap_in_node_display); 45 45 46 46 my $skip_config = Module::Build->y_n("Skip OpenGuides configuration?", "n"); … … 96 96 custom_lib_path use_plucene indexing_directory enable_page_deletion 97 97 admin_pass stylesheet_url site_name navbar_on_home_page 98 recent_changes_on_home_page home_name98 recent_changes_on_home_page content_above_navbar_in_html home_name 99 99 site_desc default_city default_country contact_email default_language 100 100 formatting_rules_node backlinks_in_title gmaps_api_key centre_long -
trunk/Changes
r961 r962 19 19 Add a new div to wrap the entire body; also, use header.tt in 20 20 home_node.tt instead of copy/paste. 21 Add config option to place content above navbar in HTML. 21 22 Add config option to suppress inline maps on geotagged nodes. 22 23 Fix preferences to take notice of users turning off inline Google maps. -
trunk/INSTALL
r953 r962 156 156 157 157 Answer "y" or "n". 158 159 160 "Do you want the content to appear above the navbar in the HTML?" 161 162 Answer "y" or "n". The default is "n", for reasons of backwards 163 compatibility with existing stylesheets, but the recommended answer is 164 "y", as this will help search engines to find the most relevant parts 165 of your pages. 158 166 159 167 -
trunk/lib/OpenGuides/Config.pm
r953 r962 12 12 custom_lib_path use_plucene indexing_directory enable_page_deletion 13 13 admin_pass stylesheet_url site_name navbar_on_home_page 14 recent_changes_on_home_page home_name14 recent_changes_on_home_page content_above_navbar_in_html home_name 15 15 site_desc default_city default_country contact_email 16 16 default_language http_charset ping_services … … 83 83 navbar_on_home_page => 1, 84 84 recent_changes_on_home_page => 1, 85 content_above_navbar_in_html => 0, 85 86 home_name => "Home", 86 87 site_desc => "A default configuration of OpenGuides", … … 158 159 navbar_on_home_page => "Do you want the navigation bar included on the home page?", 159 160 recent_changes_on_home_page => "Do you want the ten most recent changes included on the home page?", 161 content_above_navbar_in_html => "Do you want the content to appear above the navbar in the HTML?", 160 162 home_name => "What should the home page of the wiki be called?", 161 163 site_desc => "How would you describe the site?", … … 251 253 =item * recent_changes_on_home_page (default: true) 252 254 255 =item * content_above_navbar_in_html (default: false) 256 253 257 =item * home_name (default: C<Home>) 254 258 -
trunk/templates/home_node.tt
r961 r962 5 5 <div id="content"> 6 6 7 [% IF navbar_on_home_page %]7 [% IF navbar_on_home_page AND !config.content_above_navbar_in_html %] 8 8 [% INCLUDE navbar.tt %] 9 9 [% END %] … … 49 49 50 50 </div> 51 52 [% IF navbar_on_home_page AND config.content_above_navbar_in_html %] 53 [% INCLUDE navbar.tt %] 54 [% END %] 55 51 56 [% INCLUDE footer.tt %] -
trunk/templates/node.tt
r951 r962 3 3 [% INCLUDE banner.tt %] 4 4 <div id="content"> 5 [% INCLUDE navbar.tt %] 5 [% IF !config.content_above_navbar_in_html %] 6 [% INCLUDE navbar.tt %] 7 [% END %] 6 8 <div id="maincontent" class="hreview"> 7 9 [% IF oldid %] … … 144 146 </div> 145 147 148 [% IF config.content_above_navbar_in_html %] 149 [% INCLUDE navbar.tt %] 150 [% END %] 151 146 152 [% INCLUDE footer.tt %]
