Rev 15525 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10450 | bpr | 1 | !if $module = home |
15525 | bpr | 2 | !set w_path = ./adm/ |
10450 | bpr | 3 | !else |
15525 | bpr | 4 | !set w_path = $empty |
10450 | bpr | 5 | !endif |
10161 | obado | 6 | <!-- begin of standard/header.phtml --> |
1108 | czzmrn | 7 | !! Header menu bar definition. |
8 | !nocache |
||
9 | !set wims_theme_header=yes |
||
6745 | bpr | 10 | !set jquery_defined=yes |
11 | |||
1390 | bpr | 12 | !default wims_theme_icon=$class_theme_icon |
10161 | obado | 13 | !default wims_theme_icon=wimsedu |
14 | |||
1390 | bpr | 15 | !if _help isin $wims_session |
6013 | bpr | 16 | <div id="wimsmhelp"> |
1390 | bpr | 17 | !endif |
6123 | bpr | 18 | |
1414 | bpr | 19 | !if _exam isin $wims_session |
6013 | bpr | 20 | <div id="wimsexam"> |
1414 | bpr | 21 | !endif |
6123 | bpr | 22 | |
2979 | bpr | 23 | !if $wims_lightpopup=yes |
6013 | bpr | 24 | <div id="wimslightpopup"> |
14458 | bpr | 25 | <link rel="stylesheet" href="html/themes/_css/light.css"> |
6123 | bpr | 26 | !endif |
6013 | bpr | 27 | |
1336 | bpr | 28 | !set wims_theme_version=1 |
1108 | czzmrn | 29 | !set current_module=!replace / by , in $module |
30 | !set module_path= !item 1 of $current_module |
||
6123 | bpr | 31 | |
9768 | bpr | 32 | !if $[$wims_home_items_cnt + $wims_hm_cnt + $wims_link_close_cnt]!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty) |
12610 | bpr | 33 | !if $module!=home or $wims_user!= |
34 | <div id="wimstopbox"> |
||
35 | !distribute items span into div1 |
||
36 | <div class="wimsmenu menu float_left"> |
||
37 | !read themes/_widgets/headhome.phtml |
||
38 | </div> |
||
39 | !distribute items li into div1 |
||
40 | !read themes/_widgets/user_links.phtml |
||
41 | <div class="wimsmenu menu"> |
||
10729 | bpr | 42 | !!read themes/_widgets/headmenu.phtml |
10507 | obado | 43 | !!read themes/_widgets/about.phtml |
10406 | bpr | 44 | !if _help notin $wims_session |
45 | !distribute items div,span into div0,div1 |
||
46 | !!## technical parameters FIXME, should be elsewere |
||
12610 | bpr | 47 | !if $class_cas_auth=$empty |
48 | !set m_init_parm=!replace internal & by $ $ in $module_init_parm |
||
49 | !set class_cas_auth=!getopt class_auth in $m_init_parm |
||
50 | !endif |
||
51 | !if $class_cas_auth!=$empty and $wims_class=$empty |
||
52 | <$div1 class="menuitem"> |
||
53 | !read adm/class/logout_cas |
||
54 | </$div1> |
||
55 | !endif |
||
10406 | bpr | 56 | !endif |
12610 | bpr | 57 | </div><!--wimsmenu--> |
17170 | bpr | 58 | <br class="clearall"> |
10448 | bpr | 59 | !reset div1 |
12610 | bpr | 60 | </div><!--wimstopbox--> |
11465 | bpr | 61 | !if _light notin $wims_session |
62 | !read themes/_widgets/ariane.phtml |
||
63 | !endif |
||
10448 | bpr | 64 | !endif |
1177 | bpr | 65 | !endif |
5417 | bpr | 66 | |
1202 | bpr | 67 | !if $module!=home or $wims_user!= |
6013 | bpr | 68 | <div id="wimsbodybox"> |
69 | <div id="wimspagebox"> |
||
5992 | bpr | 70 | !endif |
3020 | bpr | 71 | |
5989 | bpr | 72 | !read themes/_widgets/alertchat.phtml |
5467 | bpr | 73 | |
10161 | obado | 74 | <!-- end of standard/header.phtml --> |