Changeset 25015

Show
Ignore:
Timestamp:
26.01.2012 14:56:24 (8 years ago)
Author:
sjm84
Message:

Added in the optional local themes for the themeswitcher

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/pages/pref.xsl

    r24995 r25015  
    214214                                $("#switcher").themeswitcher({ 
    215215                                    imgpath: "interfaces/" + gs.xsltParams.interface_name + "/style/images/", 
    216                                     additionalThemes: [{title:"Greenstone", name:"custom-theme", icon:"theme_90_greenstone.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/jquery-ui-1.8.16.custom.css"}] 
     216                                    additionalThemes: [ 
     217                                        {title:"Greenstone Default", name:"custom-theme0", icon:"theme_90_greenstone.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/main/jquery-ui-1.8.16.custom.css"}, 
     218                                        {title:"Greenstone Custom 1", name:"custom-theme1", icon:"theme_90_start_menu.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/alt_theme_1/jquery-ui-1.8.16.custom.css"}, 
     219                                        {title:"Greenstone Custom 2", name:"custom-theme2", icon:"theme_90_mint_choco.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/alt_theme_2/jquery-ui-1.8.16.custom.css"}, 
     220                                        {title:"Greenstone Custom 3", name:"custom-theme3", icon:"theme_90_trontastic.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/alt_theme_3/jquery-ui-1.8.16.custom.css"} 
     221                                    ] 
    217222                                }); 
    218223                            });