Rev 14961 | Rev 17017 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14098 | obado | 1 | !! About window for an OEF module / exercise |
2 | |||
1882 | bpr | 3 | !set email=!trim $email |
4 | !set author=!trim $author |
||
20 | reyssat | 5 | |
1882 | bpr | 6 | !set embedabble_height= 600 |
7 | !set embedabble_width= 100% |
||
8 | |||
14098 | obado | 9 | !if $thisexo != $empty |
10 | <p> |
||
11 | $name_about1 |
||
12 | <a href="$wims_ref_name?module=help/teacher/faq&job=oef" target="_blank"> |
||
13 | <abbr lang="en" title="Online Exercise Format">OEF</abbr></a>. |
||
14 | </p> |
||
15 | |||
1882 | bpr | 16 | !read ./tabletheme |
5939 | bpr | 17 | !reset table_center |
10893 | obado | 18 | $table_header |
19 | <caption>$wims_name_exo_infos</caption> |
||
20 | <tbody> |
||
14098 | obado | 21 | !if $author!=$empty |
22 | !! define $script_cnt, script_out in a standarized form depending on language (scripts/name.phtml) |
||
23 | !read namewriting.phtml $author |
||
1882 | bpr | 24 | $table_tr |
10893 | obado | 25 | <th>$wims_name_Author</th> |
7680 | bpr | 26 | <td> |
14098 | obado | 27 | !set email=!replace internal ; by , in $email |
28 | !for au=1 to $script_cnt |
||
29 | !if $(email[$au])!=$empty |
||
30 | !mailurl $(email[$au]) $(script_out[$au]) |
||
31 | !else |
||
32 | $(script_out[$au]) |
||
33 | !endif |
||
34 | $ |
||
35 | !next |
||
1882 | bpr | 36 | </td> |
37 | </tr> |
||
14098 | obado | 38 | !endif |
39 | $table_tr |
||
40 | <th>$wims_name_Address</th> |
||
41 | <td> |
||
42 | !if $exo!=$empty |
||
43 | $module&$module_init_parm |
||
44 | !else |
||
45 | $module |
||
46 | !endif |
||
47 | </td> |
||
48 | </tr> |
||
49 | !if $solution$hint!=$empty |
||
50 | $table_tr |
||
51 | <th>$name_Solution / $name_Hint</th> |
||
11426 | bpr | 52 | <td> |
14098 | obado | 53 | !if $solution!=$empty and $hint!=$empty |
54 | $name_hint1 |
||
55 | !endif |
||
56 | !if $solution!=$empty and $hint=$empty |
||
57 | $name_hint2 |
||
58 | !endif |
||
59 | !if $solution=$empty and $hint!=$empty |
||
60 | $name_hint3 |
||
61 | !endif |
||
62 | !if $solution$hint=$empty |
||
63 | $name_hint4 |
||
64 | !endif |
||
65 | </td> |
||
66 | </tr> |
||
12348 | bpr | 67 | !endif |
14098 | obado | 68 | !if $keywords!=$empty |
69 | $table_tr<th>$wims_name_Keywords</th> |
||
70 | <td>$keywords</td></tr> |
||
12348 | bpr | 71 | !endif |
14962 | bpr | 72 | !if $oefobservation!=$empty and $wims_user=supervisor |
14961 | bpr | 73 | $table_tr<th>$name_Observation</th> |
74 | <td>$oefobservation</td></tr> |
||
75 | !endif |
||
14098 | obado | 76 | $table_tr |
77 | !if $module_init_parm == $empty |
||
78 | !set permalien=$wims_ref_name?module=$module |
||
79 | !set permalien1=$wims_ref_name?module=adm/raw&emod=$module |
||
80 | !else |
||
81 | !set exolink=$wims_ref_name?module=$module&cmd=new&exo=$thisexo |
||
82 | !set configlink=$wims_ref_name?module=$module&cmd=new&$module_init_parm |
||
83 | !set module_init_parm1=!replace internal &+ by ; in $module_init_parm |
||
84 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
85 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
86 | !set module_init_parm1=cmd=new;$module_init_parm1 |
||
87 | !set configlink1=$wims_ref_name?module=adm/raw&job=lightpopup&emod=$module&parm=$module_init_parm1&option=noabout |
||
88 | !read ./oef/urlencode.proc |
||
89 | !endif |
||
90 | <th>$wims_name_permalink</th> |
||
91 | <td> |
||
92 | $wims_name_permalink_desc |
||
93 | <ul> |
||
94 | !set exolink=$wims_ref_name?module=$module&cmd=new&exo=$thisexo |
||
95 | <li>$name_linkfor $wims_name_this_exercice : |
||
96 | <a href="$exolink">$exolink</a> |
||
10893 | obado | 97 | </li> |
14098 | obado | 98 | !if $module_init_parm!=$empty |
99 | !set configlink=$wims_ref_name?module=$module&cmd=new&$module_init_parm |
||
100 | <li>$name_linkfor $wims_name_this_config: |
||
101 | <a href="$configlink">$configlink</a> |
||
102 | </li> |
||
103 | !set module_init_parm1=!replace internal &+ by ; in $module_init_parm |
||
104 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
105 | !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1 |
||
106 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
107 | !set module_init_parm1=cmd=new;$module_init_parm1 |
||
108 | !set configlink1=$wims_ref_name?module=adm/raw&job=lightpopup&emod=$module&parm=$module_init_parm1&option=noabout |
||
109 | <li>"light" link (without interface) : |
||
10893 | obado | 110 | <a href="$configlink1">$configlink1</a> |
111 | </li> |
||
14098 | obado | 112 | <!--li>Beta : <a href="$widget_link">Download a widget for Apple iBooks Author</a></li--> |
113 | !endif |
||
10893 | obado | 114 | </ul> |
115 | </td> |
||
116 | </tr> |
||
117 | $table_tr |
||
118 | <th>$wims_name_embeddable</th> |
||
14098 | obado | 119 | <td class="field"> |
120 | <p>$wims_name_copy_and_paste $wims_name_the_code $wims_name_on_your_site</p> |
||
4805 | obado | 121 | <ul> |
14098 | obado | 122 | !set exolink=$wims_ref_name?module=$module&cmd=new&exo=$thisexo |
10893 | obado | 123 | <li> |
14098 | obado | 124 | <label for="embed_one_exo">$wims_name_display <strong>$wims_name_this_exercice</strong> $wims_name_on_your_site:</label> |
125 | <textarea id="embed_one_exo" class="copy_text" rows="3" cols="50" readonly="readonly" ><iframe src="$exolink&embededwindow=true" width="$embedabble_width" height="$embedabble_height"></iframe></textarea> |
||
11424 | bpr | 126 | </li><li> |
14098 | obado | 127 | !if $module_init_parm!=$empty |
128 | !set exolink=$wims_ref_name?module=$module&cmd=new&$module_init_parm |
||
129 | !else |
||
130 | !set exolink=$wims_ref_name?module=$module&cmd=new |
||
131 | !endif |
||
132 | <label for="embed_setup">$wims_name_display <strong>$wims_name_this_config</strong> $wims_name_on_your_site:</label> |
||
133 | <textarea id="embed_setup" class="copy_text" rows="3" cols="50" readonly="readonly"><iframe src="$configlink&embededwindow=true" width="$embedabble_width" height="$embedabble_height"></iframe></textarea> |
||
11424 | bpr | 134 | </li><li> |
14098 | obado | 135 | <label for="embed_setup_light">$wims_name_display <strong>$wims_name_this_config</strong> $wims_name_on_your_site ("light" version):</label> |
136 | <textarea id="embed_setup_light" class="copy_text" rows="3" cols="50" readonly="readonly"><iframe src="$configlink1" width="$embedabble_width" height="$embedabble_height"></iframe></textarea> |
||
10893 | obado | 137 | </li> |
138 | </ul> |
||
139 | </td> |
||
140 | </tr> |
||
141 | </tbody> |
||
14098 | obado | 142 | $table_end |
143 | <p class="name_collection">$name_collection</p> |
||
5698 | obado | 144 | <hr/> |
14098 | obado | 145 | !endif |
1882 | bpr | 146 | |
14098 | obado | 147 | <div id="module_about">$module_about</div> |
148 | <p>$name_copyr</p> |
||
149 | |||
1882 | bpr | 150 | !changeto NEWS.phtml |