Changeset 4659


Ignore:
Timestamp:
Jan 10, 2010, 4:38:45 PM (11 years ago)
Author:
vdigital
Message:

[Update] For Juza - Juza Theme is full working (On Standard Piwigo Gallery).

Recommended organization: Don't mixed Pictures and subcategories in a category.
Next step - Response time checking.
To see I will raise a locked gallery.

Location:
extensions/Juza
Files:
3 added
8 edited

Legend:

Unmodified
Added
Removed
  • extensions/Juza/include/functions.inc.php

    r4537 r4659  
    33  global $template;
    44  Juza_update();
    5   $template->set_filenames(array('juza' => 'theme/Juza/script.tpl'));
     5  $template->set_filenames(array(
     6    'juza' => 'theme/Juza/script.tpl',
     7    'juzabar' => 'theme/Juza/Juzabar.tpl',
     8    'juzaconfig' => 'theme/Juza/include/Juzaconfig.tpl',
     9  ));
     10  include_once(PHPWG_ROOT_PATH.'include/menubar.inc.php');
    611  $template->parse('juza');
     12  $template->parse('juzabar');
     13  $template->parse('juzaconfig');
    714}
    815
     
    4451}
    4552
     53function Juza_common_tags($max_tags)
     54{
     55   $query = '
     56SELECT t.*, count(*) AS counter
     57  FROM '.IMAGE_TAG_TABLE.'
     58    INNER JOIN '.TAGS_TABLE.' t ON tag_id = id
     59  GROUP BY tag_id
     60  ORDER BY counter DESC
     61  LIMIT 0,' . $max_tags . ';';
     62  $result = pwg_query($query);
     63  $tags = array();
     64  while($row = mysql_fetch_assoc($result)) {
     65    array_push($tags, $row);
     66  }
     67  usort($tags, 'tag_alpha_compare');
     68  return $tags;
     69}
     70
     71function Juza_tags( $ref_back ) {
     72  $menu = & $ref_back[0];
     73  $block = $menu->get_block( 'mbTags' );
     74  if ( count($block->data) > 0 ) return;
     75  $tags = Juza_common_tags(10);
     76  $tags = add_level_to_tags($tags);
     77  foreach ($tags as $tag) {
     78    $block->data[] = array_merge( str_replace(' ', ' ', $tag),
     79        array(
     80          'URL' => make_index_url( array( 'tags' => array($tag) ) ),
     81          'U_ADD' => make_index_url( array( 'tags' => array($tag) ) ),
     82          )
     83      );
     84  }
     85  $block->template = 'menubar_tags.tpl';
     86}
     87
    4688function remove_AkBookStyle_handlers() {
    4789  global $public_content;
     
    5799  if (isset($conf['Juza Config'])) $conf_Juza = array_merge($conf_Juza, unserialize($conf['Juza Config']));
    58100  if (isset($_POST['Juza_submit'])) {
    59     $conf_Juza['Juza_handlers'] = isset($_POST['Juza_handlers']) ? true:false;
    60101    $conf_Juza['Juza_width'] = isset($_POST['Juza_width']) ? (integer)$_POST['Juza_width'] : 885;
    61102    $conf_Juza['Juza_width'] = ($conf_Juza['Juza_width'] > 885) ? 885 : $conf_Juza['Juza_width'];
     
    84125    pwg_query($query);
    85126  }
    86   $conf['Juza_active'] = (!isset($conf_Juza['Juza_handlers'])) ? true:$conf_Juza['Juza_handlers'];
    87127
    88   if ( is_admin() ) {
    89     $template->append('footer_elements', '<form method="post" name="JuzaTC"  action="' . make_index_url() . '">
    90 <input name="Juza_config" type="submit" value="'. l10n('Juza Theme Configuration') .'" class="conf" />
    91 <input type="hidden" value="true" name="Juza_conf" />
    92 </form>');
    93   }
    94   if ( isset($_POST['Juza_conf']) ) $template->assign('Juza_config', true);
    95   if ($conf['Juza_active']) $template->assign('Juza_active', true);
    96   if ($conf_Juza['Juza_handlers']) $template->assign('Juza_handlers', 'checked="checked"');
     128  $template->assign('Juza_config', true);
     129
    97130  $user["expand"] = true;
    98131  $template->assign('Juza_cats', get_categories_menu());
     
    106139  $template->assign('Juza_shift3', -(12+$conf_Juza['Juza_height']));
    107140  if ($conf_Juza['Juza_Auto_CS']) $template->assign('Juza_Auto_CS', 'checked="checked"');
    108   if (isset($_POST['Juza_close'])) {
    109     redirect(make_index_url());
    110   }
    111141}
    112142function Juza_default() {
    113143  return array(
    114     'Juza_handlers' => true,
    115144    'Juza_width'    => 885,
    116145    'Juza_height'   => 240,
  • extensions/Juza/js/juzascript.js

    r4537 r4659  
    1111        $('.thumbnailCategories li').addClass('Juza-cat');
    1212        $('.description li').removeClass('Juza-cat');
     13        $('.thumbnailCategory div.description').addClass('Juza-desc');
     14        $('td.JS_active').show();
    1315  $nav = $('#content .navigationBar').html();
    1416        if ($nav == null) $nav = '';
     
    4345          $('#menubar').toggleClass('displayed');
    4446        });
    45         //$('span#updateRate').parent('table').eq(0).show().children('td').hide();
    46         //$('span#updateRate').parent('td').eq(0).show();
     47
     48  var $c = $('#Juza_call').html();
     49  $('#menubar a[href*="admin.php"]').parent('li').eq(0).after('<li>'+$c+'</li>');
     50  $('#menubar form#Juza_action input.Juza_conf').hide();
     51  $('#menubar form#Juza_action').hide();
     52  $('#menubar a.Juza_conf').show();
     53
     54  $('a.Juza_conf').click(function(){
     55                $('#menubar').toggleClass('displayed');
     56                $('#JuzaBox').fadeIn('fast');
     57                if($('body').height() > $('body').offset().height){
     58                                var sH = $('body').height();
     59                        }else{
     60                                var sH = $('body').offset().height;
     61                }
     62                $('#JuzaShade').css( {height:sH+'px'}).css('z-index',9998).fadeIn('fast');
     63
     64                $('#JuzaCloseBox').click(function(){
     65                        $('#JuzaBox').fadeOut('fast');
     66                        $('#JuzaShade').fadeOut('fast').css('z-index',-9998);
     67                });
     68        });
    4769});
  • extensions/Juza/language/en_UK/lang.php

    r4516 r4659  
    1010$lang['[-320:0]'] = '[-320:0] ';
    1111$lang['Auto cropping and shifting'] = 'Auto cropping and shifting ';
    12 $lang['Recommended medium width &lt; 900px'] = 'Recommended medium width &lt; 900px ';
     12$lang['Inactive, maintain picture width &lt; 900px (Height is free)'] = 'Inactive, maintain picture width &lt; 900px (Height is free)';
    1313$lang['Juza_Submit'] = 'Submit';
    1414$lang['Juza_Reset'] = 'Reset';
    15 $lang['Juza_Close'] = 'Close';
    1615?>
  • extensions/Juza/language/fr_FR/lang.php

    r4516 r4659  
    1010$lang['[-320:0]'] = '[-320:0] ';
    1111$lang['Auto cropping and shifting'] = 'Décalage et découpe automatiques ';
    12 $lang['Recommended medium width &lt; 900px'] = 'La largeur des images doit rester &lt; 900px ';
     12$lang['Inactive, maintain picture width &lt; 900px (Height is free)'] = 'Désactivé, la largeur des images doit rester &lt; 900px ';
    1313$lang['Juza_Submit'] = 'Enregister';
    1414$lang['Juza_Reset'] = 'Annuler';
    15 $lang['Juza_Close'] = 'Fermer';
    1615?>
  • extensions/Juza/language/it_IT/lang.php

    r4521 r4659  
    1010$lang['[-320:0]'] = '[-320:0] ';
    1111$lang['Auto cropping and shifting'] = 'Offset e taglio automatico ';
    12 $lang['Recommended medium width &lt; 900px'] = 'La larghezza dell\'immagine deve rimanere &lt; 900px';
     12$lang['Inactive, maintain picture width &lt; 900px (Height is free)'] = 'Inattivi, mantenere la larghezza dell\'immagine deve rimanere &lt; 900px';
    1313$lang['Juza_Submit'] = 'Salvare';
    1414$lang['Juza_Reset'] = 'Cancellare';
    15 $lang['Juza_Close'] = 'Chiudere';
    1615?>
  • extensions/Juza/script.tpl

    r4537 r4659  
    1 {if isset($Juza_active)}
    2         {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
    3         {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
    4         {assign var=JUZA value=$ROOT_URL|@cat:"template/"|@cat:$themeconf.template|@cat:"/theme/"|@cat:$themeconf.theme}
    5         {known_script id="juza" src=$JUZA|@cat:"/js/juzascript.js"}
    6         {html_head}
    7         <script type="text/javascript">
    8           $('img.bigImg').each(function() {ldelim}
    9             $h = $(this).height()
    10                         if ($h < {$Juza_height}) {ldelim}
    11                                 $(this).parent('.maxIllustration a').eq(0).css('height', $h+'px');
    12                                 $(this).parent('li.Juza-cat').eq(0).css('height', (55+$h)+'px');
    13                                 $(this).parent('li.Juza-cat').eq(0).css('min-height', (55+$h)+'px');
    14                                 $(this).parent('li.Juza-cat').children('.description').eq(0).css('height', (325+$h)+'px');
    15                                 $(this).parent('li.Juza-cat').children('.description').eq(0).css('top', (-(12+$h))+'px');
    16                         }
    17                 });
    18         </script>
    19         {if isset($Juza_Auto_CS)} {* Auto Cropping and Shifting *}
    20                 <style type="text/css">
     1  {*known_script id="jquery" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"*}
     2  {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
     3  {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
     4  {assign var=JUZA value=$ROOT_URL|@cat:"template/"|@cat:$themeconf.template|@cat:"/theme/"|@cat:$themeconf.theme}
     5  {known_script id="juza" src=$JUZA|@cat:"/js/juzascript.js"}
     6  {html_head}
     7<style type="text/css">
    218.maxIllustration a {ldelim} max-height: {$Juza_height}px; height: {$Juza_height}px; width:{$Juza_width}px; }
    229.bigImg {ldelim} top:{$Juza_shift}px; width:{$Juza_width}px !important; }
    2310#imageToolBar {ldelim} top:{$Juza_shift2}px; }
    24 .content ul.thumbnailCategories li.Juza-cat {ldelim} height:{$Juza_height2}px; min-height:{$Juza_height2}px; }
    25                 </style>
    26         {else}
    27         <script type="text/javascript">
    28           $('img.bigImg').each(function() {ldelim}
    29             $h = $(this).height()
    30                         $(this).parent('.maxIllustration a').eq(0).css('height', $h+'px');
    31                         $(this).parent('li.Juza-cat').eq(0).css('height', (55+$h)+'px');
    32                         $(this).parent('li.Juza-cat').eq(0).css('min-height', (55+$h)+'px');
    33                         $(this).parent('li.Juza-cat').children('.description').eq(0).css('height', (325+$h)+'px');
    34                         $(this).parent('li.Juza-cat').children('.description').eq(0).css('top', (-(12+$h))+'px');
    35                         $(this).after('--'+$h+'px --');
    36                 });
    37         </script>
    38         {/if}
    39         <style type="text/css">
    40 .content div.thumbnailCategory div.description {ldelim} height:{$Juza_height3}px !important; top:{$Juza_shift3}px; }
    41 #copyright {ldelim} margin-top: {$Juza_width}px; }
    42 table.juzabar td {ldelim} width: 155px; }
    43         </style>
    44 <noscript>
    45         <style type="text/css">
    46 .maxIllustration a {ldelim} max-height: auto; height: auto; width:auto; }
    47 .bigImg {ldelim} top:0px; width:auto !important; }
    48 #imageToolBar {ldelim} top:0px; }
    49 .content ul.thumbnailCategories li.Juza-cat {ldelim} height:auto; min-height:auto; }
    50 .content div.thumbnailCategory div.description {ldelim} height:auto !important; top:0px; }
    51 #copyright {ldelim} margin-top: 0px; }
    52 .content ul.thumbnailCategories li {ldelim} width:49.7%; }
    53         </style>
    54 </noscript>
     11.content ul.thumbnailCategories li.Juza-cat {ldelim} height:{$Juza_height2}px; min-height:{$Juza_height2}px; width: 100%; }
     12.content div.thumbnailCategory div.Juza-desc {ldelim} height:{$Juza_height3}px !important; top:{$Juza_shift3}px; }
     13</style>
    5514
    56         {/html_head}
    57 {else}
    58         {html_head}
    59         <style type="text/css">
    60 .content ul.thumbnailCategories li {ldelim} width:49.7%; }
    61         </style>
    62         {/html_head}
    63 {/if}
    64 <table cellspacing="0" class="juzabar">
    65 <tbody><tr>
    66 <td>HOME PAGE</td>
    67 <td>PORTFOLIO</td>
    68 <td><a title="Gallery home" href="{''|make_index_url}"><strong>GALLERIES</strong></a></td>
    69 <td><a title="Available tags" href="{$ROOT_URL}tags.php"><strong>TAGS</strong></a></td>
    70 <td>ABOUT JUZA</td>
    71 <td>E-MAIL</td>
    72 <td>JUZA FORUM</td>
    73 {if !empty($blocks)}
    74 <td><a class="Juza_menu hidden" title="Display menu" href="#"><strong>MENU</strong></a></td>
    75 {/if}
    76 </tr>
    77 </tbody></table>
    78 {if isset($thumbnails) and isset($Juza_active)}
     15<script type="text/javascript">
     16$().ready(function() {ldelim}
     17  $('div.illustration a img').each(function() {ldelim}
     18    $(this).ready(function() {ldelim}
     19      var $h = $(this).height();
     20      {if isset($Juza_Auto_CS)}if ($h  < {$Juza_height}) /* Kill Auto crop */ {/if} {literal} {
     21        var $i = ($h + 55)+'px';
     22        var $j = ($h + 325)+'px';
     23        var $k = ($h + 12)+'px';
     24        var $h = $h+'px';
     25        $(this).css('top', '0px');
     26        $(this).parents('li').eq(0).addClass('Juza-cat').css('height', $i).css('min-height', $i).css('width','100%');
     27        $(this).parents('li.Juza-cat').eq(0).find('.description').eq(0).css('height' , $j).css('top', '-'+$k).find('li').css('width','100%');
     28        $(this).parents('.maxIllustration a').eq(0).css('height', $h);
     29      };{/literal}
     30    });
     31  });
     32  var $h = $('#jquery_local_img #relTag').height() + 50 + {$Juza_width};
     33  $('#copyright').css('margin-top', $h+'px');
     34});
     35</script>
     36  {/html_head}
     37
     38{if isset($thumbnails)}
    7939<div id="ix-desc" style="display:none">
    8040{foreach from=$thumbnails item=thumbnail}
    8141  <div title="{$thumbnail.FILE_DESC|@htmlspecialchars}" class="Thumb-{$thumbnail.ID}" alt="{$thumbnail.FILE_WIDTH}"></div>
    82         <div title="{$thumbnail.FILE_PATH}" class="Medium-{$thumbnail.ID}" alt="{$thumbnail.FILE_HEIGHT}"></div>
     42  <div title="{$thumbnail.FILE_PATH}" class="Medium-{$thumbnail.ID}" alt="{$thumbnail.FILE_HEIGHT}"></div>
    8343{/foreach}
    8444</div>
    8545{/if}
    86 {if isset($category_thumbnails) and isset($Juza_active)}
     46
     47{if isset($category_thumbnails)}
    8748<div id="ix-cat" style="display:none">
    8849{foreach from=$category_thumbnails item=cat}
     
    9152</div>
    9253{/if}
     54
    9355{if isset($Juza_cats)}
    9456<div id="menu-cat" style="display:none">
     
    9658</div>
    9759{/if}
    98 {if isset($Juza_config)}
    99 <form id="Juza_config" method="post" class="properties" action="index.php">
    100 <fieldset id="Juza_config_fs">
    101   <legend><span class="legend">{'Juza Theme Configuration'|@translate}</span></legend>
    102   <ul>
    103     <li>
    104       <label>
    105         <span class="property">{'Activate Juza handlers'|@translate}</span>
    106         <input type="checkbox" name="Juza_handlers" {$Juza_handlers} />
    107         <span class="range">{'Unselected => like Javascript inactive'|@translate}</span>
    108      </label>
    109     </li>
    110     <li>
    111       <span class="property">
    112         <label for="Width">{'Index picture max-width'|@translate}</label>
    113       </span>
    114       <input type="text" size="4" maxlength="4" name="Juza_width" id="Juza_width" value="{$Juza_width}" />
    115       <span class="range">{'[300:885]'|@translate}</span>
    116     </li>
    117     <li>
    118       <span class="property">
    119         <label for="Height">{'Index picture cropping-height'|@translate}</label>
    120       </span>
    121       <input type="text" size="4" maxlength="4" name="Juza_height" id="Juza_height" value="{$Juza_height}" />
    122        <span class="range">{'[110:400]'|@translate}</span>
    123    </li>
    124     <li>
    125       <span class="property">
    126         <label for="Shift">{'Index picture top-shift'|@translate}</label>
    127       </span>
    128       <input type="text" size="4" maxlength="4" name="Juza_shift" id="Juza_shift" value="{$Juza_shift}" />
    129       <span class="range">{'[-320:0]'|@translate}</span>
    130     </li>
    131     <li>
    132       <label>
    133         <span class="property">{'Auto cropping and shifting'|@translate}</span>
    134         <input type="checkbox" name="Juza_Auto_CS" {$Juza_Auto_CS} />
    135         <span class="range">{'Recommended medium width &lt; 900px'|@translate}</span>
    136       </label>
    137     </li>
    138   </ul>
    139 </fieldset>
    140  
    141     <input type="hidden" value="true" name="Juza_conf" />
    142     <input class="submit" type="submit" name="Juza_submit" value="{'Juza_Submit'|@translate}" />
    143     <input class="submit" type="submit" name="Juza_reset" value="{'Juza_Reset'|@translate}" />
    144     <input class="submit" type="submit" name="Juza_close" value="{'Juza_Close'|@translate}" />
    145  
    146 </form>
     60
     61{if is_admin()}
     62<div id="Juza_call" style="display:none"><a class="Juza_conf" href="#" alt="">{'Juza Theme Configuration'|@translate}</a>
     63</div>
    14764{/if}
     65
     66{$MENUBAR}
     67{assign var=MENUBAR value=''}
     68
  • extensions/Juza/theme.css

    r4537 r4659  
    44html body * {background-color: transparent; margin:0;padding:0; outline:0;}
    55html body {background-color: #0; margin:0;padding:0;}
    6 html body #the_page { background-color: #292929 !important; width:1240px;margin:10px auto; height: 100%; border: 1px solid #fff !important; }
     6html body #the_page { background-color: #292929 !important; width:1240px;margin:10px auto; min-height: 100%; height: 100%; border: 1px solid #fff !important; }
    77body, h1, h2, h3, dt, #menubar dt, .throw, INPUT.rateButtonSelected {color:#ddffdd;}
    8 #content .pageNumberSelected {color: #52ff97; color: #72ffb7;}
     8#content .pageNumberSelected { color: #72ffb7; }
    99.content div.titrePage ul.categoryActions { display: none; }
    10 .content div.thumbnailCategory div.description { position:relative; width:100%; z-index:10; overflow: hidden; }
     10.content div.thumbnailCategory div.description { position:relative; width:100%; z-index:10; overflow: hidden; height:auto; top:0px;}
    1111.content ul.thumbnails span, .content ul.thumbnails label, .content div.thumbnailCategory div.illustration { width:135px; }
    1212.content { margin:0 3em !important; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:10pt; }
     
    1414.content div.thumbnailCategory div.description h3 { position:relative; top:10px; z-index:11; }
    1515.content div.thumbnailCategory div.description ul { margin: 10px 5px 5px 30px; }
    16 .content ul.thumbnailCategories li { width:100%; }
    17 .content ul.thumbnailCategories li.Juza-cat { margin:0 0 20px; }
     16/* .content ul.thumbnailCategories li { width:100%; }  Let user choice in case of noscript */
     17.content ul.thumbnailCategories li.Juza-cat { margin:0 0 20px; height:auto; min-height:auto; }
    1818.content ul.thumbnails span.wrap1 { background-color: #000 !important; width: 140px; height: 140px; min-width: 140px; min-height: 140px; max-width: 140px; max-height: 140px; margin:0 2px 2px 0; border: 1px solid #444; }
    1919.content ul.thumbnails span.wrap1 .thumbLegend { display: none !important; }
    2020.content ul.thumbnails span.wrap2 { -moz-border-radius: 0; border-radius: 0; }
    2121.content ul.thumbnails span.wrap2 img.thumbnail { margin:auto; border: 1px solid #111; }
     22#copyright { margin-top: 0px; }
    2223#copyright * { color: #383838; }
    2324form.filter fieldset label textarea { display:block; margin:0.5em auto; color: #ddffdd; }
    2425fieldset { margin:1em !important; padding:1em !important; }
     26fieldset#Juza_config_fs { border: 0px; }
    2527#content UL.thumbnails LI SPAN.wrap1 SPAN.wrap2:hover { background-color: #181818; }
    2628div.illustration { overflow: hidden; }
    2729div.illustration img { border: 0; margin-left: 0px; }
    28 .bigImg { position:relative; }
     30.bigImg { position:relative; top:0px; width:auto; }
    2931img.icon[alt="(!)"] { display: none; }
    30 input.conf, a { color: #FB9700 !important }
    31 input.conf:hover, a:hover { color: #ef5810 !important }
    32 input[type="submit"].conf { border:0;margin-top: 7; margin-bottom: 0;background-color: transparent !important; font-weight:normal; }
     32input.Juza_conf, a { color: #FB9700 !important }
     33input.Juza_conf:hover, a:hover { color: #ef5810 !important }
     34input[type="submit"].Juza_conf { border:0;margin-top: 7; margin-bottom: 0;background-color: transparent !important; font-weight:normal; }
    3335input[type="text"], input[type="password"], input[type="button"], input[type="submit"], input[type="reset"], input[type="file"] {
    3436  background-color:#D3D3D3 !important; }
    3537#content, #content *,.content, .content *, .titrePage, #content div.thumbnailCategory { background-color: transparent; }
    36 #menubar { display:none; background-color: #222; position: absolute; right: 2%; z-index: 9999; }
     38#menubar { display:none; background-color: #222; position: absolute; right: 2%; z-index: 9999; top: 135px; }
    3739#menubar.displayed { display: block; }
    3840#menubar *, #menubar dt, #menubar dl { background-color: #222; }
     41#menubar #menuTagCloud span { white-space:normal; }
    3942select, textarea { color:#ddffdd; background-color:#222 !important; }
    4043#imageToolBar, .header_notes { background-color: transparent; }
    4144#jquery_local_img { text-align: center; margin-top: 5px; min-height: 600px; height: 600px; /* linked to Area Mapping */ }
     45a.Juza_conf { display: none; }
    4246#Juza_config input[type="text"], #Juza_config input[type="checkbox"] { float:left; margin:6px auto auto 4px; }
    4347#Juza_config input[type="submit"] { margin:10px auto 15px;  }
    4448#Juza_config .range { text-align: left; float: left; margin-left: 10px; font-style:italic; }
     49#JuzaBox {width:100%; margin:50px 0px; text-align:center; display:none;}
     50#JuzaWrap {width:800px; background-color:#292929; border:3px #6DAA37 solid; margin:auto; margin-left:20%; color:#ddffdd; position:fixed;  z-index:9999; top: 115px;}
     51#JuzaShade {width:100%; height:100%; position:absolute; top:0px; left:0px; background:#000; -moz-opacity:0.5; -khtml-opacity:0.5; opacity:0.5; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50); display:none; z-index:9998;}
     52#JuzaCloseBox { width:16px; height:16px; line-height:15px; background-color:#6DAA37; position:absolute; top:5px; right:10px; cursor:pointer;}
     53#jquery_local_img #relTag dt { display:none; }
    4554.juzabar { margin: 12pt 0 6pt; font-size: 10pt; width: 100%; background-color: #353735 !important; text-align: center; }
     55.juzabar td.JS_active { display: none; }
     56table.juzabar td { width: 155px; }
    4657legend .legend { padding: 0 10px; }
    4758.maxIllustration { left:20px; margin-bottom:35px; max-width:100% !important; position:relative; top:30px; width:100% !important; }
    48 .maxIllustration a { overflow: hidden; display: block; position:relative; z-index:12; float:right; }
     59.maxIllustration a { overflow: hidden; display: block; position:relative; z-index:12; float:right; max-height: auto; height: auto; width:auto; }
    4960.middle_block h2, h2 { color: #6daa37; font-size:16px; text-align: center; }
    5061.middle_block * { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11pt; text-align:left; }
     
    6374#theHeader h1 { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:60px; font-style:normal; font-weight:normal; line-height:0.89em; color: #fff;}
    6475#theHeader p { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:20px; letter-spacing:5px; line-height:2.1em; colour: #fff; }
    65 #the_page #imageToolBar { top:-90px; }
     76#the_page #imageToolBar { top:0px; }
     77#theNotificationPage #menubar dl, #thePopuphelpPage #menubar dl { margin:0; }
  • extensions/Juza/themeconf.inc.php

    r4537 r4659  
    2929  include_once(JUZA_PATH.'include/functions.inc.php');
    3030  add_event_handler('loc_after_page_header', 'Juza_hook', 20);
     31  add_event_handler('blockmanager_apply', 'Juza_tags');
    3132  /* add_event_handler('init', 'remove_AkBookStyle_handlers', 50); */
    3233}
Note: See TracChangeset for help on using the changeset viewer.