Ignore:
Timestamp:
Jan 21, 2010, 9:32:59 PM (14 years ago)
Author:
vdigital
Message:

[Update] - Juza Theme is full working (Not tested with plugins).

Recommended organization: Don't mixed Pictures and subcategories in a category.

File:
1 edited

Legend:

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

    r4659 r4716  
    8686}
    8787
    88 function remove_AkBookStyle_handlers() {
    89   global $public_content;
    90   remove_event_handler('loc_begin_index_thumbnails', array($public_content, 'loc_begin_index_thumbnails'));
    91   remove_event_handler('loc_end_index_thumbnails', array($public_content, 'loc_end_index_thumbnails'));
    92   remove_event_handler('loc_begin_index', array($public_content, 'page_force'));
    93   remove_event_handler('loc_end_picture', array($public_content, 'loc_end_picture'));
    94 }
    95 
    9688function Juza_update() {
    9789  global $template, $conf, $user;
     
    108100    $conf_Juza['Juza_shift'] = ($conf_Juza['Juza_shift'] > 0) ? 0 : $conf_Juza['Juza_shift'];
    109101    $conf_Juza['Juza_shift'] = ($conf_Juza['Juza_shift'] < -320) ? 320 : $conf_Juza['Juza_shift'];
    110     $conf_Juza['Juza_Auto_CS'] = isset($_POST['Juza_Auto_CS']) ? true:false;
    111102    $conf['Juza Config'] = serialize($conf_Juza);
    112103    $query = 'REPLACE INTO '.CONFIG_TABLE.'
     
    138129  $template->assign('Juza_shift2', 150-$conf_Juza['Juza_height']);
    139130  $template->assign('Juza_shift3', -(12+$conf_Juza['Juza_height']));
    140   if ($conf_Juza['Juza_Auto_CS']) $template->assign('Juza_Auto_CS', 'checked="checked"');
    141131}
    142132function Juza_default() {
     
    144134    'Juza_width'    => 885,
    145135    'Juza_height'   => 240,
    146     'Juza_shift'    => -160,
    147     'Juza_Auto_CS'  => true,);
     136    'Juza_shift'    => -160,);
    148137}
    149138?>
Note: See TracChangeset for help on using the changeset viewer.