Subversion Repositories wimsdev

Rev

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

  1. !set email=!trim $email
  2. !set author=!trim $author
  3.  
  4. !set embedabble_height= 600
  5. !set embedabble_width= 100%
  6.  
  7. !read ./tabletheme
  8. $name_about1
  9. <a href="$wims_ref_name?module=help/teacher/faq&amp;job=oef" target="_blank">
  10. <abbr lang="en" title="Online Exercise Format">OEF</abbr></a>.<br/>
  11. <br/>
  12. !reset table_center
  13. $table_header
  14.   <caption>$wims_name_exo_infos</caption>
  15.   <tbody>
  16.   !if $author!=$empty
  17.     !! define $script_cnt, script_out in a standarized form depending on language (scripts/name.phtml)
  18.     !read namewriting.phtml $author
  19.     $table_tr
  20.       <th>$wims_name_Author</th>
  21.       <td>
  22.       !set email=!replace internal ; by , in $email
  23.       !for au=1 to $script_cnt
  24.         !if $(email[$au])!=$empty
  25.           !mailurl $(email[$au]) $(script_out[$au])
  26.         !else
  27.           $(script_out[$au])
  28.         !endif
  29.  $
  30.       !next
  31.       </td>
  32.     </tr>
  33.   !endif
  34.    $table_tr
  35.       <th>$wims_name_Address</th>
  36.       <td>
  37.       !if $exo!=$empty
  38.         $module&$module_init_parm
  39.       !else
  40.         $module
  41.       !endif
  42.       </td>
  43.    </tr>
  44.      !if $solution$hint!=$empty
  45.    $table_tr
  46.     <th>$name_Solution / $name_Hint</th>
  47.     <td>
  48.       !if $solution!=$empty and $hint!=$empty
  49.         $name_hint1
  50.       !endif
  51.       !if $solution!=$empty and $hint=$empty
  52.         $name_hint2
  53.       !endif
  54.       !if $solution=$empty and $hint!=$empty
  55.         $name_hint3
  56.       !endif
  57.       !if $solution$hint=$empty
  58.         $name_hint4
  59.       !endif
  60.     </td></tr>
  61.     !endif
  62.     !if $keywords!=$empty
  63.       $table_tr<th>$wims_name_Keywords</th>
  64.       <td>$keywords</td></tr>
  65.     !endif
  66.     $table_tr
  67.     !if $module_init_parm == $empty
  68.       !set permalien=$wims_ref_name?module=$module
  69.       !set permalien1=$wims_ref_name?module=adm/raw&amp;emod=$module
  70.     !else
  71.       !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  72.       !set configlink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  73.       !set module_init_parm1=!replace internal &amp;+ by ; in $module_init_parm
  74.       !set module_init_parm1=!replace internal &amp; by ; in $module_init_parm1
  75.       !set module_init_parm1=!replace internal & by ; in $module_init_parm1
  76.       !set module_init_parm1=cmd=new;$module_init_parm1
  77.       !set configlink1=$wims_ref_name?module=adm/raw&amp;job=lightpopup&amp;emod=$module&amp;&parm=$module_init_parm1&option=noabout
  78.       !read ./oef/urlencode.proc
  79.     !endif
  80.     <th>$wims_name_permalink</th>
  81.     <td>
  82.       $wims_name_permalink_desc
  83.       <ul>
  84.         <li>$name_linkfor $wims_name_this_exercice :
  85.           !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  86.           <a href="$exolink">$exolink</a>
  87.         </li>
  88.         !if $module_init_parm!=$empty
  89.           <li>$name_linkfor $wims_name_this_config :
  90.             !set configlink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  91.             <a href="$configlink">$configlink</a>
  92.           </li>
  93.           !set module_init_parm1=!replace internal &amp;+ by ; in $module_init_parm
  94.           !set module_init_parm1=!replace internal &amp; by ; in $module_init_parm1
  95.           !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1
  96.           !set module_init_parm1=!replace internal & by ; in $module_init_parm1
  97.           !set module_init_parm1=cmd=new;$module_init_parm1
  98.           !set configlink1=$wims_ref_name?module=adm/raw&amp;job=lightpopup&amp;emod=$module&amp;parm=$module_init_parm1&option=noabout
  99.           <li>"light" link (without interface) :
  100.             <a href="$configlink1">$configlink1</a>
  101.           </li>
  102.           <li>Beta : <a href="$widget_link">Download a widget for Apple iBooks Author</a></li>
  103.  
  104.         !endif
  105.       </ul>
  106.     </td>
  107.   </tr>
  108.   $table_tr
  109.     <th>$wims_name_embeddable</th>
  110.     <td>
  111.       <p> $wims_name_copy_and_paste $wims_name_the_code $wims_name_on_your_site</p>
  112.       <ul>
  113.         <li>
  114.           !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  115.           $wims_name_display <strong>$wims_name_this_exercice</strong> $wims_name_on_your_site : <textarea  style="vertical-align:middle" rows="3" cols="50" readonly="readonly" >&lt;iframe src="$exolink&amp;embededwindow=true" width="$embedabble_width" height="$embedabble_height"&gt;&lt;/iframe&gt;</textarea>
  116.         </li><li>
  117.           !if $module_init_parm!=$empty
  118.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  119.           !else
  120.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new
  121.           !endif
  122.           $wims_name_display <strong>$wims_name_this_config</strong> $wims_name_on_your_site : <textarea style="vertical-align:middle" rows="3" cols="50" readonly="readonly">&lt;iframe src="$configlink&amp;embededwindow=true" width="$embedabble_width" height="$embedabble_height"&gt;&lt;/iframe&gt;</textarea>
  123.         </li><li>
  124.           $wims_name_display <strong>$wims_name_this_config</strong> $wims_name_on_your_site ("light" version) :
  125.           <textarea style="vertical-align:middle" rows="3" cols="50" readonly="readonly">&lt;iframe src="$configlink1" width="$embedabble_width" height="$embedabble_height"&gt;&lt;/iframe&gt;</textarea>
  126.         </li>
  127.       </ul>
  128.     </td>
  129.   </tr>
  130.   </tbody>
  131. </table>
  132.  
  133. <p> $name_collection</p>
  134. <hr/>
  135. <p> $module_about </p>
  136. $name_copyr
  137.  
  138. !changeto NEWS.phtml
  139.