Rev 15763 | Rev 15947 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11781 | obado | 1 | !reset confirm |
2 | !read adm/css.phtml |
||
13602 | obado | 3 | |
4 | !read js/external/tinymce.phtml .iEdit |
||
11781 | obado | 5 | !header1 |
6 | |||
5648 | obado | 7 | <!-- adm/class/sheet/main.phtml START --> |
8 | |||
4039 | bpr | 9 | !read adm/class/classname.phtml $wims_classname\ |
4026 | bpr | 10 | $wims_institutionname |
2210 | bpr | 11 | |
1980 | guerimand | 12 | !if $job iswordof student chseries |
12004 | obado | 13 | !changeto $job.phtml |
23 | reyssat | 14 | !endif |
10604 | bpr | 15 | !if $job notwordof prep_modify getsource clone |
12004 | obado | 16 | !read adm/title.phtml 1\ |
4026 | bpr | 17 | $classname\ |
1724 | bpr | 18 | $name_title $name_title2 |
7402 | bpr | 19 | !else |
12004 | obado | 20 | !read adm/title.phtml 1\ |
7402 | bpr | 21 | $name_title\ |
10604 | bpr | 22 | $(name_$(job1)) $modif |
7402 | bpr | 23 | !endif |
23 | reyssat | 24 | !if $error!=$empty |
12004 | obado | 25 | !!this is not a true message error ... |
15859 | guerimand | 26 | !reset gotoend |
12004 | obado | 27 | !read lang/msg.phtml.$moduclass_lang |
15859 | guerimand | 28 | !if $gotoend!=no |
29 | !goto end |
||
30 | !endif |
||
9679 | guerimand | 31 | !else |
11999 | obado | 32 | !if $message!=$empty |
9679 | guerimand | 33 | <div class="wims_msg success"> |
12004 | obado | 34 | $message |
9679 | guerimand | 35 | </div> |
12004 | obado | 36 | !reset message |
11999 | obado | 37 | !endif |
23 | reyssat | 38 | !endif |
39 | |||
6300 | bpr | 40 | !if $job=getsource |
12004 | obado | 41 | !read getsource.phtml |
42 | !goto end |
||
23 | reyssat | 43 | !endif |
44 | |||
9956 | obado | 45 | <div id="sheet_management"> |
12701 | bpr | 46 | !if $jquery_defined=yes |
13306 | obado | 47 | <script> |
12701 | bpr | 48 | /*<![CDATA[*/ |
49 | jQuery(function($$) { |
||
50 | // Get in sessionStorage if a tab was previously selected, and activate it. |
||
51 | var selectedTabId = sessionStorage.getItem("sheet_management_selectedTab"); |
||
52 | selectedTabId = selectedTabId === null ? 0 : selectedTabId; //default tab = 0 |
||
53 | $$("#sheet_management").tabs({ |
||
54 | active: selectedTabId, |
||
55 | activate : function( event, ui ) { |
||
56 | selectedTabId = $$("#sheet_management").tabs("option", "active"); |
||
57 | sessionStorage.setItem("sheet_management_selectedTab", selectedTabId); |
||
58 | } |
||
12004 | obado | 59 | }); |
12701 | bpr | 60 | }); |
61 | /*]]>*/ |
||
62 | </script> |
||
63 | <ul> |
||
64 | <li><a href="#sheetinfo">$name_info</a></li> |
||
65 | !ifval $activetest!=-1 |
||
66 | <li><a href="#list">$name_content</a></li> |
||
15763 | guerimand | 67 | !if $indivtechvar!=0 and $indivtechvar!=$empty |
68 | <li><a href="#individualisation">$name_individualisation</a></li> |
||
69 | !endif |
||
12701 | bpr | 70 | !endif |
71 | </ul> |
||
72 | <div id="sheetinfo"> |
||
73 | !read adm/sheet/sheetinfo.phtml |
||
74 | </div> |
||
75 | !else |
||
76 | !if $wims_infoshow=no |
||
77 | <fieldset class="property_fields blockcenter"> |
||
78 | <legend> $name_info [ |
||
79 | !href cmd=resume&infoshow=yes $wims_name_showall |
||
80 | ] |
||
81 | </legend> |
||
82 | </fieldset> |
||
9956 | obado | 83 | !else |
12701 | bpr | 84 | !read adm/sheet/sheetinfo.phtml |
9956 | obado | 85 | !endif |
12701 | bpr | 86 | !endif |
23 | reyssat | 87 | |
88 | !ifval $activetest=-1 |
||
12004 | obado | 89 | !goto end |
23 | reyssat | 90 | !endif |
91 | |||
92 | :end1 |
||
9956 | obado | 93 | <div id="list"> |
23 | reyssat | 94 | !if $exocnt=0 |
14114 | obado | 95 | <p class="wims_msg info">$name_warning</p> |
23 | reyssat | 96 | !else |
14114 | obado | 97 | !if $activetest=0 |
98 | <a class="wims_button" href="#add_work">$name_add_work</a> |
||
99 | !endif |
||
14709 | obado | 100 | !set wims_ref_class=wims_button |
12004 | obado | 101 | !href module=adm/sheet&sh=$sheet&job=print $wims_name_printable |
3066 | bpr | 102 | |
12004 | obado | 103 | !read adm/sheet/sheetcontent.phtml |
23 | reyssat | 104 | !endif |
105 | |||
106 | !if $activetest=0 |
||
14114 | obado | 107 | <fieldset id="add_work"> |
108 | <legend><h2>$name_add_work</h2></legend> |
||
109 | <div class="formHelp">$name_text1</div> |
||
110 | <p>$name_options_to_add...</p> |
||
111 | <div><p class="text_icon search">$name_text2:</p> |
||
112 | !read adm/search_engine/form.phtml |
||
113 | </div> |
||
114 | <p>$name_other_options:</p> |
||
115 | <ul class="flex_box grid-x small-up-1 medium-up-3"> |
||
116 | <li class="card cell"><div class="card-section"> |
||
117 | $name_text3 |
||
118 | !set wims_ref_class=text_icon classexo |
||
119 | !href module=classes/$lang&special_parm=.nocache. $wims_name_classexo |
||
120 | </div></li><li class="card cell"><div class="card-section"> |
||
121 | !set wims_ref_class=text_icon tags |
||
14335 | bpr | 122 | !href target=wims_internal module=adm/browse&job=taxo $name_texttaxo |
123 | !!!href target=wims_internal module=adm/browse&job=subject $name_textsubject |
||
14114 | obado | 124 | </div></li><li class="card cell"><div class="card-section"> |
125 | !set wims_ref_class=text_icon file |
||
126 | !href cmd=reply&job=prep_putsource $wims_name_putsource |
||
127 | </div></li> |
||
128 | !if $wims_devel_modules iswordof open |
||
129 | <li class="card cell"><div class="card-section"> |
||
130 | <span>$name_text4</span> |
||
131 | !href module=adm/modtool $wims_name_modtool |
||
132 | </div></li> |
||
133 | !endif |
||
134 | !if $name_helpprog!=$empty |
||
135 | <li class="card cell"><div class="card-section">$(name_helpprog[1]) |
||
136 | !set wims_ref_class=text_icon browse |
||
137 | !href module=help/teacher/program $(name_helpprog[2]) |
||
138 | $(name_helpprog[3]). |
||
139 | </li> |
||
140 | !endif |
||
1533 | guerimand | 141 | </ul> |
14114 | obado | 142 | </fieldset> |
23 | reyssat | 143 | !endif |
9956 | obado | 144 | </div> |
15763 | guerimand | 145 | !! -------- end of id=list |
23 | reyssat | 146 | |
15763 | guerimand | 147 | !if $indivtechvar!=0 and $indivtechvar!=$empty |
148 | <div id="individualisation"> |
||
149 | !readproc indiv.proc |
||
150 | !read indiv.phtml |
||
151 | </div> |
||
152 | !endif |
||
153 | |||
1533 | guerimand | 154 | :end |
9956 | obado | 155 | </div> |
23 | reyssat | 156 | !if $activetest>=0 |
12701 | bpr | 157 | !if $activetest=0 |
158 | !let wims_menu_items=!append line putsource,1,cmd=reply&job=prep_putsource to $wims_menu_items |
||
159 | !endif |
||
160 | !if $job!=getsource and |
||
161 | !let wims_menu_items=!append line sheetsource,1,cmd=reply&job=getsource to $wims_menu_items |
||
162 | !endif |
||
163 | !if $exocnt>0 |
||
164 | !let wims_menu_items=!append line duplicatesheet,1,cmd=reply&job=duplicate&sheet=$sheet to $wims_menu_items |
||
165 | !endif |
||
166 | !let wims_menu_items=!append line itemsep,0,\ |
||
1533 | guerimand | 167 | printable,1,module=adm/sheet&sh=$sheet&job=print\ |
168 | participantview,1,module=adm/sheet&sh=$sheet to $wims_menu_items |
||
23 | reyssat | 169 | !endif |
1533 | guerimand | 170 | |
5648 | obado | 171 | <!-- adm/class/sheet/main.phtml END --> |
23 | reyssat | 172 | !tail |
173 | |||
174 | !distribute item ,, into job,source,title,desc,prpage |