Subversion Repositories wimsdev

Rev

Rev 4922 | Rev 6000 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

!read ./tabletheme

!default module_about_bgcolor=$wims_ref_bgcolor
!set module_language=!trim $module_language
!set module_language=$lang
!set Lang_name_nl=Nederlands
!set Lang_name_en=English
!set Lang_name_fr=Française
!set Lang_name_de=Deutch
!set Lang_name_it=Italiano
!set Lang_name_ca=Català
!set Lang_name_es=castellano
!set Lang_name_tw=¤¤¤å(Big5 ½X) - Chinese big5
!set Lang_name_cn=ÖÐÎÄ - Chinese gb
!set Lang_name_si=slovenski

!for v_a in description,translator,translator_address,title
  !set mod_u=$(module_$(v_a)_$lang)
  !if $mod_u!=$empty
   !set module_$(v_a)=$mod_u
  !endif
!next
!read namewriting.phtml $module_author
!set module_address=!replace internal ; by , in $module_address
!set module_au=!mailurl $(module_address[1]) $(script_out[1])\
WIMS $module_title [$module_language]
!set script_out=!replace internal ; by , in $(script_out[2..-1])
!if $script_out!=$empty
  !set tmp_cnt=!itemcnt $script_out
  !for tmp =1 to $tmp_cnt
    !if $(module_address[$tmp+1])!=
    !set tmp=!mailurl $(module_address[$tmp+1]) $(script_out[$tmp])\
WIMS $module_title [$module_language]
    !else 
      !set tmp=$(script_out[$tmp])
    !endif
    !set module_au=$module_au, $tmp
  !next
!endif
!read namewriting.phtml $module_translator
!set module_translator=$(script_out[1])
!set wims_homeref_translator_num=$script_cnt
!set module_translator_address=!replace internal ; by , in $module_translator_address
!for ad=1 to $wims_homeref_translator_num
   !set module_tr_=!mailurl $(module_translator_address[$ad]) $(module_translator[$ad])\
WIMS $module_title [$module_language]
   !set module_tr=!append line trans,0,$wims_name_translatedby $(module_tr_) to $module_tr
 !next
!set module_tr=!mailurl $module_translator_address $module_translator\
WIMS $module_title [$lang]

!!******** PERMALINK / EMBEDDABLE PLAYER ADD 

!set current_module=!replace / by , in $module
!set module_path= !item 1 of $current_module

!if $module_init_parm == $empty
        !set permalien=$wims_ref_name?module=$module
        !set permalien1=$wims_ref_name?module=adm/raw&emod=$module
!else
        !set exolink=$wims_ref_name?module=$module&cmd=new&exo=$thisexo
        !set configlink=$wims_ref_name?module=$module&cmd=new&$module_init_parm
        !set module_init_parm1=!replace internal &+ by ; in $module_init_parm
        !set module_init_parm1=!replace internal & by ; in $module_init_parm1
        !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1
        !set module_init_parm1=!replace internal & by ; in $module_init_parm1
        !set module_init_parm1=cmd=new;$module_init_parm1
        !set configlink1=$wims_ref_name?module=adm/raw&job=lightpopup&emod=$module&&parm=$module_init_parm1&option=noabout
!endif

!if _exam notin $session and ($module_path notitemof adm,classes or adm/new isin $module)

        !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>

        !set embeddable_tr=$table_tr<th>$$$$wims_name_embeddable<br/> <small>($$$$wims_name_display1)</small> </th>\
   <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>\
   <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>\
   </td></tr>
!endif

!!******** END OF PERMALINK / EMBEDDABLE PLAYER ADD
  !if $module_tr!=$empty and $(module_translator_address)!=$empty
   !set module_about_tr=!nosubst $table_tr<th>$$wims_name_Translator</th><td>$module_tr</td></tr>
  !endif
  !if $(module_maintainer)!=$empty
    !set module_about_mt=!mailurl $module_maintainer_address $module_maintainer\
WIMS $module_title [$module_language]
    !set module_about_maintainer=!nosubst $table_tr<th>$$wims_name_Maintainer</th><td>$module_about_mt</td></tr>
  !endif
  !if $module_data!=$empty
    !set module_data_tr=!nosubst $table_tr<th>$$wims_name_datamodule</th><td>$module_data</td></tr>
  !endif
  !set module_about=$module_about \
   $$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/>\
   $table_header\
   <caption>$$wims_name_module_infos</caption>\
   $table_tr<th>$$wims_name_name</th><td>$module_title</td></tr>\
   $table_tr<th>$$wims_name_Address</th><td>$module</td></tr>\
   $permalink_tr\
   $embeddable_tr\
   $table_tr<th>$$wims_name_Description</th><td>$module_description</td></tr>\
   $table_tr<th>$$wims_name_Levels</th><td>$module_level</td></tr>\
   $table_tr<th>$$wims_name_Keywords</th><td>$module_keywords</td></tr>\
   $table_tr<th>$$wims_name_Domain</th><td>$module_domain</td></tr>\
   $table_tr<th>$$wims_name_Version</th><td>$module_version</td></tr>\
   $table_tr<th>$$wims_name_Required_WIMS_version</th><td>$m_ge $module_wims_version</td></tr>\
   $table_tr<th>$$wims_name_Language</th><td>$$Lang_name_$module_language</td></tr>\
   $table_tr<th>$$wims_name_Author</th><td>$module_au</td></tr>\
   $module_about_maintainer\
   $module_about_tr\
   $table_tr<th>$$wims_name_Copyright</th><td>$module_copyright</td></tr>\
   $module_data_tr\
   $table_end\