/[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.16 by ravilov, Tue Oct 16 13:07:03 2001 UTC revision 1.17 by ravilov, Tue Oct 23 16:13:59 2001 UTC
# Line 1  Line 1 
1  {literal}  {if (! $ed_preview)}
2  <script type="text/javascript" language="JavaScript">  {literal}
3  <!-- // begin  <script type="text/javascript" language="JavaScript">
4  function InsertTags(src, obj, t) { alert(t + ": not yet implemented."); }  <!-- // begin
5  function Bold(src, obj) { InsertTags(src, obj, "B"); }  function InsertTags(src, obj, t) { alert(t + ": not yet implemented."); }
6  function Italic(src, obj) { InsertTags(src, obj, "I"); }  function Bold(src, obj) { InsertTags(src, obj, "B"); }
7  function Underline(src, obj) { InsertTags(src, obj, "U"); }  function Italic(src, obj) { InsertTags(src, obj, "I"); }
8  // end -->  function Underline(src, obj) { InsertTags(src, obj, "U"); }
9  </script>  // end -->
10  {/literal}  </script>
11    {/literal}
12  <form action="{$FORM_ACTION}" method=post enctype="multipart/form-data">  {/if}
13  {if ($ed_preview)}  
14  <table border=1 cellspacing=0 cellpadding=6 width="100%"><tr><td>  <form action="{$FORM_ACTION}" method=post enctype="multipart/form-data">
15  {if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 1 || $ed_titlepic_pos == 2 || $ed_titlepic_pos == 3))}  {if ($ed_preview)}
16    <p align={if ($ed_titlepic_pos == 1)}left{/if}{if ($ed_titlepic_pos == 2)}center{/if}{if ($ed_titlepic_pos == 3)}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>  <table border=1 cellspacing=0 cellpadding=6 width="100%"><tr><td>
17  {/if}  {if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 1 || $ed_titlepic_pos == 2 || $ed_titlepic_pos == 3))}
18  {if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 4 || $ed_titlepic_pos == 5))}    <p align={if ($ed_titlepic_pos == 1)}left{/if}{if ($ed_titlepic_pos == 2)}center{/if}{if ($ed_titlepic_pos == 3)}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>
19    {if ($ed_titlepic_pos == 4)}<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} align=left>{/if}  {/if}
20    {if ($ed_titlepic_pos == 5)}<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} align=right>{/if}  {if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 4 || $ed_titlepic_pos == 5))}
21  {/if}    {if ($ed_titlepic_pos == 4)}<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} align=left>{/if}
22  {if ($ed_title)}<span class="{if ($ed_cat == 't')}topictitle{elseif ($ed_cat == 'w')}newzworld{elseif ($ed_cat == 'p')}newzpliva{else}maintitle{/if}">{$ed_title}</span><br>{/if}    {if ($ed_titlepic_pos == 5)}<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} align=right>{/if}
23  {if ($ed_lead2)}<span class="{if ($ed_cat == 't')}topicsubtitle{elseif ($ed_cat == 'w')}newzworldsub{elseif ($ed_cat == 'p')}newzplivasub{else}mainsubtitle{/if}">{$ed_lead2}</span><br>&nbsp;{/if}  {/if}
24  {if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 6 || $ed_titlepic_pos == 7 || $ed_titlepic_pos == 8))}  {if ($ed_title)}<span class="{if ($ed_cat == 't')}topictitle{elseif ($ed_cat == 'w')}newzworld{elseif ($ed_cat == 'p')}newzpliva{else}maintitle{/if}">{$ed_title}</span><br>{/if}
25    <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>  {if ($ed_lead2)}<span class="{if ($ed_cat == 't')}topicsubtitle{elseif ($ed_cat == 'w')}newzworldsub{elseif ($ed_cat == 'p')}newzplivasub{else}mainsubtitle{/if}">{if ($ed_text)}<b>{/if}{$ed_lead2}{if ($ed_text)}</b>{/if}</span><br>&nbsp;{/if}
26  {/if}  {if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 6 || $ed_titlepic_pos == 7 || $ed_titlepic_pos == 8))}
27  <br>    <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  <input type=hidden name="ed_id" value="{$ed_id}">  {/if}
29  <input type=hidden name="ed_cat" value="{$ed_cat}">  <br>
30  <input type=hidden name="ed_title" value="{$ed_title}">  <input type=hidden name="ed_id" value="{$ed_id}">
31  <input type=hidden name="ed_lead" value="{$ed_lead}">  <input type=hidden name="ed_cat" value="{$ed_cat}">
32  <input type=hidden name="ed_titlepic_pos" value="{$ed_titlepic_pos}">  <input type=hidden name="ed_title" value="{$ed_title}">
33  <input type=hidden name="ed_titlepic_url" value="{$ed_titlepic_url}">  <input type=hidden name="ed_lead" value="{$ed_lead}">
34  <input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}">  <input type=hidden name="ed_titlepic_pos" value="{$ed_titlepic_pos}">
35  <input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}">  <input type=hidden name="ed_titlepic_url" value="{$ed_titlepic_url}">
36  <input type=hidden name="ed_titlepic_alt" value="{$ed_titlepic_alt}">  <input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}">
37  <input type=hidden name="ed_prikazi" value="{$ed_prikazi}">  <input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}">
38  {if (! $vijest)}  <input type=hidden name="ed_titlepic_alt" value="{$ed_titlepic_alt}">
39  <input type=hidden name="ed_author_url" value="{$ed_author_url}">  <input type=hidden name="ed_prikazi" value="{$ed_prikazi}">
40  <input type=hidden name="ed_author_url2" value="{$ed_author_url}">  {if (! $vijest)}
41  <input type=hidden name="ed_author_name" value="{$ed_author_name}">  <input type=hidden name="ed_author_url" value="{$ed_author_url}">
42  <input type=hidden name="ed_author_ime" value="{$ed_author_ime}">  <input type=hidden name="ed_author_url2" value="{$ed_author_url}">
43  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">  <input type=hidden name="ed_author_name" value="{$ed_author_name}">
44  <input type=hidden name="ed_author_info" value="{$ed_author_info}">  <input type=hidden name="ed_author_ime" value="{$ed_author_ime}">
45  <input type=hidden name="ed_author_cv" value="{$ed_author_cv}">  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">
46  {/if}  <input type=hidden name="ed_author_info" value="{$ed_author_info}">
47  <input type=hidden name="ed_more" value="{$ed_more}">  <input type=hidden name="ed_author_cv" value="{$ed_author_cv}">
48  <input type=hidden name="ed_more_title" value="{$ed_more_title}">  {/if}
49  <input type=hidden name="ed_clr_main" value="{$ed_clr_main}">  {section name=a loop=$related}
50  {if ($ed_trigger)}<input type=hidden name="{$ed_trigger}" value="1">{/if}  <input type=hidden name="ed_related_{%a.rownum%}" value="{$a/related}">
51  {section name=i loop=$ed_text}  {/section}
52  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 1 || $i/ed_text.pos == 2 || $i/ed_text.pos == 3))}  <input type=hidden name="ed_more" value="{$ed_more}">
53    <p align={if ($i/ed_text.pos == 1)}left{/if}{if ($i/ed_text.pos == 2)}center{/if}{if ($i/ed_text.pos == 3)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td>{if ($i/ed_text.full)}<a href="{$newspicdir}{$i/ed_text.full}" target="_blank" title="Kliknite za veću sliku" onclick="{$i/ed_text.full|js_popup:"syspicdir"}">{/if}<img src="{$newspicdir}{$i/ed_text.url}" border=0 alt="{$i/ed_text.alt}"{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}>{if ($i/ed_text.full)}</a>{/if}</td></tr>{if ($i/ed_text.exp)}<tr><td align=center>{$i/ed_text.exp}</td></tr>{/if}</table></p>  <input type=hidden name="ed_more_title" value="{$ed_more_title}">
54  {/if}  <input type=hidden name="ed_clr_main" value="{$ed_clr_main}">
55  <p class="ptitle">{if ($i/ed_text.class)}<span class="{$i/ed_text.class}">{/if}{$i/ed_text.title}{if ($i/ed_text.class)}</span>{/if}</p>  {if ($ed_trigger)}<input type=hidden name="{$ed_trigger}" value="1">{/if}
56  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>  {section name=i loop=$ed_text}
57  <p class="ptext">  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 1 || $i/ed_text.pos == 2 || $i/ed_text.pos == 3))}
58  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))}    <p align={if ($i/ed_text.pos == 1)}left{/if}{if ($i/ed_text.pos == 2)}center{/if}{if ($i/ed_text.pos == 3)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td>{if ($i/ed_text.full)}<a href="{$newspicdir}{$i/ed_text.full}" target="_blank" title="Kliknite za veću sliku" onclick="{$i/ed_text.full|js_popup:"syspicdir"}">{/if}<img src="{$newspicdir}{$i/ed_text.url}" border=0 alt="{$i/ed_text.alt}"{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}>{if ($i/ed_text.full)}</a>{/if}</td></tr>{if ($i/ed_text.exp)}<tr><td align=center>{$i/ed_text.exp}</td></tr>{/if}</table></p>
59    <table border=0 cellspacing=0 cellpadding=0{if ($i/ed_text.pos == 4)} align=left{/if}{if ($i/ed_text.pos == 5)} align=right{/if}><tr><td>{if ($i/ed_text.full)}<a href="{$newspicdir}{$i/ed_text.full}" target="_blank" title="Kliknite za veću sliku" onclick="{$i/ed_text.full|js_popup:"syspicdir"}">{/if}<img src="{$newspicdir}{$i/ed_text.url}" border=0 alt="{$i/ed_text.alt}"{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}>{if ($i/ed_text.full)}</a>{/if}</td></tr>{if ($i/ed_text.exp)}<tr><td align=center>{$i/ed_text.exp}</td></tr>{/if}</table>  {/if}
60  {/if}  <p class="ptitle">{if ($i/ed_text.class)}<span class="{$i/ed_text.class}">{/if}{$i/ed_text.title}{if ($i/ed_text.class)}</span>{/if}</p>
61  {if ($i/ed_text.hl)}{$i/ed_text.hl}{/if}  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
62  {if ($i/ed_text.txt)}{$i/ed_text.txt}{else}&nbsp;{/if}  <p class="ptext">
63  </p>  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))}
64  </td></tr></table>    <table border=0 cellspacing=0 cellpadding=0{if ($i/ed_text.pos == 4)} align=left{/if}{if ($i/ed_text.pos == 5)} align=right{/if}><tr><td>{if ($i/ed_text.full)}<a href="{$newspicdir}{$i/ed_text.full}" target="_blank" title="Kliknite za veću sliku" onclick="{$i/ed_text.full|js_popup:"syspicdir"}">{/if}<img src="{$newspicdir}{$i/ed_text.url}" border=0 alt="{$i/ed_text.alt}"{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}>{if ($i/ed_text.full)}</a>{/if}</td></tr>{if ($i/ed_text.exp)}<tr><td align=center>{$i/ed_text.exp}</td></tr>{/if}</table>
65  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 6 || $i/ed_text.pos == 7 || $i/ed_text.pos == 8))}  {/if}
66    <p align={if ($i/ed_text.pos == 6)}left{/if}{if ($i/ed_text.pos == 7)}center{/if}{if ($i/ed_text.pos == 8)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td>{if ($i/ed_text.full)}<a href="{$newspicdir}{$i/ed_text.full}" target="_blank" title="Kliknite za veću sliku" onclick="{$i/ed_text.full|js_popup:"syspicdir"}">{/if}<img src="{$newspicdir}{$i/ed_text.url}" border=0 alt="{$i/ed_text.alt}"{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}>{if ($i/ed_text.full)}</a>{/if}</td></tr>{if ($i/ed_text.exp)}<tr><td align=center>{$i/ed_text.exp}</td></tr>{/if}</table></p>  {if ($i/ed_text.hl2)}{$i/ed_text.hl2}{/if}
67  {/if}  {if ($i/ed_text.txt)}{$i/ed_text.txt}{else}&nbsp;{/if}
68  <input type=hidden name="ed_text_{$i/ed_text.n}" value="{$i/ed_text.txt3}">  </p>
69  <input type=hidden name="ed_hl_{$i/ed_text.n}" value="{$i/ed_text.hl3}">  </td></tr></table>
70  <input type=hidden name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}">  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 6 || $i/ed_text.pos == 7 || $i/ed_text.pos == 8))}
71  <input type=hidden name="ed_text_level_{$i/ed_text.n}" value="{$i/ed_text.level}">    <p align={if ($i/ed_text.pos == 6)}left{/if}{if ($i/ed_text.pos == 7)}center{/if}{if ($i/ed_text.pos == 8)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td>{if ($i/ed_text.full)}<a href="{$newspicdir}{$i/ed_text.full}" target="_blank" title="Kliknite za veću sliku" onclick="{$i/ed_text.full|js_popup:"syspicdir"}">{/if}<img src="{$newspicdir}{$i/ed_text.url}" border=0 alt="{$i/ed_text.alt}"{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}>{if ($i/ed_text.full)}</a>{/if}</td></tr>{if ($i/ed_text.exp)}<tr><td align=center>{$i/ed_text.exp}</td></tr>{/if}</table></p>
72  <input type=hidden name="ed_textpic_url_{$i/ed_text.n}" value="{$i/ed_text.url}">  {/if}
73  <input type=hidden name="ed_textpic_url2_{$i/ed_text.n}" value="{$i/ed_text.url}">  <input type=hidden name="ed_text_{$i/ed_text.n}" value="{$i/ed_text.txt3}">
74  <input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}">  <input type=hidden name="ed_hl_{$i/ed_text.n}" value="{$i/ed_text.hl3}">
75  <input type=hidden name="ed_textpic_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}">  <input type=hidden name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}">
76  <input type=hidden name="ed_textpic_pos_{$i/ed_text.n}" value="{$i/ed_text.pos}">  <input type=hidden name="ed_text_level_{$i/ed_text.n}" value="{$i/ed_text.level}">
77  <input type=hidden name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}">  <input type=hidden name="ed_textpic_url_{$i/ed_text.n}" value="{$i/ed_text.url}">
78  <input type=hidden name="ed_textpic_full_{$i/ed_text.n}" value="{$i/ed_text.full}">  <input type=hidden name="ed_textpic_url2_{$i/ed_text.n}" value="{$i/ed_text.url}">
79  <input type=hidden name="ed_textpic_full2_{$i/ed_text.n}" value="{$i/ed_text.full}">  <input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}">
80  <input type=hidden name="ed_textpic_fname_{$i/ed_text.n}" value="{$i/ed_text.fname}">  <input type=hidden name="ed_textpic_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}">
81  <input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}">  <input type=hidden name="ed_textpic_pos_{$i/ed_text.n}" value="{$i/ed_text.pos}">
82  <input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}">  <input type=hidden name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}">
83  {/section}  <input type=hidden name="ed_textpic_full_{$i/ed_text.n}" value="{$i/ed_text.full}">
84  {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}  <input type=hidden name="ed_textpic_full2_{$i/ed_text.n}" value="{$i/ed_text.full}">
85  {if ($AUTHOR && ! $vijest)}<br>{$AUTHOR}{/if}  <input type=hidden name="ed_textpic_fname_{$i/ed_text.n}" value="{$i/ed_text.fname}">
86  </td></tr>  <input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}">
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>  <input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}">
88  </table>  {/section}
89  {if ($med)}  {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}
90  {section name=i loop=$specs}  {if ($AUTHOR && ! $vijest)}<br>{$AUTHOR}{/if}
91  <input type=hidden name="ed_spec_{$i/specs.id}" value="{$i/specs.check}">  </td></tr>
92  {/section}  <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>
93  {else}  </table>
94  {section name=i loop=$categories}  {if ($med)}
95  <input type=hidden name="ed_cat_{$i/categories.id}" value="{$i/categories.check}">  {section name=i loop=$specs}
96  {/section}  <input type=hidden name="ed_spec_{$i/specs.id}" value="{$i/specs.check}">
97  {/if}  {/section}
98  {else}  {else}
99  <table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0">  {section name=i loop=$categories}
100  {if ($ed_warnings)}<tr bgcolor="#C0C0FF"><td style="padding:10px"><span class="note">Some warnings were generated while processing your article. For more information, review the notes marked <span class="warning">red</span> below.<br><br>Click &quot;<i>Preview</i>&quot; below again to ignore warnings and preview the article anyway.</span></td></tr>{/if}  <input type=hidden name="ed_cat_{$i/categories.id}" value="{$i/categories.check}">
101  <tr><td>  {/section}
102  <table border=0 cellspacing=0 cellpadding=3 width="100%">  {/if}
103  <tr><td align=right><b>Title:</b></td><td colspan=3><input type=text onfocus="this.select();" class="small" size=30 name="ed_title" value="{$ed_title}" style="width:100%"></td></tr>  {else}
104  <tr><td align=right valign=top><b>Lead:</b></td><td colspan=3><textarea name="ed_lead" onfocus="this.select();" class="small" style="width:100%" cols=35 rows=3 wrap=virtual>{$ed_lead}</textarea></td></tr>  <table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0">
105  <tr><td align=right valign=middle><b>Category:</b></td><td colspan=3><select name="ed_cat" class="small" style="width:100%">{section name=i loop=$categories}<option value="{$i/categories.id}"{if ($ed_cat == $i/categories.id)} selected{/if}>{$i/categories.txt}</option>{/section}</select></td></tr>  {if ($ed_warnings)}<tr bgcolor="#C0C0FF"><td style="padding:10px"><span class="note">Some warnings were generated while processing your article. For more information, review the notes marked <span class="warning">red</span> below.<br><br>Click &quot;<i>Preview</i>&quot; below again to ignore warnings and preview the article anyway.</span></td></tr>{/if}
106  <tr><td align=right valign=top rowspan=2><b>Title picture:</b></td><td rowspan=2 valign=top>{if (! $ed_clr_main)}<img src="{$newspicdir}{$ed_titlepic_url}" alt="{$ed_titlepic_alt}" border=0{if ($ed_titlepic_width)} width={$ed_titlepic_width}{/if}{if ($ed_titlepic_height)} height={$ed_titlepic_height}{/if}><br>({$ed_titlepic_name})<input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}"><input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}">{else}<i>no picture</i>{/if}</td><td align=right width="25%"><b>Filename:</b></td><td><input type=file onfocus="this.select();" name="ed_titlepic_url" size=10 class="small">&nbsp;<input type=submit name="ed_clear_main" value="Delete" class="bsmall"{if ($ed_clr_main)} disabled{/if}><input type=hidden name="ed_clr_main" value="{$ed_clr_main}"></td></tr><tr><td align=right><b>Alt:</b></td><td><input type=text onfocus="this.select();" class="small" size=15 name=ed_titlepic_alt value="{$ed_titlepic_alt}"></td></tr>  <tr><td>
107  <tr><td align=right valign=top><b>Title picture position:</b></td><td>  <table border=0 cellspacing=0 cellpadding=3 width="100%">
108  <table border=0 cellspacing=0 cellpadding=0>  <tr><td align=right><b>Title:</b></td><td colspan=3><input type=text onfocus="this.select();" class="small" size=30 name="ed_title" value="{$ed_title}" style="width:100%"></td></tr>
109  <tr>  <tr><td align=right valign=top><b>Lead:</b></td><td colspan=3><textarea name="ed_lead" onfocus="this.select();" class="small" style="width:100%" cols=35 rows=3 wrap=virtual>{$ed_lead}</textarea></td></tr>
110  <td><input type=radio class="small" name="ed_titlepic_pos" value=1 title="Upper left"{if ($ed_titlepic_pos == 1)} checked{/if}></td>  <tr><td align=right valign=middle><b>Category:</b></td><td colspan=3><select name="ed_cat" class="small" style="width:100%">{section name=i loop=$categories}<option value="{$i/categories.id}"{if ($ed_cat == $i/categories.id)} selected{/if}>{$i/categories.txt}</option>{/section}</select></td></tr>
111  <td><input type=radio class="small" name="ed_titlepic_pos" value=2 title="Upper center"{if ($ed_titlepic_pos == 2)} checked{/if}></td>  <tr><td align=right valign=top rowspan=2><b>Title picture:</b></td><td rowspan=2 valign=top>{if (! $ed_clr_main)}<img src="{$newspicdir}{$ed_titlepic_url}" alt="{$ed_titlepic_alt}" border=0{if ($ed_titlepic_width)} width={$ed_titlepic_width}{/if}{if ($ed_titlepic_height)} height={$ed_titlepic_height}{/if}><br>({$ed_titlepic_name})<input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}"><input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}">{else}<i>no picture</i>{/if}</td><td align=right width="25%"><b>Filename:</b></td><td><input type=file onfocus="this.select();" name="ed_titlepic_url" size=10 class="small">&nbsp;<input type=submit name="ed_clear_main" value="Delete" class="bsmall"{if ($ed_clr_main)} disabled{/if}><input type=hidden name="ed_clr_main" value="{$ed_clr_main}"></td></tr><tr><td align=right><b>Alt:</b></td><td><input type=text onfocus="this.select();" class="small" size=15 name=ed_titlepic_alt value="{$ed_titlepic_alt}"></td></tr>
112  <td><input type=radio class="small" name="ed_titlepic_pos" value=3 title="Upper right"{if ($ed_titlepic_pos == 3)} checked{/if}></td>  <tr><td align=right valign=top><b>Title picture position:</b></td><td>
113  </tr>  <table border=0 cellspacing=0 cellpadding=0>
114  <tr>  <tr>
115  <td><input type=radio class="small" name="ed_titlepic_pos" value=4 title="Inline left"{if ($ed_titlepic_pos == 4)} checked{/if}></td>  <td><input type=radio class="small" name="ed_titlepic_pos" value=1 title="Upper left"{if ($ed_titlepic_pos == 1)} checked{/if}></td>
116  <td><input type=radio class="small" name="ed_titlepic_pos" value=0 title="No picture"{if (!$ed_titlepic_pos)} checked{/if}></td>  <td><input type=radio class="small" name="ed_titlepic_pos" value=2 title="Upper center"{if ($ed_titlepic_pos == 2)} checked{/if}></td>
117  <td><input type=radio class="small" name="ed_titlepic_pos" value=5 title="Inline right"{if ($ed_titlepic_pos == 5)} checked{/if}></td>  <td><input type=radio class="small" name="ed_titlepic_pos" value=3 title="Upper right"{if ($ed_titlepic_pos == 3)} checked{/if}></td>
118  </tr>  </tr>
119  <tr>  <tr>
120  <td><input type=radio class="small" name="ed_titlepic_pos" value=6 title="Lower left"{if ($ed_titlepic_pos == 6)} checked{/if}></td>  <td><input type=radio class="small" name="ed_titlepic_pos" value=4 title="Inline left"{if ($ed_titlepic_pos == 4)} checked{/if}></td>
121  <td><input type=radio class="small" name="ed_titlepic_pos" value=7 title="Lower center"{if ($ed_titlepic_pos == 7)} checked{/if}></td>  <td><input type=radio class="small" name="ed_titlepic_pos" value=0 title="No picture"{if (!$ed_titlepic_pos)} checked{/if}></td>
122  <td><input type=radio class="small" name="ed_titlepic_pos" value=8 title="Lower right"{if ($ed_titlepic_pos == 8)} checked{/if}></td>  <td><input type=radio class="small" name="ed_titlepic_pos" value=5 title="Inline right"{if ($ed_titlepic_pos == 5)} checked{/if}></td>
123  </tr>  </tr>
124  </table></td>  <tr>
125  <td colspan=2 align=right valign=bottom>{if ($ed_warning)}<span class="warning"><i>WARNING:</i>  <td><input type=radio class="small" name="ed_titlepic_pos" value=6 title="Lower left"{if ($ed_titlepic_pos == 6)} checked{/if}></td>
126  {if ($ed_warning == 2)}You uploaded a title picture, but have not selected its disposition (the <i>Title picture position</i> field).{/if}  <td><input type=radio class="small" name="ed_titlepic_pos" value=7 title="Lower center"{if ($ed_titlepic_pos == 7)} checked{/if}></td>
127  </span><input type=hidden name="ed_title_force" value=1>{else}&nbsp;{/if}</td>  <td><input type=radio class="small" name="ed_titlepic_pos" value=8 title="Lower right"{if ($ed_titlepic_pos == 8)} checked{/if}></td>
128  </tr>  </tr>
129  <td align=right valign=bottom><b>URL for more info:</b></td><td colspan=3 align=left valign=bottom><input type=text onfocus="this.select();" class="small" size=30 name="ed_more" style="width:100%" value="{$ed_more}"></td>  </table></td>
130  </tr>  <td colspan=2 align=right valign=bottom>{if ($ed_warning)}<span class="warning"><i>WARNING:</i>
131  <tr>  {if ($ed_warning == 2)}You uploaded a title picture, but have not selected its disposition (the <i>Title picture position</i> field).{/if}
132  <td align=right valign=bottom><b>URL title:</b></td><td colspan=3 align=left valign=bottom><input type=text onfocus="this.select();" class="small" size=30 name="ed_more_title" style="width:100%" value="{$ed_more_title}"></td>  </span><input type=hidden name="ed_title_force" value=1>{else}&nbsp;{/if}</td>
133  </tr>  </tr>
134  <tr>  <td align=right valign=bottom><b>URL for more info:</b></td><td colspan=3 align=left valign=bottom><input type=text onfocus="this.select();" class="small" size=30 name="ed_more" style="width:100%" value="{$ed_more}"></td>
135  <td align=right valign=middle><label for="_prikazi_"><b>Show?</b></label></td><td colspan=3 align=left valign=middle><input type="hidden" name="prikazi" value="0"><input type="checkbox" name="ed_prikazi" value="1" id="_prikazi_"{if ($ed_prikazi)} checked{/if}></td></tr>  </tr>
136  </tr>  <tr>
137  <tr><td align=left colspan=4><br><br><b>Topic text:</b>  <td align=right valign=bottom><b>URL title:</b></td><td colspan=3 align=left valign=bottom><input type=text onfocus="this.select();" class="small" size=30 name="ed_more_title" style="width:100%" value="{$ed_more_title}"></td>
138  <dl><dd>  </tr>
139  {section name=i loop=$ed_text}  <tr>
140  <hr width="100%" size=2>  <td align=right valign=middle><label for="_prikazi_"><b>Show?</b></label></td><td colspan=3 align=left valign=middle><input type="hidden" name="prikazi" value="0"><input type="checkbox" name="ed_prikazi" value="1" id="_prikazi_"{if ($ed_prikazi)} checked{/if}></td></tr>
141  <table border=0 cellspacing=0 cellpadding=4 width="90%">  </tr>
142  <tr><td align=left valign=top width="50%" colspan=2><b><i>Paragraph&nbsp;{%i.rownum%}:</i></b></td><td align=right width="50%" colspan=2><input type=submit name="ed_delete_{$i/ed_text.n}" value="Delete this paragraph" class="bsmall"></td></tr>  <tr><td align=left colspan=4><br><br><b>Topic text:</b>
143  <tr><td align=right valign=middle>Level:</td><td><select name="ed_text_level_{$i/ed_text.n}" class="small">{section name=j loop=$levels}<option value="{$j/levels.id}"{if ($i/ed_text.level == $j/levels.id)} selected{/if}>{$j/levels.name}</option>{/section}</select></td><td align=right valign=middle>Title:</td><td><input type=text onfocus="this.select();" class="small" size=20 name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}" style="width:100%"></td></tr>  <dl><dd>
144  <tr><td align=right valign=top>Text:</td><td colspan=3><table border=0 cellspacing=0 cellpadding=1 width="100%"><tr><td rowspan=3 width="100%" align=center><textarea onfocus="this.select();" name="ed_text_{$i/ed_text.n}" id="ed_text_{$i/ed_text.n}" class="small" style="width:100%" cols=35 rows=5 wrap=virtual>{$i/ed_text.txt2}</textarea></td><td><input type=button value="B" title="Bold" class="btn_b" onclick="return Bold(this, 'ed_text_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="I" title="Italic" class="btn_i" onclick="return Italic(this, 'ed_text_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="U" title="Underline" class="btn_u" onclick="return Underline(this, 'ed_text_{$i/ed_text.n}');"></td></tr></table></td></tr>  {section name=i loop=$ed_text}
145  <tr><td align=right valign=top>Highlights:</td><td colspan=3><table border=0 cellspacing=0 cellpadding=1 width="100%"><tr><td rowspan=3 width="100%" align=center><textarea onfocus="this.select();" name="ed_hl_{$i/ed_text.n}" id="ed_hl_{$i/ed_text.n}" class="small" style="width:100%" cols=35 rows=5 wrap=virtual>{$i/ed_text.hl2}</textarea></td><td><input type=button value="B" title="Bold" class="btn_b" onclick="return Bold(this, 'ed_hl_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="I" title="Italic" class="btn_i" onclick="return Italic(this, 'ed_hl_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="U" title="Underline" class="btn_u" onclick="return Underline(this, 'ed_hl_{$i/ed_text.n}');"></td></tr></table></td></tr>  <hr width="100%" size=2>
146  <tr><td align=right valign=top rowspan=2>Paragraph picture:</td><td valign=top rowspan=2>{if (! $i/ed_text.clr)}<img src="{$newspicdir}{$i/ed_text.url}" alt="{$i/ed_text.alt}" border=0{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}><br>({$i/ed_text.name})<input type=hidden name="ed_textpic_url2_{$i/ed_text.n}" value="{$i/ed_text.url}"><input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}">{else}<i>no picture</i>{/if}</td><td align=right>Filename:</td><td><input type=file onfocus="this.select();" class="small" name="ed_textpic_url_{$i/ed_text.n}" size=10>&nbsp;<input type=submit class="bsmall" name="ed_clear_{$i/ed_text.n}" value="Delete"{if ($i/ed_text.clr)} disabled{/if}><input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}"></td></tr><tr><td align=right>Alt:</td><td><input type=text class="small" size=15 name="ed_textpic_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}"></td></tr>  <table border=0 cellspacing=0 cellpadding=4 width="90%">
147  <tr><td align=right>Paragraph picture explanation:</td><td colspan=3><input type=text class="small" size=15 name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}" style="width:100%;"></td></tr>  <tr><td align=left valign=top width="50%" colspan=2><b><i>Paragraph&nbsp;{%i.rownum%}:</i></b></td><td align=right width="50%" colspan=2><input type=submit name="ed_delete_{$i/ed_text.n}" value="Delete this paragraph" class="bsmall"></td></tr>
148  <tr><td align=right>Paragraph picture position:</td><td><table border=0 cellspacing=0 cellpadding=0>  <tr><td align=right valign=middle>Level:</td><td><select name="ed_text_level_{$i/ed_text.n}" class="small">{section name=j loop=$levels}<option value="{$j/levels.id}"{if ($i/ed_text.level == $j/levels.id)} selected{/if}>{$j/levels.name}</option>{/section}</select></td><td align=right valign=middle>Title:</td><td><input type=text onfocus="this.select();" class="small" size=20 name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}" style="width:100%"></td></tr>
149  <tr>  <tr><td align=right valign=top>Text:</td><td colspan=3><table border=0 cellspacing=0 cellpadding=1 width="100%"><tr><td rowspan=3 width="100%" align=center><textarea onfocus="this.select();" name="ed_text_{$i/ed_text.n}" id="ed_text_{$i/ed_text.n}" class="small" style="width:100%" cols=35 rows=5 wrap=virtual>{$i/ed_text.txt}</textarea></td><td><input type=button value="B" title="Bold" class="btn_b" onclick="return Bold(this, 'ed_text_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="I" title="Italic" class="btn_i" onclick="return Italic(this, 'ed_text_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="U" title="Underline" class="btn_u" onclick="return Underline(this, 'ed_text_{$i/ed_text.n}');"></td></tr></table></td></tr>
150  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=1 title="Upper left"{if ($i/ed_text.pos == 1)} checked{/if}></td>  <tr><td align=right valign=top>Highlights:</td><td colspan=3><table border=0 cellspacing=0 cellpadding=1 width="100%"><tr><td rowspan=3 width="100%" align=center><textarea onfocus="this.select();" name="ed_hl_{$i/ed_text.n}" id="ed_hl_{$i/ed_text.n}" class="small" style="width:100%" cols=35 rows=5 wrap=virtual>{$i/ed_text.hl}</textarea></td><td><input type=button value="B" title="Bold" class="btn_b" onclick="return Bold(this, 'ed_hl_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="I" title="Italic" class="btn_i" onclick="return Italic(this, 'ed_hl_{$i/ed_text.n}');"></td></tr><tr><td><input type=button value="U" title="Underline" class="btn_u" onclick="return Underline(this, 'ed_hl_{$i/ed_text.n}');"></td></tr></table></td></tr>
151  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=2 title="Upper center"{if ($i/ed_text.pos == 2)} checked{/if}></td>  <tr><td align=right valign=top rowspan=2>Paragraph picture:</td><td valign=top rowspan=2>{if (! $i/ed_text.clr)}<img src="{$newspicdir}{$i/ed_text.url}" alt="{$i/ed_text.alt}" border=0{if ($i/ed_text.w)} width={$i/ed_text.w}{/if}{if ($i/ed_text.h)} height={$i/ed_text.h}{/if}><br>({$i/ed_text.name})<input type=hidden name="ed_textpic_url2_{$i/ed_text.n}" value="{$i/ed_text.url}"><input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}">{else}<i>no picture</i>{/if}</td><td align=right>Filename:</td><td><input type=file onfocus="this.select();" class="small" name="ed_textpic_url_{$i/ed_text.n}" size=10>&nbsp;<input type=submit class="bsmall" name="ed_clear_{$i/ed_text.n}" value="Delete"{if ($i/ed_text.clr)} disabled{/if}><input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}"></td></tr><tr><td align=right>Alt:</td><td><input type=text class="small" size=15 name="ed_textpic_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}"></td></tr>
152  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=3 title="Upper right"{if ($i/ed_text.pos == 3)} checked{/if}></td>  <tr><td align=right>Paragraph picture explanation:</td><td colspan=3><input type=text class="small" size=15 name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}" style="width:100%;"></td></tr>
153  </tr>  <tr><td align=right>Paragraph picture position:</td><td><table border=0 cellspacing=0 cellpadding=0>
154  <tr>  <tr>
155  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=4 title="Inline left"{if ($i/ed_text.pos == 4)} checked{/if}></td>  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=1 title="Upper left"{if ($i/ed_text.pos == 1)} checked{/if}></td>
156  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=0 title="No picture"{if (! $i/ed_text.pos)} checked{/if}></td>  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=2 title="Upper center"{if ($i/ed_text.pos == 2)} checked{/if}></td>
157  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=5 title="Inline right"{if ($i/ed_text.pos == 5)} checked{/if}></td>  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=3 title="Upper right"{if ($i/ed_text.pos == 3)} checked{/if}></td>
158  </tr>  </tr>
159  <tr>  <tr>
160  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=6 title="Lower left"{if ($i/ed_text.pos == 6)} checked{/if}></td>  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=4 title="Inline left"{if ($i/ed_text.pos == 4)} checked{/if}></td>
161  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=7 title="Lower center"{if ($i/ed_text.pos == 7)} checked{/if}></td>  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=0 title="No picture"{if (! $i/ed_text.pos)} checked{/if}></td>
162  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=8 title="Lower right"{if ($i/ed_text.pos == 8)} checked{/if}></td>  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=5 title="Inline right"{if ($i/ed_text.pos == 5)} checked{/if}></td>
163  </tr>  </tr>
164  </table></td>  <tr>
165  <td colspan=2 align=right valign=bottom>{if ($i/ed_text.warning)}<span class="warning"><i>WARNING:</i>  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=6 title="Lower left"{if ($i/ed_text.pos == 6)} checked{/if}></td>
166  {if ($i/ed_text.warning == 1)}This paragraph is empty (ie. it has neither text nor picture).{/if}  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=7 title="Lower center"{if ($i/ed_text.pos == 7)} checked{/if}></td>
167  {if ($i/ed_text.warning == 2)}You uploaded a picture for this paragraph, but have not selected its disposition (the <i>Picture position</i> field).{/if}  <td><input type=radio class="small" name="ed_textpic_pos_{$i/ed_text.n}" value=8 title="Lower right"{if ($i/ed_text.pos == 8)} checked{/if}></td>
168  </span><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else}&nbsp;{/if}</td>  </tr>
169  </tr>  </table></td>
170  <tr><td align=right valign=top>Paragraph full picture:</td><td valign=top>{if (! $i/ed_text.fclr)}<img src="{$newspicdir}{$i/ed_text.full}" alt="" border=0{if ($i/ed_text.fw)} width={$i/ed_text.fw}{/if}{if ($i/ed_text.fh)} height={$i/ed_text.fh}{/if}><br>({$i/ed_text.fname})<input type=hidden name="ed_textpic_full2_{$i/ed_text.n}" value="{$i/ed_text.full}"><input type=hidden name="ed_textpic_fname_{$i/ed_text.n}" value="{$i/ed_text.fname}">{else}<i>no picture</i>{/if}</td><td align=right>Filename:</td><td><input type=file onfocus="this.select();" class="small" name="ed_textpic_full_{$i/ed_text.n}" size=10>&nbsp;<input type=submit class="bsmall" name="ed_fclear_{$i/ed_text.n}" value="Delete"{if ($i/ed_text.fclr)} disabled{/if}><input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}"></td></tr>  <td colspan=2 align=right valign=bottom>{if ($i/ed_text.warning)}<span class="warning"><i>WARNING:</i>
171  </table>  {if ($i/ed_text.warning == 1)}This paragraph is empty (ie. it has neither text nor picture).{/if}
172  {if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if}  {if ($i/ed_text.warning == 2)}You uploaded a picture for this paragraph, but have not selected its disposition (the <i>Picture position</i> field).{/if}
173  {sectionelse}  </span><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else}&nbsp;{/if}</td>
174  <i>No paragraphs.</i>  </tr>
175  {/section}  <tr><td align=right valign=top>Paragraph full picture:</td><td valign=top>{if (! $i/ed_text.fclr)}<img src="{$newspicdir}{$i/ed_text.full}" alt="" border=0{if ($i/ed_text.fw)} width={$i/ed_text.fw}{/if}{if ($i/ed_text.fh)} height={$i/ed_text.fh}{/if}><br>({$i/ed_text.fname})<input type=hidden name="ed_textpic_full2_{$i/ed_text.n}" value="{$i/ed_text.full}"><input type=hidden name="ed_textpic_fname_{$i/ed_text.n}" value="{$i/ed_text.fname}">{else}<i>no picture</i>{/if}</td><td align=right>Filename:</td><td><input type=file onfocus="this.select();" class="small" name="ed_textpic_full_{$i/ed_text.n}" size=10>&nbsp;<input type=submit class="bsmall" name="ed_fclear_{$i/ed_text.n}" value="Delete"{if ($i/ed_text.fclr)} disabled{/if}><input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}"></td></tr>
176  </dd></dl>  </table>
177  </td></tr>  {if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if}
178  <tr><td align=right colspan=4 class="small"><input type=submit name=add value="Append" class="bsmall"> <select name="add_num" class="small"><option value=1>1</option><option value=2>2</option><option value=3>3</option><option value=4>4</option><option value=5>5</option><option value=6>6</option><option value=7>7</option><option value=8>8</option><option value=9>9</option><option value=10>10</option></select> new paragraph(s)&nbsp;<br>&nbsp;</td></tr>  {sectionelse}
179  {if ($med)}  <i>No paragraphs.</i>
180  <tr><td colspan=4 align=left><b>Specialisations:</b><br>  {/section}
181  <dl><dd>  </dd></dl>
182  <table border=0 cellspacing=0 cellpadding=0 width="100%">  </td></tr>
183  <tr><td>  <tr><td align=right colspan=4 class="small"><input type=submit name=add value="Append" class="bsmall"> <select name="add_num" class="small">
184  {section name=i loop=$specs}  {section name=w loop=20}<option value={%w.rownum%}>{%w.rownum%}</option>{/section}
185  <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>  </select> new paragraph(s)&nbsp;<br>&nbsp;</td></tr>
186  {/section}  {if ($med)}
187  </td></tr>  <tr><td colspan=4 align=left><b>Specialisations:</b><br>
188  </table>  <dl><dd>
189  </dd></dl>  <table border=0 cellspacing=0 cellpadding=0 width="100%">
190  </td></tr>  <tr><td>
191  {else}  {section name=i loop=$specs}
192  <tr><td colspan=4 align=left><b>Categories:</b><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>
193  <dl><dd>  {/section}
194  {if ($categories)}  </td></tr>
195  <table border=0 cellspacing=0 cellpadding=0 width="100%">  </table>
196  <tr><td>  </dd></dl>
197  {section name=i loop=$categories}  </td></tr>
198  <input type=checkbox name="ed_cat_{$i/categories.id}" value="1" id="_cat_{%i.rownum%}"{if ($i/categories.check)} checked{/if}>&nbsp;<label for="_cat_{%i.rownum%}">{$i/categories.txt}</label><br>  {else}
199  {/section}  <tr><td colspan=4 align=left><b>Categories:</b><br>
200  </td></tr>  <dl><dd>
201  </table>  {if ($categories)}
202  {else}  <table border=0 cellspacing=0 cellpadding=0 width="100%">
203  <i>No categories.</i>  <tr><td>
204  {/if}  {section name=i loop=$categories}
205  </dd></dl>  <input type=checkbox name="ed_cat_{$i/categories.id}" value="1" id="_cat_{%i.rownum%}"{if ($i/categories.check)} checked{/if}>&nbsp;<label for="_cat_{%i.rownum%}">{$i/categories.txt}</label><br>
206  </td></tr>  {/section}
207    </td></tr>
208  {/if}  </table>
209  {if (! $vijest)}  {else}
210  <tr><td colspan=4 align=left><b>Author:</b><br>  <i>No categories.</i>
211  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>  {/if}
212  <td valign=top>  </dd></dl>
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>  </td></tr>
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>  {/if}
215  <b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}">  {if (! $vijest)}
216  </td>  <tr><td colspan=4 align=left><b>Author:</b><br>
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>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
218  </tr>  <td valign=top>
219  <tr>  {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>
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>  <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>
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>  <b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}">
222  </tr>  </td>
223  </table>  <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>
224  </td></tr>  </tr>
225  {/if}  <tr>
226  </table></td></tr>  <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>
227  <tr><td align=right valign=bottom width="50%">  <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>
228  <input type=reset value="Revert">&nbsp;<input type=submit name=preview value="Preview">&nbsp;<input type=submit name=cancel value="Cancel"></td></tr>  </tr>
229  </table>  </table>
230  {/if}  </td></tr>
231  {section name=i loop=$ed_records}  {/if}
232  <input type=hidden name="ed_text_id_{%i.rownum%}" value="{$i/ed_records.id}">  {if ($related)}
233  <input type=hidden name="ed_del_{%i.rownum%}" value="{$i/ed_records.val}">  <tr><td colspan=4><b>Related:</b>
234  {/section}  <blockquote>
235  <input type=hidden name="ed_order" value="{$ed_order}">  {section name=a loop=$related}
236  </form><br>  <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>
237    {/section}
238    </blockquote>
239    </td></tr>
240    {/if}
241    </table></td></tr>
242    <tr><td align=right valign=bottom width="50%">
243    <input type=reset value="Revert">&nbsp;<input type=submit name=preview value="Preview">&nbsp;<input type=submit name=cancel value="Cancel"></td></tr>
244    </table>
245    {/if}
246    {section name=i loop=$ed_records}
247    <input type=hidden name="ed_text_id_{%i.rownum%}" value="{$i/ed_records.id}">
248    <input type=hidden name="ed_del_{%i.rownum%}" value="{$i/ed_records.val}">
249    {/section}
250    <input type=hidden name="ed_order" value="{$ed_order}">
251    </form><br>

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

  ViewVC Help
Powered by ViewVC 1.1.26