Changeset 23569
- Timestamp:
- Jun 26, 2013, 8:34:21 PM (11 years ago)
- Location:
- extensions/stripped_black_bloc
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/admin/admin.inc.php
r17858 r23569 34 34 $config_send['catthumb']=(isset($_POST['f_catthumb'])) ? $_POST['f_catthumb'] : 'none'; 35 35 $config_send['orientation_option']=(isset($_POST['f_orientation_option'])) ? $_POST['f_orientation_option'] : 'none'; 36 $config_send['hover_action']=(isset($_POST['f_hover_action'])) ? $_POST['f_hover_action'] : 'fadein'; 36 37 conf_update_param('stripped_black_bloc', pwg_db_real_escape_string(serialize($config_send))); 37 38 -
extensions/stripped_black_bloc/admin/admin.tpl
r17864 r23569 23 23 </li> 24 24 <li> 25 <br> 26 <label>{'Effect to use when the mouse is over the thumbnails:'|@translate}</label> 27 <br> 28 <label> 29 <input type="radio" name="f_hover_action" id="hover_action" value="fadein" {if $options.hover_action=="fadein"}checked{/if}> 30 {'Opacity at 75%, then 100% on mouseover'|@translate}</label> 31 <br> 32 <label> 33 <input type="radio" name="f_hover_action" id="hover_action" value="fadeout" {if $options.hover_action=="fadeout"}checked{/if}> 34 {'Opacity at 100%, then 75% on mouseover'|@translate}</label> 35 <br> 36 <label> 37 <input type="radio" name="f_hover_action" id="hover_action" value="border" {if $options.hover_action=="border"}checked{/if}> 38 {'For albums, the border becomes white'|@translate}</label> 39 <br> 40 <label> 41 <input type="radio" name="f_hover_action" id="hover_action" value="none" {if $options.hover_action=="none"}checked{/if}> 42 {'No effect'|@translate}</label> 43 <br><br> 44 </li> 25 45 <li> 26 46 <label for="column_width"><span class="property">{'Width of columns'|@translate}</span> </label> -
extensions/stripped_black_bloc/admin/maintain.inc.php
r17858 r23569 14 14 'starting_to' => 1, 15 15 'catthumb' => 'none', //none - same - all 16 'orientation_option' => 'none' //none - max_heigth - big_landscape 16 'orientation_option' => 'none', //none - max_heigth - big_landscape 17 'hover_action' => 'fadein', //fadein - fadeout - border - none 17 18 ); 18 19 -
extensions/stripped_black_bloc/admin/upgrade.inc.php
r17858 r23569 14 14 'starting_to' => 1, 15 15 'catthumb' => 'none', //none - same - all 16 'orientation_option' => 'none' //none - max_heigth -big_landscape 16 'orientation_option' => 'none', //none - max_heigth - big_landscape 17 'hover_action' => 'fadein', //fadein - fadeout - border - none 17 18 ); 18 19 $query = " … … 22 23 load_conf_from_db(); 23 24 } 24 elseif (count(unserialize( $conf['stripped_black_bloc'] ))!= 7)25 elseif (count(unserialize( $conf['stripped_black_bloc'] ))!=8) 25 26 { 26 27 $conff=unserialize($conf['stripped_black_bloc']); … … 32 33 'starting_to' => (isset($conff['starting_to'])) ? $conff['starting_to'] :1, 33 34 'catthumb' => (isset($conff['catthumb'])) ? $conff['catthumb'] :'none', //none - same - all 34 'orientation_option' => (isset($conff['orientation_option'])) ? $conff['orientation_option'] :'none' //none - max_heigth -big_landscape 35 'orientation_option' => (isset($conff['orientation_option'])) ? $conff['orientation_option'] :'none', //none - max_heigth -big_landscape 36 'hover_action' => (isset($conff['hover_action'])) ? $conff['hover_action'] :'fadein' //fadein - fadeout - border - none 35 37 ); 36 38 conf_update_param('stripped_black_bloc', pwg_db_real_escape_string(serialize($config))); -
extensions/stripped_black_bloc/language/en_UK/theme.lang.php
r17872 r23569 19 19 $lang['use the same config as above'] = "use the same config as above"; 20 20 $lang['always generate big thumbnails'] = "always generate big thumbnails"; 21 $lang['Effect to use when the mouse is over the thumbnails:'] = 'Effect to use when the mouse is over the thumbnails:'; 22 $lang['Opacity at 75%, then 100% on mouseover'] = 'Opacity at 75%, then 100% on mouseover'; 23 $lang['Opacity at 100%, then 75% on mouseover'] = 'Opacity at 100%, then 75% on mouseover'; 24 $lang['For albums, the border becomes white'] = 'For albums, the border becomes white'; 25 $lang['No effect'] = 'No effect'; 21 26 ?> -
extensions/stripped_black_bloc/language/fr_FR/theme.lang.php
r22652 r23569 1 1 <?php 2 3 2 $lang['The parent-theme Stripped need to be enabled in order to use its parameters'] = 'Le thème-parent Stripped doit être activé pour pouvoir utiliser ses paramètres'; 4 3 $lang['Stripped & Columns Theme Configuration'] = 'Stripped & Columns, Page de configuration'; … … 20 19 $lang['use the same config as above'] = "utiliser la configuration ci-dessus"; 21 20 $lang['always generate big thumbnails'] = "toujours générer des grosses miniatures"; 21 $lang['Effect to use when the mouse is over the thumbnails:'] = 'Effet à utiliser quand la souris survole une miniature'; 22 $lang['Opacity at 75%, then 100% on mouseover'] = 'Opacité à 75%, puis à 100% au survol'; 23 $lang['Opacity at 100%, then 75% on mouseover'] = 'Opacité à 100%, puis à 75% au survol'; 24 $lang['For albums, the border becomes white'] = 'Pour les albums, la bordure devient blanche'; 25 $lang['No effect'] = 'Aucun effet'; 22 26 ?> -
extensions/stripped_black_bloc/local_head.tpl
r21516 r23569 84 84 }); 85 85 } 86 function FadeSC() { 87 jQuery(".bloc a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 88 jQuery(".bloc_big a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 86 // fade onmouseover 87 function Hover_action_SC() { 88 {/literal}{if $stripped_black_bloc.hover_action=="fadein"}{literal} 89 jQuery(".bloc a, .bloc_big a").fadeTo(500, 0.75); 90 jQuery(".bloc a, .bloc_big a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 91 {/literal}{elseif $stripped_black_bloc.hover_action=="fadeout"}{literal} 92 jQuery(".bloc a, .bloc_big a").hover(function() { jQuery(this).fadeTo(500, 0.75); }, function() { jQuery(this).fadeTo(500, 1); }); 93 {/literal}{elseif $stripped_black_bloc.hover_action=="border"}{literal} 94 jQuery(".bloc a, .bloc_big a").hover(function() { jQuery(this).animate({borderColor: "#fff"}, 900); }, function() { jQuery(this).animate({borderColor: "{/literal}{if $stripped_black_bloc.color_main}#{$stripped_black_bloc.color_main}{/if}{literal}"}, 900); }); 95 {/literal}{/if}{literal} 89 96 } 90 jQuery(window).bind("RVTS_loaded", FadeSC);97 jQuery(window).bind("RVTS_loaded", Hover_action_SC); 91 98 92 99 … … 94 101 jQuery('#rvtsUp').remove(); 95 102 96 // fade onmouseover 97 jQuery(".bloc a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 98 jQuery(".bloc_big a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 103 Hover_action_SC(); 99 104 100 105 // sidemenu managment -
extensions/stripped_black_bloc/template/mainpage_categories.tpl
r17883 r23569 43 43 {assign var='size' value=$derivative->get_size()} 44 44 <div class="bloc {$TN_CLASS} album"> 45 <a href="{$cat.URL}" style="background: url({$derivative->get_url()}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" >45 <a href="{$cat.URL}" style="background: url({$derivative->get_url()}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px;" > 46 46 {$cat.NAME} 47 47 </a> -
extensions/stripped_black_bloc/template/stuffs_thumbnails.tpl
r17858 r23569 39 39 {assign var='size' value=$derivative->get_size()} 40 40 <div class="bloc {$TN_CLASS}"> 41 <a href="{$thumbnail.URL}" style="background: url({if $derivative->is_cached()}{$derivative->get_url()}{else}{$ROOT_URL}{$themeconf.img_dir}/loading.gif{/if}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" {if !$derivative->is_cached()}data-src="{$derivative->get_url()}"{/if}>41 <a href="{$thumbnail.URL}" style="background: url({if $derivative->is_cached()}{$derivative->get_url()}{else}{$ROOT_URL}{$themeconf.img_dir}/loading.gif{/if}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px;" {if !$derivative->is_cached()}data-src="{$derivative->get_url()}"{/if}> 42 42 {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if} 43 43 </a> -
extensions/stripped_black_bloc/template/thumbnails.tpl
r18715 r23569 42 42 {assign var='size' value=$derivative->get_size()} 43 43 <div class="bloc {$TN_CLASS}"> 44 <a title="{$thumbnail.TN_TITLE}" href="{$thumbnail.URL}" style="background: url({if $derivative->is_cached()}{$derivative->get_url()}{else}{$ROOT_URL}{$themeconf.img_dir}/loading.gif{/if}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px; opacity: 0.75;" {if !$derivative->is_cached()}data-src="{$derivative->get_url()}"{/if}>44 <a title="{$thumbnail.TN_TITLE}" href="{$thumbnail.URL}" style="background: url({if $derivative->is_cached()}{$derivative->get_url()}{else}{$ROOT_URL}{$themeconf.img_dir}/loading.gif{/if}) no-repeat scroll center center transparent; height: {$size[1]}px; width: {$size[0]}px;" {if !$derivative->is_cached()}data-src="{$derivative->get_url()}"{/if}> 45 45 {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if} 46 46 </a>
Note: See TracChangeset
for help on using the changeset viewer.