Changeset 844
- Timestamp:
- 08/24/06 17:43:30 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 modified
-
MANIFEST (modified) (1 diff)
-
README.CSS (modified) (1 diff)
-
lib/OpenGuides.pm (modified) (1 diff)
-
templates/common_categories.tt (added)
-
templates/common_locales.tt (added)
-
templates/node.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/MANIFEST
r842 r844 31 31 templates/backlink_results.tt 32 32 templates/banner.tt 33 templates/common_categories.tt 34 templates/common_locales.tt 33 35 templates/delete_confirm.tt 34 36 templates/delete_done.tt -
trunk/README.CSS
r843 r844 158 158 Purpose: To display the image for a node 159 159 160 div#common_navigation 161 Used in: node.tt 162 Purpose: Hold the common locales and categories, if enabled 163 164 div#common_categories 165 Used in: common_categories.tt 166 Purpose: Hold the common categories, if enabled 167 h3#common_categories_title 168 Used in: common_categories.tt 169 Purpose: Title for the common categories 170 ul#common_categories_list 171 Used in: common_categories.tt 172 Purpose: Parent list for the common categories 173 li.common_category 174 Used in: common_categories.tt 175 Purpose: A common category 176 a.common_category_link 177 Used in: common_categories.tt 178 Purpose: A link to a common category 179 180 div#common_locales 181 Used in: common_locales.tt 182 Purpose: Hold the common locales, if enabled 183 h3#common_locales_title 184 Used in: common_locales.tt 185 Purpose: Title for the common locales 186 ul#common_locales_list 187 Used in: common_locales.tt 188 Purpose: Parent list for the common locales 189 li.common_locale 190 Used in: common_locales.tt 191 Purpose: A common locale 192 a.common_locale_link 193 Used in: common_locales.tt 194 Purpose: A link to a common locale 195 160 196 input#address 161 197 Used in: edit_conflict.tt, edit_form.tt -
trunk/lib/OpenGuides.pm
r841 r844 208 208 wgs84_lat => $wgs84_lat 209 209 ); 210 211 # Should we include a standard list of categories or locales? 212 if ($config->enable_common_categories || $config->enable_common_locales) { 213 $tt_vars{common_catloc} = 1; 214 $tt_vars{common_categories} = $config->enable_common_categories; 215 $tt_vars{common_locales} = $config->enable_common_locales; 216 $tt_vars{catloc_link} = $config->script_url . "?id="; 217 } 210 218 211 219 if ( $raw =~ /^#REDIRECT\s+(.+?)\s*$/ ) { -
trunk/templates/node.tt
r831 r844 143 143 [% END %] 144 144 </div> 145 146 [% IF common_catloc %] 147 <div id="common_navigation"> 148 [% IF common_categories %] 149 [% INCLUDE common_categories.tt %] 150 [% END %] 151 [% IF common_locales %] 152 [% INCLUDE common_locales.tt %] 153 [% END %] 154 </div> 155 [% END %] 156 145 157 [% INCLUDE footer.tt %]
