Subversion Repositories wimsdev

Rev

Rev 4325 | Rev 5698 | 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.  
  13.   $table_header
  14.     <caption>
  15.     $wims_name_exo_infos
  16.     </caption>
  17.     <tbody>
  18.     !if $author!=$empty
  19. !! define $script_cnt, script_out in a standarized form depending on language (scripts/name.phtml)
  20.      !read namewriting.phtml $author
  21.     $table_tr
  22.       <th>
  23.        $wims_name_Author
  24.       </th>
  25.       <td>
  26.      !if $email!=$empty
  27.           !mailurl $email $(script_out[1])
  28.           &nbsp;
  29.         !if $script_cnt > 1
  30.          !replace internal , by ,$ $ in , $(script_out[2..-1])
  31.         !endif
  32.      !endif
  33.       </td>
  34.     </tr>
  35.     !endif
  36.     $table_tr
  37.       <th>$name_Solution / $name_Hint</th>
  38.       <td>
  39.         !if $solution!=$empty and $hint!=$empty
  40.           $name_hint1
  41.         !endif
  42.         !if $solution!=$empty and $hint=$empty
  43.           $name_hint2
  44.         !endif
  45.         !if $solution=$empty and $hint!=$empty
  46.           $name_hint3
  47.         !endif
  48.         !if $solution$hint=$empty
  49.           $name_hint4
  50.         !endif
  51.       </td>
  52.     !if $module_init_parm == $empty
  53.         !set permalien=$wims_ref_name?module=$module
  54.         !set permalien1=$wims_ref_name?module=adm/raw&amp;emod=$module
  55. !else
  56.         !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  57.         !set configlink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  58.         !set module_init_parm1=!replace internal &amp;+ by ; in $module_init_parm
  59.         !set module_init_parm1=!replace internal &amp; by ; in $module_init_parm1
  60.         !set module_init_parm1=!replace internal & by ; in $module_init_parm1
  61.         !set module_init_parm1=cmd=new;$module_init_parm1
  62.         !set configlink1=$wims_ref_name?module=adm/raw&amp;job=lightpopup&amp;emod=$module&amp;&parm=$module_init_parm1&option=noabout
  63. !endif
  64.     $table_tr
  65.       <th>$wims_name_permalink</th>
  66.       <td>
  67.       $wims_name_permalink_desc
  68.       <ul>
  69.           <li>$name_linkfor $wims_name_this_exercice :
  70.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  71.             <a href="$exolink">$exolink</a>
  72.           </li>
  73.           !if $module_init_parm!=$empty
  74.             <li>$name_linkfor $wims_name_this_config :            
  75.               !set configlink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  76.               <a href="$configlink">$configlink</a>
  77.             </li>
  78.             !set module_init_parm1=!replace internal &amp;+ by ; in $module_init_parm
  79.             !set module_init_parm1=!replace internal &amp; by ; in $module_init_parm1
  80.             !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1
  81.             !set module_init_parm1=!replace internal & by ; in $module_init_parm1
  82.             !set module_init_parm1=cmd=new;$module_init_parm1
  83.             !set configlink1=$wims_ref_name?module=adm/raw&amp;job=lightpopup&amp;emod=$module&amp;parm=$module_init_parm1&option=noabout
  84.              <li>"light" link (without interface) :
  85.               <a href="$configlink1">$configlink1</a>
  86.             </li>
  87.              </li>
  88.           !endif
  89.         </ul></td>
  90.     </tr>
  91.     $table_tr
  92.       <th>$wims_name_embeddable</th>
  93.       <td>
  94.       <p> $wims_name_copy_and_paste $wims_name_the_code $wims_name_on_your_site</p>
  95.       <ul>
  96.           <li>
  97.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  98.             $wims_name_display <strong>$wims_name_this_exercice</strong> $wims_name_on_your_site ($wims_name_copy_and_paste $wims_name_the_code $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>
  99.           </li>
  100.           <li>
  101.             !if $module_init_parm!=$empty
  102.               !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  103.             !else
  104.               !set exolink=$wims_ref_name?module=$module&amp;cmd=new
  105.             !endif
  106.             $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>  
  107.           </li>
  108.           <li>
  109.           <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>
  110.            
  111.          </li>
  112.         </ul></td>
  113.     </tr>
  114.     </tbody>
  115.    
  116.   </table>
  117. </center>
  118. <p> $name_collection
  119. <hr>
  120. <p> $module_about <p>
  121. $name_copyr
  122.  
  123. !changeto NEWS.phtml
  124.  
  125.