Ignore:
Timestamp:
Feb 4, 2020, 12:17:44 PM (5 years ago)
Author:
ddtddt
Message:

[extensions] - About1menu - design smartpocket and bootstrap

Location:
extensions/About1menu
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/About1menu/main.inc.php

    r31433 r32037  
    1111// | About 1 menu plugin for piwigo                                        |
    1212// +-----------------------------------------------------------------------+
    13 // | Copyright(C) 2013-2016 ddtddt               http://temmii.com/piwigo/ |
     13// | Copyright(C) 2013-2020 ddtddt               http://temmii.com/piwigo/ |
    1414// +-----------------------------------------------------------------------+
    1515// | This program is free software; you can redistribute it and/or modify  |
     
    6161    if (($block = $menu->get_block( 'mbAbout' )) != null) {
    6262        $template->set_template_dir(A1M_PATH.'template/');
    63         $block->template = 'menubar_about.tpl';
     63        if ($user['theme'] == 'bootstrapdefault'){
     64                  $block->template = 'menubar_about_Bootstrap_Default.tpl';             
     65                }else if ($user['theme'] == 'smartpocket'){
     66                  $block->template = 'menubar_about_smartpocket.tpl';           
     67                }else{
     68                  $block->template = 'menubar_about.tpl';
     69                }
    6470    }
    6571}
Note: See TracChangeset for help on using the changeset viewer.