Rev 10055 | Rev 10645 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6002 | bpr | 1 | <!-- begin of $wims_theme/header.phtml --> |
2 | |||
21 | reyssat | 3 | !! Header menu bar definition. |
4 | !nocache |
||
5 | !set wims_theme_header=yes |
||
6002 | bpr | 6 | |
7 | !default wims_theme_icon=$class_theme_icon |
||
8 | !default wims_theme_icon=standard |
||
9 | !if _help isin $wims_session |
||
6022 | bpr | 10 | <div id="wimsmhelp"> |
6002 | bpr | 11 | !endif |
6240 | bpr | 12 | |
6002 | bpr | 13 | !if _exam isin $wims_session |
6022 | bpr | 14 | <div id="wimsexam"> |
6002 | bpr | 15 | !endif |
6240 | bpr | 16 | |
6002 | bpr | 17 | !if $wims_lightpopup=yes |
6022 | bpr | 18 | <div id="wimslightpopup"> |
7075 | obado | 19 | <link rel="stylesheet" href="html/themes/_css/light.css" type="text/css"> |
6240 | bpr | 20 | !endif |
6022 | bpr | 21 | |
6002 | bpr | 22 | !set wims_theme_version=1 |
1084 | bpr | 23 | !set current_module=!replace / by , in $module |
24 | !set module_path= !item 1 of $current_module |
||
9797 | bpr | 25 | !set wims_hm=$wims_hm\ |
9768 | bpr | 26 | $wims_home_items\ |
10055 | bpr | 27 | $wims_link_close\ |
28 | $wims_ariane |
||
29 | |||
9768 | bpr | 30 | !set wims_hm_cnt=!linecnt $wims_hm |
6240 | bpr | 31 | |
1062 | bpr | 32 | !if $wims_hm_cnt!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty) |
6240 | bpr | 33 | <div id="wimstopbox"> |
6002 | bpr | 34 | |
10644 | obado | 35 | <div class="wimsmenu"> |
36 | !for i_=1 to $wims_hm_cnt |
||
37 | <span class="topmenuitem"> |
||
38 | !set 1_=!line $i_ of $wims_hm |
||
39 | !read oneitem.phtml $1_ |
||
40 | </span> <!--topmenuitem--> |
||
41 | !next i_ |
||
42 | !distribute items div,span into div0,div1 |
||
43 | !read themes/_widgets/permalink.phtml |
||
1015 | obado | 44 | |
10644 | obado | 45 | !!## technical parameters |
46 | !if $class_cas_auth=$empty |
||
47 | !set m_init_parm=!replace internal & by $ $ in $module_init_parm |
||
48 | !set class_cas_auth=!getopt class_auth in $m_init_parm |
||
49 | !endif |
||
50 | !if $class_cas_auth!=$empty |
||
51 | !!## it is better that the cas logout appears too much ... |
||
52 | !!## can be useless in the case of a supervisor so the next line is commented |
||
53 | !!!!!!and $wims_user!=supervisor and ($wims_realuser=$empty or $wims_realuser!=supervisor) |
||
54 | <div class="topmenuitem"> |
||
55 | !read adm/class/logout_cas |
||
56 | </div><!--topmenuitem--> |
||
57 | !endif |
||
58 | </div><!--wimsmenu--> |
||
6002 | bpr | 59 | </div><!--wimstopbox--> |
60 | !endif |
||
1015 | obado | 61 | |
10644 | obado | 62 | !read themes/_widgets/ariane.phtml |
63 | |||
6002 | bpr | 64 | !if $module!=home or $wims_user!= |
6240 | bpr | 65 | <div id="wimsbodybox"> |
66 | <div id="wimspagebox"> |
||
1062 | bpr | 67 | !endif |
5464 | guerimand | 68 | |
5998 | bpr | 69 | !read themes/_widgets/alertchat.phtml |
70 | |||
6615 | bpr | 71 | <!-- end of $wims_theme/header.phtml --> |