Changeset 17795
- Timestamp:
- Sep 7, 2012, 7:51:23 PM (12 years ago)
- Location:
- extensions/flop_mauve/current
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flop_mauve/current/theme.css
r10033 r17795 92 92 background-image: url(images/bk_ground.gif); 93 93 } 94 H3,#the_page, #imageHeaderBar, #imageToolBar A:hover, .row1 {94 #the_page, #imageHeaderBar, #imageToolBar A:hover, .row1 { 95 95 background-image: url(images/bk_ground.gif); 96 96 } -
extensions/flop_mauve/current/themeconf.inc.php
r10447 r17795 20 20 $conf['show_picture_name_on_title'] = false; 21 21 $conf['show_thumbnail_caption'] = false; 22 /** mainpage_categories.tpl **/ 23 add_event_handler('loc_end_index_category_thumbnails', 'flopmauve_cat'); 24 function flopmauve_cat($tpl_thumbnails_var) 25 { 26 global $template; 27 $template->set_prefilter('index_category_thumbnails', 'flopmauve_cat_pre'); 28 return $tpl_thumbnails_var; 29 } 30 function flopmauve_cat_pre($content, &$smarty) 31 { 32 $search = 'NAME}</a>'; 33 $replacement = 'NAME|truncate:38:" [...]"}</a>'; 34 $content=str_replace($search, $replacement, $content); 35 $search = 'DESCRIPTION}</p>'; 36 $replacement = 'DESCRIPTION|truncate:130:" [...]"}</p>'; 37 return str_replace($search, $replacement, $content); 38 } 22 39 23 40 ?>
Note: See TracChangeset
for help on using the changeset viewer.