Subversion Repositories wimsdev

Rev

Rev 6000 | Rev 9759 | 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
 
6323 czzmrn 17
!for v_a in description,translator,translator_address,title,keywords
2233 bpr 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
4922 bpr 40
!read namewriting.phtml $module_translator
41
!set module_translator=$(script_out[1])
42
!set wims_homeref_translator_num=$script_cnt
43
!set module_translator_address=!replace internal ; by , in $module_translator_address
44
!for ad=1 to $wims_homeref_translator_num
45
   !set module_tr_=!mailurl $(module_translator_address[$ad]) $(module_translator[$ad])\
46
WIMS $module_title [$module_language]
47
   !set module_tr=!append line trans,0,$wims_name_translatedby $(module_tr_) to $module_tr
48
 !next
16 reyssat 49
!set module_tr=!mailurl $module_translator_address $module_translator\
2607 bpr 50
WIMS $module_title [$lang]
16 reyssat 51
 
1216 obado 52
!!******** PERMALINK / EMBEDDABLE PLAYER ADD 
973 obado 53
 
1216 obado 54
!set current_module=!replace / by , in $module
55
!set module_path= !item 1 of $current_module
973 obado 56
 
57
!if $module_init_parm == $empty
58
	!set permalien=$wims_ref_name?module=$module
3291 bpr 59
	!set permalien1=$wims_ref_name?module=adm/raw&emod=$module
973 obado 60
!else
61
	!set exolink=$wims_ref_name?module=$module&cmd=new&exo=$thisexo
62
	!set configlink=$wims_ref_name?module=$module&cmd=new&$module_init_parm
3291 bpr 63
	!set module_init_parm1=!replace internal &+ by ; in $module_init_parm
64
	!set module_init_parm1=!replace internal & by ; in $module_init_parm1
65
	!set module_init_parm1=!replace internal &+ by ; in $module_init_parm1
66
	!set module_init_parm1=!replace internal & by ; in $module_init_parm1
67
	!set module_init_parm1=cmd=new;$module_init_parm1
68
	!set configlink1=$wims_ref_name?module=adm/raw&job=lightpopup&emod=$module&&parm=$module_init_parm1&option=noabout
973 obado 69
!endif
70
 
1252 bpr 71
!if _exam notin $session and ($module_path notitemof adm,classes or adm/new isin $module)
1216 obado 72
 
5707 bpr 73
	!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 74
 
5707 bpr 75
	!set embeddable_tr=$table_tr<th>$$$$wims_name_embeddable<br/> <small>($$$$wims_name_display1)</small> </th>\
3291 bpr 76
   <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>\
77
   <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>\
78
   </td></tr>
973 obado 79
!endif
80
 
1216 obado 81
!!******** END OF PERMALINK / EMBEDDABLE PLAYER ADD
2172 bpr 82
  !if $module_tr!=$empty and $(module_translator_address)!=$empty
2607 bpr 83
   !set module_about_tr=!nosubst $table_tr<th>$$wims_name_Translator</th><td>$module_tr</td></tr>
16 reyssat 84
  !endif
2607 bpr 85
  !if $(module_maintainer)!=$empty
86
    !set module_about_mt=!mailurl $module_maintainer_address $module_maintainer\
87
WIMS $module_title [$module_language]
88
    !set module_about_maintainer=!nosubst $table_tr<th>$$wims_name_Maintainer</th><td>$module_about_mt</td></tr>
89
  !endif
2830 bpr 90
  !if $module_data!=$empty
5707 bpr 91
    !set module_data_tr=!nosubst $table_tr<th>$$wims_name_datamodule</th><td>$module_data</td></tr>
2830 bpr 92
  !endif
6000 bpr 93
  !reset table_center
2172 bpr 94
  !set module_about=$module_about \
5707 bpr 95
   $$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 96
   $table_header\
973 obado 97
   <caption>$$wims_name_module_infos</caption>\
1882 bpr 98
   $table_tr<th>$$wims_name_name</th><td>$module_title</td></tr>\
99
   $table_tr<th>$$wims_name_Address</th><td>$module</td></tr>\
1216 obado 100
   $permalink_tr\
973 obado 101
   $embeddable_tr\
2172 bpr 102
   $table_tr<th>$$wims_name_Description</th><td>$module_description</td></tr>\
1882 bpr 103
   $table_tr<th>$$wims_name_Levels</th><td>$module_level</td></tr>\
104
   $table_tr<th>$$wims_name_Keywords</th><td>$module_keywords</td></tr>\
105
   $table_tr<th>$$wims_name_Domain</th><td>$module_domain</td></tr>\
106
   $table_tr<th>$$wims_name_Version</th><td>$module_version</td></tr>\
107
   $table_tr<th>$$wims_name_Required_WIMS_version</th><td>$m_ge $module_wims_version</td></tr>\
108
   $table_tr<th>$$wims_name_Language</th><td>$$Lang_name_$module_language</td></tr>\
109
   $table_tr<th>$$wims_name_Author</th><td>$module_au</td></tr>\
2607 bpr 110
   $module_about_maintainer\
16 reyssat 111
   $module_about_tr\
1882 bpr 112
   $table_tr<th>$$wims_name_Copyright</th><td>$module_copyright</td></tr>\
2830 bpr 113
   $module_data_tr\
5707 bpr 114
   $table_end\
1882 bpr 115