Changeset 10754
- Timestamp:
- May 4, 2011, 1:46:04 PM (13 years ago)
- Location:
- extensions/ExtendedDescription
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ExtendedDescription/changelog.txt
r8314 r10754 31 31 | | | * add redirect tag 32 32 | | | 33 | 2011-05-04 | 2.2.a | P@t 34 | | | * 2.2.x compatibility (top and bottom descriptions) 35 | | | -
extensions/ExtendedDescription/main.inc.php
r9437 r10754 134 134 if (substr_count($desc, $conf['ExtendedDescription']['up-down'])) 135 135 { 136 list($ conf['ExtendedDescription']['top_comment'], $desc) = explode($conf['ExtendedDescription']['up-down'], $desc);137 add_event_handler('loc_end_index', 'add_ top_description');136 list($desc, $conf['ExtendedDescription']['bottom_comment']) = explode($conf['ExtendedDescription']['up-down'], $desc); 137 add_event_handler('loc_end_index', 'add_bottom_description'); 138 138 } 139 139 break; … … 155 155 } 156 156 157 // Add topdescription158 function add_ top_description()157 // Add bottom description 158 function add_bottom_description() 159 159 { 160 160 global $template, $conf; 161 $template->concat('PLUGIN_INDEX_CONTENT_ BEGIN', '161 $template->concat('PLUGIN_INDEX_CONTENT_END', ' 162 162 <div class="additional_info"> 163 ' . $conf['ExtendedDescription'][' top_comment'] . '163 ' . $conf['ExtendedDescription']['bottom_comment'] . ' 164 164 </div>'); 165 165 }
Note: See TracChangeset
for help on using the changeset viewer.