Subversion Repositories wimsdev

Rev

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