/[pliva-si]/templates/vade.tpl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /templates/vade.tpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dpavlin, Tue Nov 20 08:48:14 2001 UTC revision 1.8 by dpavlin, Wed Nov 21 09:16:47 2001 UTC
# Line 1  Line 1 
1  <form action="{$self}">  <form method="post" action="{$self}">
2  Iskanje:  Iskanje:
3  <input type=text name=search value="{$search}">  <input type=text name=search value="{$search}">
4   u   u
5  <select name="type">  <select name="type">
6  {html_options values=$types output=$types_desc selected=$type}  {html_options values=$types output=$types_desc selected=$type}
7  </select>  </select>
8  Vademecum  vademecum
9    
10  <input type=submit value="Najdi">  <input type=submit value="Najdi">
11  <input type=hidden name="p" value="vade">  <input type=hidden name="p" value="vade">
# Line 20  Vademecum Line 20  Vademecum
20   {section name=product loop=$data}   {section name=product loop=$data}
21    <li>    <li>
22     <b>{$product/data.title}</b>     <b>{$product/data.title}</b>
    <i>  
    {if $product/data.type eq "H"}  
         zdravila  
    {elseif $product/data.type eq "V"}  
         veterina  
    {else}  
         neznano  
    {/if}  
    </i>  
23     {if $product/data.smpc}     {if $product/data.smpc}
24      [<a href="{$self}?p=vade&smpc={$product/data.smpc}">product details</a>]      [<a href="{$self}?p=vade&smpc={$product/data.smpc}">navodilo za predpisovanje</a>]
25     {/if}     {/if}
26    </li>    </li>
27   {/section}   {/section}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.26