Rev 9759 | Rev 11425 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1882 | bpr | 1 | !read ./tabletheme |
9762 | bpr | 2 | !if $module=home or $module= |
3 | !goto home |
||
4 | !endif |
||
16 | reyssat | 5 | !default module_about_bgcolor=$wims_ref_bgcolor |
6 | !set module_language=!trim $module_language |
||
1882 | bpr | 7 | !set module_language=$lang |
973 | obado | 8 | !set Lang_name_nl=Nederlands |
9 | !set Lang_name_en=English |
||
10 | !set Lang_name_fr=Française |
||
11 | !set Lang_name_de=Deutch |
||
12 | !set Lang_name_it=Italiano |
||
13 | !set Lang_name_ca=Català |
||
14 | !set Lang_name_es=castellano |
||
15 | !set Lang_name_tw=¤¤¤å(Big5 ½X) - Chinese big5 |
||
16 | !set Lang_name_cn=ÖÐÎÄ - Chinese gb |
||
17 | !set Lang_name_si=slovenski |
||
18 | |||
6323 | czzmrn | 19 | !for v_a in description,translator,translator_address,title,keywords |
2233 | bpr | 20 | !set mod_u=$(module_$(v_a)_$lang) |
21 | !if $mod_u!=$empty |
||
22 | !set module_$(v_a)=$mod_u |
||
23 | !endif |
||
24 | !next |
||
9759 | bpr | 25 | |
4318 | bpr | 26 | !read namewriting.phtml $module_author |
4900 | bpr | 27 | !set module_address=!replace internal ; by , in $module_address |
28 | !set module_au=!mailurl $(module_address[1]) $(script_out[1])\ |
||
16 | reyssat | 29 | WIMS $module_title [$module_language] |
9759 | bpr | 30 | !default module_au=$(script_out[1]) |
4318 | bpr | 31 | !set script_out=!replace internal ; by , in $(script_out[2..-1]) |
32 | !if $script_out!=$empty |
||
4900 | bpr | 33 | !set tmp_cnt=!itemcnt $script_out |
34 | !for tmp =1 to $tmp_cnt |
||
35 | !if $(module_address[$tmp+1])!= |
||
36 | !set tmp=!mailurl $(module_address[$tmp+1]) $(script_out[$tmp])\ |
||
37 | WIMS $module_title [$module_language] |
||
9759 | bpr | 38 | !else |
4900 | bpr | 39 | !set tmp=$(script_out[$tmp]) |
40 | !endif |
||
41 | !set module_au=$module_au, $tmp |
||
42 | !next |
||
4318 | bpr | 43 | !endif |
4922 | bpr | 44 | !read namewriting.phtml $module_translator |
45 | !set module_translator=$(script_out[1]) |
||
46 | !set wims_homeref_translator_num=$script_cnt |
||
47 | !set module_translator_address=!replace internal ; by , in $module_translator_address |
||
48 | !for ad=1 to $wims_homeref_translator_num |
||
49 | !set module_tr_=!mailurl $(module_translator_address[$ad]) $(module_translator[$ad])\ |
||
50 | WIMS $module_title [$module_language] |
||
51 | !set module_tr=!append line trans,0,$wims_name_translatedby $(module_tr_) to $module_tr |
||
52 | !next |
||
16 | reyssat | 53 | !set module_tr=!mailurl $module_translator_address $module_translator\ |
2607 | bpr | 54 | WIMS $module_title [$lang] |
16 | reyssat | 55 | |
9759 | bpr | 56 | !!******** PERMALINK / EMBEDDABLE PLAYER ADD |
973 | obado | 57 | |
1216 | obado | 58 | !set current_module=!replace / by , in $module |
59 | !set module_path= !item 1 of $current_module |
||
973 | obado | 60 | |
61 | !if $module_init_parm == $empty |
||
62 | !set permalien=$wims_ref_name?module=$module |
||
3291 | bpr | 63 | !set permalien1=$wims_ref_name?module=adm/raw&emod=$module |
973 | obado | 64 | !else |
65 | !set exolink=$wims_ref_name?module=$module&cmd=new&exo=$thisexo |
||
66 | !set configlink=$wims_ref_name?module=$module&cmd=new&$module_init_parm |
||
3291 | bpr | 67 | !set module_init_parm1=!replace internal &+ by ; in $module_init_parm |
68 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
69 | !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1 |
||
70 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
71 | !set module_init_parm1=cmd=new;$module_init_parm1 |
||
72 | !set configlink1=$wims_ref_name?module=adm/raw&job=lightpopup&emod=$module&&parm=$module_init_parm1&option=noabout |
||
973 | obado | 73 | !endif |
74 | |||
1252 | bpr | 75 | !if _exam notin $session and ($module_path notitemof adm,classes or adm/new isin $module) |
1216 | obado | 76 | |
5707 | bpr | 77 | !set permalink_tr=$table_tr<th>$$$$wims_name_permalink <br/><small>($$$$wims_name_Link_for_bookmark)</small></th><td><a href="$wims_ref_name?module=$module">$wims_ref_name?module=$module</a></td></tr> |
1216 | obado | 78 | |
5707 | bpr | 79 | !set embeddable_tr=$table_tr<th>$$$$wims_name_embeddable<br/> <small>($$$$wims_name_display1)</small> </th>\ |
3291 | bpr | 80 | <td><textarea style="vertical-align:middle" rows="3" cols="50" readonly="readonly" id="wims_embed_textarea" ><iframe src="$permalien&embededwindow=true" width="100%" height="100%"></iframe></textarea>\ |
81 | <textarea style="vertical-align:middle" rows="3" cols="50" readonly="readonly" id="wims_embed_textarea1" ><iframe src="$permalien&module=adm/raw&job=lightpopup&emod=$permalien" width="100%" height="100%"></iframe></textarea>\ |
||
82 | </td></tr> |
||
973 | obado | 83 | !endif |
84 | |||
1216 | obado | 85 | !!******** END OF PERMALINK / EMBEDDABLE PLAYER ADD |
2172 | bpr | 86 | !if $module_tr!=$empty and $(module_translator_address)!=$empty |
2607 | bpr | 87 | !set module_about_tr=!nosubst $table_tr<th>$$wims_name_Translator</th><td>$module_tr</td></tr> |
16 | reyssat | 88 | !endif |
2607 | bpr | 89 | !if $(module_maintainer)!=$empty |
90 | !set module_about_mt=!mailurl $module_maintainer_address $module_maintainer\ |
||
91 | WIMS $module_title [$module_language] |
||
92 | !set module_about_maintainer=!nosubst $table_tr<th>$$wims_name_Maintainer</th><td>$module_about_mt</td></tr> |
||
93 | !endif |
||
2830 | bpr | 94 | !if $module_data!=$empty |
5707 | bpr | 95 | !set module_data_tr=!nosubst $table_tr<th>$$wims_name_datamodule</th><td>$module_data</td></tr> |
2830 | bpr | 96 | !endif |
6000 | bpr | 97 | !reset table_center |
2172 | bpr | 98 | !set module_about=$module_about \ |
5707 | bpr | 99 | $$wims_name_This_is_a_module $$wims_name_WIMS_subtitle (<a href="$wims_ref_name?module=help/main.fr&chapter=1&open=1_intro" target="_blank" title="Web Interactive Multipurpose Server">WIMS</a>).<br/>\ |
1882 | bpr | 100 | $table_header\ |
973 | obado | 101 | <caption>$$wims_name_module_infos</caption>\ |
1882 | bpr | 102 | $table_tr<th>$$wims_name_name</th><td>$module_title</td></tr>\ |
103 | $table_tr<th>$$wims_name_Address</th><td>$module</td></tr>\ |
||
1216 | obado | 104 | $permalink_tr\ |
973 | obado | 105 | $embeddable_tr\ |
2172 | bpr | 106 | $table_tr<th>$$wims_name_Description</th><td>$module_description</td></tr>\ |
1882 | bpr | 107 | $table_tr<th>$$wims_name_Levels</th><td>$module_level</td></tr>\ |
108 | $table_tr<th>$$wims_name_Keywords</th><td>$module_keywords</td></tr>\ |
||
109 | $table_tr<th>$$wims_name_Domain</th><td>$module_domain</td></tr>\ |
||
110 | $table_tr<th>$$wims_name_Version</th><td>$module_version</td></tr>\ |
||
111 | $table_tr<th>$$wims_name_Required_WIMS_version</th><td>$m_ge $module_wims_version</td></tr>\ |
||
112 | $table_tr<th>$$wims_name_Language</th><td>$$Lang_name_$module_language</td></tr>\ |
||
113 | $table_tr<th>$$wims_name_Author</th><td>$module_au</td></tr>\ |
||
2607 | bpr | 114 | $module_about_maintainer\ |
16 | reyssat | 115 | $module_about_tr\ |
1882 | bpr | 116 | $table_tr<th>$$wims_name_Copyright</th><td>$module_copyright</td></tr>\ |
2830 | bpr | 117 | $module_data_tr\ |
5707 | bpr | 118 | $table_end\ |
9759 | bpr | 119 | |
9762 | bpr | 120 | :home |