Rev 17170 | 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= |
| 14098 | obado | 3 | !exit |
| 9762 | bpr | 4 | !endif |
| 16 | reyssat | 5 | !default module_about_bgcolor=$wims_ref_bgcolor |
| 6 | !set module_language=!trim $module_language |
||
| 17027 | 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 | |||
| 17027 | bpr | 19 | !for v_a in description,translator,translator_address,title,keywords,translation_language |
| 2233 | bpr | 20 | !set mod_u=$(module_$(v_a)_$lang) |
| 21 | !if $mod_u!=$empty |
||
| 14098 | obado | 22 | !set module_$(v_a)=$mod_u |
| 2233 | bpr | 23 | !endif |
| 24 | !next |
||
| 9759 | bpr | 25 | |
| 12183 | bpr | 26 | !if $module_require!=$empty |
| 27 | module_about_require=<ul> |
||
| 28 | !for s in $module_require |
||
| 29 | !if $s iswordof pari maxima povray m2 octave graphviz yacas |
||
| 30 | !if $wims_ismanager!=0 |
||
| 31 | sabout=!exec $s about |
||
| 32 | !else |
||
| 33 | sabout=$s |
||
| 34 | !endif |
||
| 35 | module_about_require=$module_about_require\ |
||
| 36 | <li>$sabout</li> |
||
| 37 | !endif |
||
| 38 | !if $s iswordof insplot |
||
| 39 | module_about_require=$module_about_require\ |
||
| 40 | <li>gnuplot</li> |
||
| 41 | !endif |
||
| 42 | !next s |
||
| 43 | module_about_require=$module_about_require</ul> |
||
| 44 | !endif |
||
| 45 | |||
| 4318 | bpr | 46 | !read namewriting.phtml $module_author |
| 4900 | bpr | 47 | !set module_address=!replace internal ; by , in $module_address |
| 48 | !set module_au=!mailurl $(module_address[1]) $(script_out[1])\ |
||
| 16 | reyssat | 49 | WIMS $module_title [$module_language] |
| 9759 | bpr | 50 | !default module_au=$(script_out[1]) |
| 4318 | bpr | 51 | !set script_out=!replace internal ; by , in $(script_out[2..-1]) |
| 52 | !if $script_out!=$empty |
||
| 4900 | bpr | 53 | !set tmp_cnt=!itemcnt $script_out |
| 54 | !for tmp =1 to $tmp_cnt |
||
| 55 | !if $(module_address[$tmp+1])!= |
||
| 56 | !set tmp=!mailurl $(module_address[$tmp+1]) $(script_out[$tmp])\ |
||
| 57 | WIMS $module_title [$module_language] |
||
| 9759 | bpr | 58 | !else |
| 4900 | bpr | 59 | !set tmp=$(script_out[$tmp]) |
| 60 | !endif |
||
| 61 | !set module_au=$module_au, $tmp |
||
| 62 | !next |
||
| 4318 | bpr | 63 | !endif |
| 4922 | bpr | 64 | !read namewriting.phtml $module_translator |
| 65 | !set module_translator=$(script_out[1]) |
||
| 66 | !set wims_homeref_translator_num=$script_cnt |
||
| 67 | !set module_translator_address=!replace internal ; by , in $module_translator_address |
||
| 68 | !for ad=1 to $wims_homeref_translator_num |
||
| 14098 | obado | 69 | !set module_tr_=!mailurl $(module_translator_address[$ad]) $(module_translator[$ad])\ |
| 4922 | bpr | 70 | WIMS $module_title [$module_language] |
| 14098 | obado | 71 | !set module_tr=!append line trans,0,$wims_name_translatedby $(module_tr_) to $module_tr |
| 12183 | bpr | 72 | !next |
| 16 | reyssat | 73 | !set module_tr=!mailurl $module_translator_address $module_translator\ |
| 2607 | bpr | 74 | WIMS $module_title [$lang] |
| 16 | reyssat | 75 | |
| 9759 | bpr | 76 | !!******** PERMALINK / EMBEDDABLE PLAYER ADD |
| 973 | obado | 77 | |
| 1216 | obado | 78 | !set current_module=!replace / by , in $module |
| 79 | !set module_path= !item 1 of $current_module |
||
| 973 | obado | 80 | |
| 81 | !if $module_init_parm == $empty |
||
| 14338 | bpr | 82 | !set permalien=$wims_ref_name?module=$module |
| 83 | !set permalien1=$wims_ref_name?module=adm/raw&emod=$module |
||
| 84 | !set configlink1=$wims_ref_name?module=adm/raw&job=lightpopup&emod=$module&&option=noabout |
||
| 973 | obado | 85 | !else |
| 14338 | bpr | 86 | !set exolink=$wims_ref_name?module=$module&cmd=new&exo=$thisexo |
| 87 | !set configlink=$wims_ref_name?module=$module&cmd=new&$module_init_parm |
||
| 88 | !set module_init_parm1=!replace internal &+ by ; in $module_init_parm |
||
| 89 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
| 90 | !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1 |
||
| 91 | !set module_init_parm1=!replace internal & by ; in $module_init_parm1 |
||
| 92 | !set module_init_parm1=cmd=new;$module_init_parm1 |
||
| 93 | !set configlink1=$wims_ref_name?module=adm/raw&job=lightpopup&emod=$module&&parm=$module_init_parm1&option=noabout |
||
| 973 | obado | 94 | !endif |
| 95 | |||
| 1252 | bpr | 96 | !if _exam notin $session and ($module_path notitemof adm,classes or adm/new isin $module) |
| 1216 | obado | 97 | |
| 14338 | bpr | 98 | !set permalink_tr=$table_tr<th>$$$$wims_name_permalink <div class="small">($$$$wims_name_Link_for_bookmark)</div></th>\ |
| 14098 | obado | 99 | <td class="field"><ul>\ |
| 100 | <li><label for="module_link">"Normal" link:</label>\ |
||
| 101 | <a href="$wims_ref_name?module=$module">$wims_ref_name?module=$module</a></li>\ |
||
| 17170 | bpr | 102 | <li><label for="light_module_link">"Light" link (without interface):</label><input readonly="readonly" value="$configlink1" style="width:100%" id="light_module_link">\ |
| 14098 | obado | 103 | </ul></td></tr> |
| 1216 | obado | 104 | |
| 14338 | bpr | 105 | !set embeddable_tr=$table_tr<th>$$$$wims_name_embeddable <div class="small">($$$$wims_name_display1)</div> </th>\ |
| 14098 | obado | 106 | <td class="field">\ |
| 107 | <label for="wims_embed_textarea">$$$$wims_name_copy_and_paste $$$$wims_name_the_code $$$$wims_name_on_your_site</label>\ |
||
| 108 | <!--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-->\ |
||
| 109 | <textarea style="vertical-align:middle" rows="3" cols="50" readonly="readonly" id="wims_embed_textarea"><iframe src="$permalien&module=adm/raw&job=lightpopup&emod=$permalien" width="100%" height="100%"></iframe></textarea>\ |
||
| 3291 | bpr | 110 | </td></tr> |
| 973 | obado | 111 | !endif |
| 112 | |||
| 1216 | obado | 113 | !!******** END OF PERMALINK / EMBEDDABLE PLAYER ADD |
| 14098 | obado | 114 | !if $module_tr!=$empty and $(module_translator_address)!=$empty |
| 115 | !set module_about_tr=!nosubst $table_tr<th>$$wims_name_Translator</th><td>$module_tr</td></tr> |
||
| 116 | !endif |
||
| 15282 | bpr | 117 | |
| 14098 | obado | 118 | !if $(module_maintainer)!=$empty |
| 15282 | bpr | 119 | !!hope there is only one maintainer !!! |
| 120 | !read namewriting.phtml $module_maintainer |
||
| 121 | !set module_maintainer_address=!replace internal ; by , in $module_maintainer_address |
||
| 15283 | bpr | 122 | !set module_about_mt=!mailurl $(module_maintainer_address[1]) $(script_out[1])\ |
| 123 | WIMS $module_title [$module_language] |
||
| 17837 | bpr | 124 | !set module_about_mt=$module_about_mt\ |
| 125 | $module_warning_bug |
||
| 14098 | obado | 126 | !set module_about_maintainer=!nosubst $table_tr<th>$$wims_name_Maintainer</th><td>$module_about_mt</td></tr> |
| 127 | !endif |
||
| 128 | !if $module_data!=$empty |
||
| 129 | !set module_data_tr=!nosubst $table_tr<th>$$wims_name_datamodule</th><td>$module_data</td></tr> |
||
| 130 | !endif |
||
| 131 | !reset table_center |
||
| 132 | !set module_about=$module_about \ |
||
| 17170 | bpr | 133 | $$wims_name_This_is_a_module $$wims_name_WIMS_subtitle (<a href="$wims_ref_name?module=help/main&chapter=1&open=1_intro" target="_blank" title="Web Interactive Multipurpose Server">WIMS</a>).<br>\ |
| 14098 | obado | 134 | <p>$$wims_name_require</p>$module_about_require\ |
| 135 | $table_header\ |
||
| 136 | <caption>$$wims_name_module_infos</caption>\ |
||
| 137 | $table_tr<th>$$wims_name_name</th><td>$module_title</td></tr>\ |
||
| 138 | $table_tr<th>$$wims_name_Address</th><td>$module</td></tr>\ |
||
| 139 | $permalink_tr\ |
||
| 140 | $embeddable_tr\ |
||
| 141 | $table_tr<th>$$wims_name_Description</th><td>$module_description</td></tr>\ |
||
| 142 | $table_tr<th>$$wims_name_Levels</th><td>$module_level</td></tr>\ |
||
| 143 | $table_tr<th>$$wims_name_Keywords</th><td>$module_keywords</td></tr>\ |
||
| 144 | $table_tr<th>$$wims_name_Domain</th><td>$module_domain</td></tr>\ |
||
| 145 | $table_tr<th>$$wims_name_Version</th><td>$module_version</td></tr>\ |
||
| 146 | $table_tr<th>$$wims_name_Required_WIMS_version</th><td>$m_ge $module_wims_version</td></tr>\ |
||
| 17027 | bpr | 147 | $table_tr<th>$$wims_name_Language</th><td>$module_language $module_translation_language</td></tr>\ |
| 14098 | obado | 148 | $table_tr<th>$$wims_name_Author</th><td>$module_au</td></tr>\ |
| 149 | $module_about_maintainer\ |
||
| 150 | $module_about_tr\ |
||
| 151 | $table_tr<th>$$wims_name_Copyright</th><td>$module_copyright</td></tr>\ |
||
| 152 | $module_data_tr\ |
||
| 153 | $table_end\ |
||
| 9759 | bpr | 154 |