Subversion Repositories wimsdev

Rev

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