Subversion Repositories wimsdev

Rev

Rev 6503 | Rev 10893 | 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>
  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.     !set email=!replace internal ; by , in $email
  27.      !for au=1 to $script_cnt
  28.           !mailurl $(email[$au]) $(script_out[$au])
  29. &nbsp;
  30.       !next
  31.      !endif
  32.       </td>
  33.     </tr>
  34.     !endif
  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.  
  63.                 !read ./oef/urlencode.proc
  64.         !endif
  65.  
  66.         </tr>
  67.    $table_tr
  68.       <th>$wims_name_permalink</th>
  69.       <td>
  70.       $wims_name_permalink_desc
  71.       <ul>
  72.           <li>$name_linkfor $wims_name_this_exercice :
  73.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  74.             <a href="$exolink">$exolink</a>
  75.           </li>
  76.           !if $module_init_parm!=$empty
  77.             <li>$name_linkfor $wims_name_this_config :
  78.               !set configlink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  79.               <a href="$configlink">$configlink</a>
  80.             </li>
  81.             !set module_init_parm1=!replace internal &amp;+ by ; in $module_init_parm
  82.             !set module_init_parm1=!replace internal &amp; by ; in $module_init_parm1
  83.             !set module_init_parm1=!replace internal &+ by ; in $module_init_parm1
  84.             !set module_init_parm1=!replace internal & by ; in $module_init_parm1
  85.             !set module_init_parm1=cmd=new;$module_init_parm1
  86.             !set configlink1=$wims_ref_name?module=adm/raw&amp;job=lightpopup&amp;emod=$module&amp;parm=$module_init_parm1&option=noabout
  87.              <li>"light" link (without interface) :
  88.               <a href="$configlink1">$configlink1</a>
  89.          </li>
  90.              <li>Beta : <a href="$widget_link">Download a widget for Apple iBooks Author</a></li>
  91.  
  92.           !endif
  93.         </ul></td>
  94.     </tr>
  95.     $table_tr
  96.       <th>$wims_name_embeddable</th>
  97.       <td>
  98.       <p> $wims_name_copy_and_paste $wims_name_the_code $wims_name_on_your_site</p>
  99.       <ul>
  100.           <li>
  101.             !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;exo=$thisexo
  102.             $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>
  103.           </li>
  104.           <li>
  105.             !if $module_init_parm!=$empty
  106.               !set exolink=$wims_ref_name?module=$module&amp;cmd=new&amp;$module_init_parm
  107.             !else
  108.               !set exolink=$wims_ref_name?module=$module&amp;cmd=new
  109.             !endif
  110.             $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>
  111.           </li>
  112.           <li>$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.  
  115.          </li>
  116.         </ul></td>
  117.     </tr>
  118.     </tbody>
  119.  
  120.   </table>
  121.  
  122. <p> $name_collection</p>
  123. <hr/>
  124. <p> $module_about </p>
  125. $name_copyr
  126.  
  127. !changeto NEWS.phtml
  128.  
  129.