/[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.17 by ravilov, Tue Oct 23 16:13:59 2001 UTC revision 1.18 by ravilov, Sat Oct 27 16:54:50 2001 UTC
# Line 27  function Underline(src, obj) { InsertTag Line 27  function Underline(src, obj) { InsertTag
27    <p align={if ($ed_titlepic_pos == 6)}left{/if}{if ($ed_titlepic_pos == 7)}center{/if}{if ($ed_titlepic_pos == 8)}right{/if}><img src="{$newspicdir}{$ed_titlepic_url}" border=0 alt="{$ed_titlepic_alt}"{if ($ed_titlepic_width)} width={$ed_titlepic_width}{/if}{if ($ed_titlepic_height)} height={$ed_titlepic_height}{/if}></p>    <p align={if ($ed_titlepic_pos == 6)}left{/if}{if ($ed_titlepic_pos == 7)}center{/if}{if ($ed_titlepic_pos == 8)}right{/if}><img src="{$newspicdir}{$ed_titlepic_url}" border=0 alt="{$ed_titlepic_alt}"{if ($ed_titlepic_width)} width={$ed_titlepic_width}{/if}{if ($ed_titlepic_height)} height={$ed_titlepic_height}{/if}></p>
28  {/if}  {/if}
29  <br>  <br>
30    {if ($AUTHOR && (! $ismed && $ed_exclusive) && ! $vijest)}{$AUTHOR}<br>{/if}
31  <input type=hidden name="ed_id" value="{$ed_id}">  <input type=hidden name="ed_id" value="{$ed_id}">
32  <input type=hidden name="ed_cat" value="{$ed_cat}">  <input type=hidden name="ed_cat" value="{$ed_cat}">
33  <input type=hidden name="ed_title" value="{$ed_title}">  <input type=hidden name="ed_title" value="{$ed_title}">
# Line 45  function Underline(src, obj) { InsertTag Line 46  function Underline(src, obj) { InsertTag
46  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">
47  <input type=hidden name="ed_author_info" value="{$ed_author_info}">  <input type=hidden name="ed_author_info" value="{$ed_author_info}">
48  <input type=hidden name="ed_author_cv" value="{$ed_author_cv}">  <input type=hidden name="ed_author_cv" value="{$ed_author_cv}">
49    <input type=hidden name="ed_exclusive" value="{$ed_exclusive}">
50  {/if}  {/if}
51  {section name=a loop=$related}  {section name=a loop=$related}
52  <input type=hidden name="ed_related_{%a.rownum%}" value="{$a/related}">  <input type=hidden name="ed_related_{%a.rownum%}" value="{$a/related}">
# Line 87  function Underline(src, obj) { InsertTag Line 89  function Underline(src, obj) { InsertTag
89  <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}">
90  {/section}  {/section}
91  {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}  {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}
92  {if ($AUTHOR && ! $vijest)}<br>{$AUTHOR}{/if}  {if ($AUTHOR && ($ismed || ! $ed_exclusive) && ! $vijest)}<br>{$AUTHOR}{/if}
93  </td></tr>  </td></tr>
94  <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>
95  </table>  </table>
# Line 215  function Underline(src, obj) { InsertTag Line 217  function Underline(src, obj) { InsertTag
217  {if (! $vijest)}  {if (! $vijest)}
218  <tr><td colspan=4 align=left><b>Author:</b><br>  <tr><td colspan=4 align=left><b>Author:</b><br>
219  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
220  <td valign=top>  <td valign=top width="50%" colspan=2>
221  {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>
222  <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>
223  <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}">
224  </td>  </td>
225  <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%" colspan=2><b>Info:</b><br><textarea name="ed_author_info" cols=50 rows=6 wrap=virtual style="width:100%;">{$ed_author_info}</textarea></td>
226  </tr>  </tr>
227  <tr>  <tr>
228  <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>  <td align=left valign=middle><b>Author's&nbsp;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>
229  <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>  <td align=left valign=bottom colspan=2><b>Exclusive&nbsp;text?</b>&nbsp;<input type="hidden" name="ed_exclusive" value=0><input type="checkbox" name="ed_exclusive" value=1{if ($ed_exclusive)} checked{/if}></td>
230    <td align=right valign=middle><b>Author's&nbsp;name&nbsp;(for&nbsp;archive):</b><br><input type=text onfocus="this.select();" class="small" size=20 name="ed_author_ime" value="{$ed_author_ime}"></td>
231  </tr>  </tr>
232  </table>  </table>
233  </td></tr>  </td></tr>
234  {/if}  {/if}
235  {if ($related)}  {if ($related)}
236  <tr><td colspan=4><b>Related:</b>  <tr><td colspan=4><br><b>Related:</b>
237  <blockquote>  <blockquote>
238  {section name=a loop=$related}  {section name=a loop=$related}
239  <select name="ed_related_{%a.rownum%}" class="small"><option value=0>&nbsp;</option>{section name=b loop=$newsi}<option value="{$b/newsi.id}"{if ($b/newsi.id == $a/related)} selected{/if}>{$b/newsi.txt}</option>{/section}</select>  <select name="ed_related_{%a.rownum%}" class="small"><option value=0>&nbsp;</option>{section name=b loop=$newsi}<option value="{$b/newsi.id}"{if ($b/newsi.id == $a/related)} selected{/if}>{$b/newsi.txt}</option>{/section}</select>

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.26