Changeset 776
- Timestamp:
- 04/20/06 17:06:21 (3 years ago)
- Location:
- trunk
- Files:
-
- 5 modified
-
Changes (modified) (1 diff)
-
INSTALL (modified) (1 diff)
-
lib/OpenGuides/Config.pm (modified) (4 diffs)
-
lib/OpenGuides/Template.pm (modified) (2 diffs)
-
templates/footer.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Changes
r775 r776 13 13 #54 Fix RSS redirection for backwards compatibility. 14 14 #79 Partial fix to help combat HTML spam 15 #56 Add licence config variables 15 16 16 17 0.52 5 March 2006 -
trunk/INSTALL
r736 r776 252 252 If you want to use a UTM ellipsoid, WGS-84 is the best choice, as it 253 253 will allow you to use the Google Maps support with the minimum of fuss. 254 255 "What licence will you use for the guide?" 256 257 We strongly recommend that you think at the outset about the licence your 258 guide will use, for maximum usefulness. In particular for a guide that will 259 be on the OpenGuides network, we recommend the 260 "Creative Commons Attribution-ShareAlike 2.5" licence. 261 262 "What is the URL to your licence?" 263 264 If you used our recommendation above the URL you will want here is: 265 http://creativecommons.org/licenses/by-sa/2.5/ 266 267 "What is the URL to your local page about your licensing policy?" 268 269 You should probably include a page on your wiki about your local licensing 270 policy, but you can leave this blank for now if you don't have one yet. 254 271 255 272 * Dependency errors -
trunk/lib/OpenGuides/Config.pm
r736 r776 13 13 custom_template_path geo_handler ellipsoid gmaps_api_key centre_long 14 14 centre_lat default_gmaps_zoom default_gmaps_search_zoom force_wgs84 15 licence_name licence_url licence_info_url 15 16 ); 16 17 my @questions = map { $_ . "__qu" } @variables; … … 83 84 default_gmaps_zoom => 5, 84 85 default_gmaps_search_zoom => 3, 85 force_wgs84 => 0 86 force_wgs84 => 0, 87 licence_name => "", 88 licence_url => "", 89 licence_info_url => "" 86 90 ); 87 91 … … 146 150 default_gmaps_zoom => "What default zoom level shall we use for Google Maps? (This question can be ignored if you aren't using Google Maps)", 147 151 default_gmaps_search_zoom => "What default zoom level shall we use for Google Maps in the search results? (This question can be ignored if you aren't using Google Maps)", 148 force_wgs84 => "Forcibly treat stored lat/long data as if they used the WGS84 ellipsoid?" 152 force_wgs84 => "Forcibly treat stored lat/long data as if they used the WGS84 ellipsoid?", 153 licence_name => "What licence will you use for the guide?", 154 licence_url => "What is the URL to your licence?", 155 licence_info_url => "What is the URL to your local page about your licensing policy?" 149 156 ); 150 157 … … 247 254 =item * force_wgs84 248 255 256 =item * licence_name 257 258 =item * licence_url 259 260 =item * licence_info_url 261 249 262 =back 250 263 -
trunk/lib/OpenGuides/Template.pm
r775 r776 88 88 89 89 =item * C<gmaps_api_key> 90 91 =item * C<licence_name> 92 93 =item * C<licence_url> 94 95 =item * C<licence_info_url> 90 96 91 97 =back … … 156 162 language => $config->default_language, 157 163 default_city => $default_city, 158 gmaps_api_key => $config->gmaps_api_key 164 gmaps_api_key => $config->gmaps_api_key, 165 licence_name => $config->licence_name, 166 licence_url => $config->licence_url, 167 licence_info_url => $config->licence_info_url 159 168 }; 160 169 -
trunk/templates/footer.tt
r758 r776 24 24 Powered by <a href="[% full_cgi_url%]?action=about">OpenGuides [% openguides_version %]</a>. 25 25 </p> 26 <p> 27 [% IF licence_name %] 28 This work is licensed under the 29 [% IF licence_url %] 30 <a href="[% licence_url %]"> 31 [% END %] 32 [% licence_name %] 33 [% IF licence_url %] 34 </a> 35 [% END %] 36 licence 37 [% IF licence_info_url %] 38 (<a href="[% licence_info_url %]">more info</a>) 39 [% END %] 40 [% END %] 26 41 [% END %] 27 42
