Subversion Repositories wimsdev

Rev

Rev 9918 | Rev 11426 | 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. &nbsp;
  30.       !next
  31.       </td>
  32.     </tr>
  33.   !endif
  34.  
  35.   $table_tr
  36.     <th>$name_Solution / $name_Hint</th>
  37.     <td>
  38.       !if $solution!=$empty and $hint!=$empty
  39.         $name_hint1
  40.       !endif
  41.       !if $solution!=$empty and $hint=$empty
  42.         $name_hint2
  43.       !endif
  44.       !if $solution=$empty and $hint!=$empty
  45.         $name_hint3
  46.       !endif
  47.       !if $solution$hint=$empty
  48.         $name_hint4
  49.       !endif
  50.     </td>
  51.     !if $module_init_parm == $empty
  52.       !set permalien=$wims_ref_name?module=$module
  53.       !set permalien1=$wims_ref_name?module=adm/raw&amp;emod=$module
  54.     !else
  55.       !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  56.       !set configlink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  57.       !set module_init_parm1=!replace internal &amp;+ by ; in $module_init_parm
  58.       !set module_init_parm1=!replace internal &amp; by ; in $module_init_parm1
  59.       !set module_init_parm1=!replace internal & by ; in $module_init_parm1
  60.       !set module_init_parm1=cmd=new;$module_init_parm1
  61.       !set configlink1=$wims_ref_name?module=adm/raw&amp;job=lightpopup&amp;emod=$module&amp;&parm=$module_init_parm1&option=noabout
  62.       !read ./oef/urlencode.proc
  63.     !endif
  64.   </tr>
  65.   $table_tr
  66.     <th>$wims_name_permalink</th>
  67.     <td>
  68.       $wims_name_permalink_desc
  69.       <ul>
  70.         <li>$name_linkfor $wims_name_this_exercice :
  71.           !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  72.           <a href="$exolink">$exolink</a>
  73.         </li>
  74.         !if $module_init_parm!=$empty
  75.           <li>$name_linkfor $wims_name_this_config :
  76.             !set configlink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  77.             <a href="$configlink">$configlink</a>
  78.           </li>
  79.           !set module_init_parm1=!replace internal &amp;+ by ; in $module_init_parm
  80.           !set module_init_parm1=!replace internal &amp; by ; in $module_init_parm1
  81.           !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1
  82.           !set module_init_parm1=!replace internal & by ; in $module_init_parm1
  83.           !set module_init_parm1=cmd=new;$module_init_parm1
  84.           !set configlink1=$wims_ref_name?module=adm/raw&amp;job=lightpopup&amp;emod=$module&amp;parm=$module_init_parm1&option=noabout
  85.           <li>"light" link (without interface) :
  86.             <a href="$configlink1">$configlink1</a>
  87.           </li>
  88.           <li>Beta : <a href="$widget_link">Download a widget for Apple iBooks Author</a></li>
  89.  
  90.         !endif
  91.       </ul>
  92.     </td>
  93.   </tr>
  94.   $table_tr
  95.     <th>$wims_name_embeddable</th>
  96.     <td>
  97.       <p> $wims_name_copy_and_paste $wims_name_the_code $wims_name_on_your_site</p>
  98.       <ul>
  99.         <li>
  100.           !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  101.           $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>
  102.         </li>
  103.         <li>
  104.           !if $module_init_parm!=$empty
  105.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  106.           !else
  107.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new
  108.           !endif
  109.           $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>
  110.         </li>
  111.         <li>
  112.           $wims_name_display <strong>$wims_name_this_config</strong> $wims_name_on_your_site ("light" version) :
  113.           <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>
  114.         </li>
  115.       </ul>
  116.     </td>
  117.   </tr>
  118.   </tbody>
  119. </table>
  120.  
  121. <p> $name_collection</p>
  122. <hr/>
  123. <p> $module_about </p>
  124. $name_copyr
  125.  
  126. !changeto NEWS.phtml
  127.