Subversion Repositories wimsdev

Rev

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