Changeset 16790 for extensions/stripped_black_bloc
- Timestamp:
- Jul 16, 2012, 7:59:04 PM (12 years ago)
- Location:
- extensions/stripped_black_bloc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/local_head.tpl
r16787 r16790 3 3 {combine_script id='jquery.cookie' load='header' require='jquery' path='themes/stripped_black_bloc/js/jquery.ck.min.js'} 4 4 {html_style}{literal} 5 #theHeader a, .titrePage a, .footer_login a, .navigationBar a {5 #theHeader a, .titrePage a, .footer_login a, .navigationBar a, #calendar_block A { 6 6 color: {/literal}{if $stripped_black_bloc.color_main}#{$stripped_black_bloc.color_main}{/if}{literal}; 7 7 } … … 19 19 } 20 20 .content_block, .bloc_stuff, .two_columns { 21 width:{/literal}{if $stripped_black_bloc.thumbnail_width}{$stripped_black_bloc.column_width*2- 10}{/if}{literal}px;21 width:{/literal}{if $stripped_black_bloc.thumbnail_width}{$stripped_black_bloc.column_width*2-20}{/if}{literal}px; 22 22 } 23 23 .stuffs_thumbnails, .stuffs_thumbnails #thumbnails, .one_column { -
extensions/stripped_black_bloc/theme.css
r16789 r16790 198 198 padding:0; 199 199 } 200 200 .calendarBar span { 201 float: left; 202 } 201 203 /**************** 202 204 color backgroung etc -
extensions/stripped_black_bloc/themeconf.inc.php
r16787 r16790 85 85 function stripped_black_bloc_prefilter_index($content, &$smarty) 86 86 { 87 global $page; 87 88 $search = "#\{\'Menu\'\|@translate\}#"; 88 89 $replacement = "{'Show/hide menu'|@translate}</span>"; … … 100 101 $content = preg_replace($search, $replacement, $content); 101 102 102 $search = '# {\$PLUGIN_INDEX_CONTENT_AFTER}</div>{/if}.*</div>#s';103 $search = '#\{\$PLUGIN_INDEX_CONTENT_AFTER\}</div>\{/if\}.*</div>#s'; 103 104 $replacement = '{$PLUGIN_INDEX_CONTENT_AFTER}</div>{/if} 104 105 </div> 105 {if !empty($navbar) }106 {if !empty($navbar) } 106 107 {include file=\'navigation_bar.tpl\'|@get_extent:\'navbar\'} 107 {/if}'; 108 return preg_replace($search, $replacement, $content); 108 {/if}'; 109 $content = preg_replace($search, $replacement, $content); 110 if ( isset($page['chronology_view'])) 111 { 112 $search = '#\{if isset\(\$chronology\.TITLE\)#s'; 113 $replacement = '<div class="bloc_stuff"> 114 {if isset($chronology.TITLE)'; 115 $content = preg_replace($search, $replacement, $content); 116 $search = '#\{if \!empty\(\$PLUGIN_INDEX_CONTENT_BEGIN\)\}#s'; 117 $replacement = '</div> 118 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}'; 119 $content = preg_replace($search, $replacement, $content); 120 $search = '#calendar_block"#s'; 121 if ($page['chronology_view']=='calendar') 122 { 123 $replacement = 'calendar_block" class="bloc_stuff" style="width:100%;padding:5px"'; 124 } 125 else { 126 $replacement = 'calendar_block" class="bloc_stuff" style="padding:5px 0"'; 127 } 128 $content = preg_replace($search, $replacement, $content); 129 } 130 131 return $content; 109 132 } 110 133
Note: See TracChangeset
for help on using the changeset viewer.