Ignore:
Timestamp:
Dec 20, 2009, 8:34:50 PM (11 years ago)
Author:
vdigital
Message:

[Update] For Juza - Juza Theme Configuration Menu is working at 99% at least
Solved:

  • Multi-view Controller error removed.
  • IE8 Category descriptions removed (already in Title).
  • Category menu: Not expanded.
  • Page numbers on Picture page is visible.
  • Links (Home / Category of Books / Book Demo ) on Picture page are available.
File:
1 edited

Legend:

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

    r4516 r4537  
    4343        return $src;
    4444}
     45
     46function remove_AkBookStyle_handlers() {
     47  global $public_content;
     48  remove_event_handler('loc_begin_index_thumbnails', array($public_content, 'loc_begin_index_thumbnails'));
     49  remove_event_handler('loc_end_index_thumbnails', array($public_content, 'loc_end_index_thumbnails'));
     50  remove_event_handler('loc_begin_index', array($public_content, 'page_force'));
     51  remove_event_handler('loc_end_picture', array($public_content, 'loc_end_picture'));
     52}
     53
    4554function Juza_update() {
    46   global $template, $conf;
     55  global $template, $conf, $user;
    4756  $conf_Juza = Juza_default();
    4857  if (isset($conf['Juza Config'])) $conf_Juza = array_merge($conf_Juza, unserialize($conf['Juza Config']));
     
    8695  if ($conf['Juza_active']) $template->assign('Juza_active', true);
    8796  if ($conf_Juza['Juza_handlers']) $template->assign('Juza_handlers', 'checked="checked"');
     97  $user["expand"] = true;
     98  $template->assign('Juza_cats', get_categories_menu());
     99  $user["expand"] = false;
    88100  $template->assign('Juza_width', $conf_Juza['Juza_width']);
    89101  $template->assign('Juza_height', $conf_Juza['Juza_height']);
Note: See TracChangeset for help on using the changeset viewer.