/[health_html]/templates/edit.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/edit.tpl

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

revision 1.15 by ravilov, Fri Oct 12 13:13:38 2001 UTC revision 1.16 by ravilov, Tue Oct 16 13:07:03 2001 UTC
# Line 42  function Underline(src, obj) { InsertTag Line 42  function Underline(src, obj) { InsertTag
42  <input type=hidden name="ed_author_ime" value="{$ed_author_ime}">  <input type=hidden name="ed_author_ime" value="{$ed_author_ime}">
43  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">
44  <input type=hidden name="ed_author_info" value="{$ed_author_info}">  <input type=hidden name="ed_author_info" value="{$ed_author_info}">
45    <input type=hidden name="ed_author_cv" value="{$ed_author_cv}">
46  {/if}  {/if}
47  <input type=hidden name="ed_more" value="{$ed_more}">  <input type=hidden name="ed_more" value="{$ed_more}">
48  <input type=hidden name="ed_more_title" value="{$ed_more_title}">  <input type=hidden name="ed_more_title" value="{$ed_more_title}">
# Line 80  function Underline(src, obj) { InsertTag Line 81  function Underline(src, obj) { InsertTag
81  <input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}">  <input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}">
82  <input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}">  <input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}">
83  {/section}  {/section}
84  {if ($ed_more)}<p align=right><small>[ <a href="{$ed_more}" class="more"{if ($ed_more_new)} target="_blank"{/if}>{if ($ed_more_title)}{$ed_more_title}{else}više...{/if}</a> ]</small></p>{/if}  {if ($ed_more)}<p align=right><small>[ <a href="{$ed_more}" class="more" target="_blank"{if ($ed_more_title)}{$ed_more_title}{else}više...{/if}</a> ]</small></p>{/if}
85  {if ($AUTHOR && ! $vijest)}<br>{$AUTHOR}{/if}  {if ($AUTHOR && ! $vijest)}<br>{$AUTHOR}{/if}
86  </td></tr>  </td></tr>
87  <tr bgcolor="#E0E0E0"><td align=right><input type=submit name="ed_edit" value="Re-edit">&nbsp;<input type=submit name=save value="Save"{if ($ed_empty)} disabled{/if}>&nbsp;<input type=submit name=cancel value="Cancel"></td></tr>  <tr bgcolor="#E0E0E0"><td align=right><input type=submit name="ed_edit" value="Re-edit">&nbsp;<input type=submit name=save value="Save"{if ($ed_empty)} disabled{/if}>&nbsp;<input type=submit name=cancel value="Cancel"></td></tr>
# Line 178  function Underline(src, obj) { InsertTag Line 179  function Underline(src, obj) { InsertTag
179  {if ($med)}  {if ($med)}
180  <tr><td colspan=4 align=left><b>Specialisations:</b><br>  <tr><td colspan=4 align=left><b>Specialisations:</b><br>
181  <dl><dd>  <dl><dd>
 {if ($specs)}  
182  <table border=0 cellspacing=0 cellpadding=0 width="100%">  <table border=0 cellspacing=0 cellpadding=0 width="100%">
183  <tr><td>  <tr><td>
184  {section name=i loop=$specs}  {section name=i loop=$specs}
185  <input type=checkbox name="ed_spec_{$i/specs.id}" value="1" id="_spec_{%i.rownum%}"{if ($i/specs.check)} checked{/if}>&nbsp;<label for="_spec_{%i.rownum%}">{$i/specs.txt}</label><br>  <input type=hidden name="ed_spec_{$i/specs.id}" value="0"><input type=checkbox name="ed_spec_{$i/specs.id}" value="1" id="_spec_{%i.rownum%}"{if ($i/specs.check)} checked{/if}>&nbsp;<label for="_spec_{%i.rownum%}">{if ($i/specs.id == 0)}<b>{/if}{$i/specs.txt}{if ($i/specs.id == 0)}</b>{/if}</label><br>
186  {/section}  {/section}
187  </td></tr>  </td></tr>
188  </table>  </table>
 {else}  
 <i>No specialisations.</i>  
 {/if}  
189  </dd></dl>  </dd></dl>
190  </td></tr>  </td></tr>
191  {else}  {else}
# Line 212  function Underline(src, obj) { InsertTag Line 209  function Underline(src, obj) { InsertTag
209  {if (! $vijest)}  {if (! $vijest)}
210  <tr><td colspan=4 align=left><b>Author:</b><br>  <tr><td colspan=4 align=left><b>Author:</b><br>
211  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
212  <td valign=top rowspan=2>  <td valign=top>
213  {if (! $ed_clr_author)}<img src="{$aupicdir}{$ed_author_url}" alt="{$ed_author_alt}" border=0{if ($ed_author_width)} width={$ed_author_width}{/if}{if ($ed_author_height)} height={$ed_author_height}{/if}><br>({$ed_author_name})<input type=hidden name="ed_author_url2" value="{$ed_author_url}"><input type=hidden name="ed_author_name" value="{$ed_author_name}">{else}<i>no picture</i>{/if}<br><br>  {if (! $ed_clr_author)}<img src="{$aupicdir}{$ed_author_url}" alt="{$ed_author_alt}" border=0{if ($ed_author_width)} width={$ed_author_width}{/if}{if ($ed_author_height)} height={$ed_author_height}{/if}><br>({$ed_author_name})<input type=hidden name="ed_author_url2" value="{$ed_author_url}"><input type=hidden name="ed_author_name" value="{$ed_author_name}">{else}<i>no picture</i>{/if}<br><br>
214  <b>Picture:</b> <input type=file onfocus="this.select();" name="ed_author_url" size=10 class="small">&nbsp;<input type=submit name="ed_clear_author" value="Delete" class="bsmall"{if ($ed_clr_author)} disabled{/if}><input type=hidden name="ed_clr_author" value="{$ed_clr_author}"><br>  <b>Picture:</b> <input type=file onfocus="this.select();" name="ed_author_url" size=10 class="small">&nbsp;<input type=submit name="ed_clear_author" value="Delete" class="bsmall"{if ($ed_clr_author)} disabled{/if}><input type=hidden name="ed_clr_author" value="{$ed_clr_author}"><br>
215  <b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}">  <b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}">
216  </td>  </td>
217  <td align=left valign=top width="50%"><b>Info:</b><br><textarea name="ed_author_info" cols=50 rows=6 wrap=virtual style="width:100%;">{$ed_author_info}</textarea></td>  <td align=left valign=top width="50%"><b>Info:</b><br><textarea name="ed_author_info" cols=50 rows=6 wrap=virtual style="width:100%;">{$ed_author_info}</textarea></td>
218  </tr>  </tr>
219  <tr><td align=left valign=middle><b>Author's name (for archive):</b> <input type=text onfocus="this.select();" class="small" size=20 name="ed_author_ime" value="{$ed_author_ime}"></td></tr>  <tr>
220    <td align=left valign=middle><b>Author's CV:</b><br><select name="ed_author_cv" class="small"><option value="0"{if (! $ed_author_cv)} selected{/if}>&nbsp;</option>{section name=k loop=$autori}<option value="{$k/autori.id}"{if ($ed_author_cv == $k/autori.id)} selected{/if}>{$k/autori.ime}</option>{/section}</select></td>
221    <td align=right valign=middle><b>Author's name (for archive):</b><br><input type=text onfocus="this.select();" class="small" size=20 name="ed_author_ime" value="{$ed_author_ime}"></td>
222    </tr>
223  </table>  </table>
224  </td></tr>  </td></tr>
225  {/if}  {/if}

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.26