/[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.14 by ravilov, Fri Oct 12 09:22:02 2001 UTC revision 1.18 by ravilov, Sat Oct 27 16:54:50 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}">  {if ($AUTHOR && (! $ismed && $ed_exclusive) && ! $vijest)}{$AUTHOR}<br>{/if}
31  <input type=hidden name="ed_lead" value="{$ed_lead}">  <input type=hidden name="ed_id" value="{$ed_id}">
32  <input type=hidden name="ed_titlepic_pos" value="{$ed_titlepic_pos}">  <input type=hidden name="ed_cat" value="{$ed_cat}">
33  <input type=hidden name="ed_titlepic_url" value="{$ed_titlepic_url}">  <input type=hidden name="ed_title" value="{$ed_title}">
34  <input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}">  <input type=hidden name="ed_lead" value="{$ed_lead}">
35  <input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}">  <input type=hidden name="ed_titlepic_pos" value="{$ed_titlepic_pos}">
36  <input type=hidden name="ed_titlepic_alt" value="{$ed_titlepic_alt}">  <input type=hidden name="ed_titlepic_url" value="{$ed_titlepic_url}">
37  <input type=hidden name="ed_prikazi" value="{$ed_prikazi}">  <input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}">
38  {if (! $vijest)}  <input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}">
39  <input type=hidden name="ed_author_url" value="{$ed_author_url}">  <input type=hidden name="ed_titlepic_alt" value="{$ed_titlepic_alt}">
40  <input type=hidden name="ed_author_url2" value="{$ed_author_url}">  <input type=hidden name="ed_prikazi" value="{$ed_prikazi}">
41  <input type=hidden name="ed_author_name" value="{$ed_author_name}">  {if (! $vijest)}
42  <input type=hidden name="ed_author_ime" value="{$ed_author_ime}">  <input type=hidden name="ed_author_url" value="{$ed_author_url}">
43  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">  <input type=hidden name="ed_author_url2" value="{$ed_author_url}">
44  <input type=hidden name="ed_author_info" value="{$ed_author_info}">  <input type=hidden name="ed_author_name" value="{$ed_author_name}">
45  {/if}  <input type=hidden name="ed_author_ime" value="{$ed_author_ime}">
46  <input type=hidden name="ed_more" value="{$ed_more}">  <input type=hidden name="ed_author_alt" value="{$ed_author_alt}">
47  <input type=hidden name="ed_more_title" value="{$ed_more_title}">  <input type=hidden name="ed_author_info" value="{$ed_author_info}">
48  <input type=hidden name="ed_clr_main" value="{$ed_clr_main}">  <input type=hidden name="ed_author_cv" value="{$ed_author_cv}">
49  {if ($ed_trigger)}<input type=hidden name="{$ed_trigger}" value="1">{/if}  <input type=hidden name="ed_exclusive" value="{$ed_exclusive}">
50  {section name=i loop=$ed_text}  {/if}
51  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 1 || $i/ed_text.pos == 2 || $i/ed_text.pos == 3))}  {section name=a loop=$related}
52    <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)}{$i/ed_text.full}{/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_related_{%a.rownum%}" value="{$a/related}">
53  {/if}  {/section}
54  <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>  <input type=hidden name="ed_more" value="{$ed_more}">
55  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>  <input type=hidden name="ed_more_title" value="{$ed_more_title}">
56  <p class="ptext">  <input type=hidden name="ed_clr_main" value="{$ed_clr_main}">
57  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))}  {if ($ed_trigger)}<input type=hidden name="{$ed_trigger}" value="1">{/if}
58    <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)}{$i/ed_text.full}{/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>  {section name=i loop=$ed_text}
59  {/if}  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 1 || $i/ed_text.pos == 2 || $i/ed_text.pos == 3))}
60  {if ($i/ed_text.hl)}{$i/ed_text.hl}{/if}    <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>
61  {if ($i/ed_text.txt)}{$i/ed_text.txt}{else}&nbsp;{/if}  {/if}
62  </p>  <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>
63  </td></tr></table>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
64  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 6 || $i/ed_text.pos == 7 || $i/ed_text.pos == 8))}  <p class="ptext">
65    <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)}{$i/ed_text.full}{/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.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))}
66  {/if}    <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>
67  <input type=hidden name="ed_text_{$i/ed_text.n}" value="{$i/ed_text.txt3}">  {/if}
68  <input type=hidden name="ed_hl_{$i/ed_text.n}" value="{$i/ed_text.hl3}">  {if ($i/ed_text.hl2)}{$i/ed_text.hl2}{/if}
69  <input type=hidden name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}">  {if ($i/ed_text.txt)}{$i/ed_text.txt}{else}&nbsp;{/if}
70  <input type=hidden name="ed_text_level_{$i/ed_text.n}" value="{$i/ed_text.level}">  </p>
71  <input type=hidden name="ed_textpic_url_{$i/ed_text.n}" value="{$i/ed_text.url}">  </td></tr></table>
72  <input type=hidden name="ed_textpic_url2_{$i/ed_text.n}" value="{$i/ed_text.url}">  {if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 6 || $i/ed_text.pos == 7 || $i/ed_text.pos == 8))}
73  <input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}">    <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>
74  <input type=hidden name="ed_textpic_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}">  {/if}
75  <input type=hidden name="ed_textpic_pos_{$i/ed_text.n}" value="{$i/ed_text.pos}">  <input type=hidden name="ed_text_{$i/ed_text.n}" value="{$i/ed_text.txt3}">
76  <input type=hidden name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}">  <input type=hidden name="ed_hl_{$i/ed_text.n}" value="{$i/ed_text.hl3}">
77  <input type=hidden name="ed_textpic_full_{$i/ed_text.n}" value="{$i/ed_text.full2}">  <input type=hidden name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}">
78  <input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}">  <input type=hidden name="ed_text_level_{$i/ed_text.n}" value="{$i/ed_text.level}">
79  {/section}  <input type=hidden name="ed_textpic_url_{$i/ed_text.n}" value="{$i/ed_text.url}">
80  {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}  <input type=hidden name="ed_textpic_url2_{$i/ed_text.n}" value="{$i/ed_text.url}">
81  {if ($AUTHOR && ! $vijest)}<br>{$AUTHOR}{/if}  <input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}">
82  </td></tr>  <input type=hidden name="ed_textpic_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}">
83  <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_textpic_pos_{$i/ed_text.n}" value="{$i/ed_text.pos}">
84  </table>  <input type=hidden name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}">
85  {if ($med)}  <input type=hidden name="ed_textpic_full_{$i/ed_text.n}" value="{$i/ed_text.full}">
86  {section name=i loop=$specs}  <input type=hidden name="ed_textpic_full2_{$i/ed_text.n}" value="{$i/ed_text.full}">
87  <input type=hidden name="ed_spec_{$i/specs.id}" value="{$i/specs.check}">  <input type=hidden name="ed_textpic_fname_{$i/ed_text.n}" value="{$i/ed_text.fname}">
88  {/section}  <input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}">
89  {else}  <input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}">
90  {section name=i loop=$categories}  {/section}
91  <input type=hidden name="ed_cat_{$i/categories.id}" value="{$i/categories.check}">  {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  {/section}  {if ($AUTHOR && ($ismed || ! $ed_exclusive) && ! $vijest)}<br>{$AUTHOR}{/if}
93  {/if}  </td></tr>
94  {else}  <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 border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0">  </table>
96  {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}  {if ($med)}
97  <tr><td>  {section name=i loop=$specs}
98  <table border=0 cellspacing=0 cellpadding=3 width="100%">  <input type=hidden name="ed_spec_{$i/specs.id}" value="{$i/specs.check}">
99  <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>  {/section}
100  <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>  {else}
101  <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>  {section name=i loop=$categories}
102  <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>  <input type=hidden name="ed_cat_{$i/categories.id}" value="{$i/categories.check}">
103  <tr><td align=right valign=top><b>Title picture position:</b></td><td>  {/section}
104  <table border=0 cellspacing=0 cellpadding=0>  {/if}
105  <tr>  {else}
106  <td><input type=radio class="small" name="ed_titlepic_pos" value=1 title="Upper left"{if ($ed_titlepic_pos == 1)} checked{/if}></td>  <table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0">
107  <td><input type=radio class="small" name="ed_titlepic_pos" value=2 title="Upper center"{if ($ed_titlepic_pos == 2)} checked{/if}></td>  {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}
108  <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>
109  </tr>  <table border=0 cellspacing=0 cellpadding=3 width="100%">
110  <tr>  <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>
111  <td><input type=radio class="small" name="ed_titlepic_pos" value=4 title="Inline left"{if ($ed_titlepic_pos == 4)} checked{/if}></td>  <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>
112  <td><input type=radio class="small" name="ed_titlepic_pos" value=0 title="No picture"{if (!$ed_titlepic_pos)} 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>
113  <td><input type=radio class="small" name="ed_titlepic_pos" value=5 title="Inline right"{if ($ed_titlepic_pos == 5)} 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>
114  </tr>  <tr><td align=right valign=top><b>Title picture position:</b></td><td>
115  <tr>  <table border=0 cellspacing=0 cellpadding=0>
116  <td><input type=radio class="small" name="ed_titlepic_pos" value=6 title="Lower left"{if ($ed_titlepic_pos == 6)} checked{/if}></td>  <tr>
117  <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=1 title="Upper left"{if ($ed_titlepic_pos == 1)} checked{/if}></td>
118  <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=2 title="Upper center"{if ($ed_titlepic_pos == 2)} checked{/if}></td>
119  </tr>  <td><input type=radio class="small" name="ed_titlepic_pos" value=3 title="Upper right"{if ($ed_titlepic_pos == 3)} checked{/if}></td>
120  </table></td>  </tr>
121  <td colspan=2 align=right valign=bottom>{if ($ed_warning)}<span class="warning"><i>WARNING:</i>  <tr>
122  {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=4 title="Inline left"{if ($ed_titlepic_pos == 4)} checked{/if}></td>
123  </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=0 title="No picture"{if (!$ed_titlepic_pos)} checked{/if}></td>
124  </tr>  <td><input type=radio class="small" name="ed_titlepic_pos" value=5 title="Inline right"{if ($ed_titlepic_pos == 5)} checked{/if}></td>
125  <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>  </tr>
126  </tr>  <tr>
127  <tr>  <td><input type=radio class="small" name="ed_titlepic_pos" value=6 title="Lower left"{if ($ed_titlepic_pos == 6)} checked{/if}></td>
128  <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>  <td><input type=radio class="small" name="ed_titlepic_pos" value=7 title="Lower center"{if ($ed_titlepic_pos == 7)} checked{/if}></td>
129  </tr>  <td><input type=radio class="small" name="ed_titlepic_pos" value=8 title="Lower right"{if ($ed_titlepic_pos == 8)} checked{/if}></td>
130  <tr>  </tr>
131  <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>  </table></td>
132  </tr>  <td colspan=2 align=right valign=bottom>{if ($ed_warning)}<span class="warning"><i>WARNING:</i>
133  <tr><td align=left colspan=4><br><br><b>Topic text:</b>  {if ($ed_warning == 2)}You uploaded a title picture, but have not selected its disposition (the <i>Title picture position</i> field).{/if}
134  <dl><dd>  </span><input type=hidden name="ed_title_force" value=1>{else}&nbsp;{/if}</td>
135  {section name=i loop=$ed_text}  </tr>
136  <hr width="100%" size=2>  <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>
137  <table border=0 cellspacing=0 cellpadding=4 width="90%">  </tr>
138  <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>
139  <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>  <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>
140  <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>  </tr>
141  <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>  <tr>
142  <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>  <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>
143  <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>
144  <tr><td align=right>Paragraph picture position:</td><td><table border=0 cellspacing=0 cellpadding=0>  <tr><td align=left colspan=4><br><br><b>Topic text:</b>
145  <tr>  <dl><dd>
146  <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>  {section name=i loop=$ed_text}
147  <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>  <hr width="100%" size=2>
148  <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>  <table border=0 cellspacing=0 cellpadding=4 width="90%">
149  </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>
150  <tr>  <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>
151  <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>  <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>
152  <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>  <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>
153  <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>  <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>
154  </tr>  <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>
155  <tr>  <tr><td align=right>Paragraph picture position:</td><td><table border=0 cellspacing=0 cellpadding=0>
156  <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>  <tr>
157  <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=1 title="Upper left"{if ($i/ed_text.pos == 1)} checked{/if}></td>
158  <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=2 title="Upper center"{if ($i/ed_text.pos == 2)} checked{/if}></td>
159  </tr>  <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>
160  </table></td>  </tr>
161  <td colspan=2 align=right valign=bottom>{if ($i/ed_text.warning)}<span class="warning"><i>WARNING:</i>  <tr>
162  {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=4 title="Inline left"{if ($i/ed_text.pos == 4)} checked{/if}></td>
163  {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=0 title="No picture"{if (! $i/ed_text.pos)} checked{/if}></td>
164  </span><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else}&nbsp;{/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>
165  </tr>  </tr>
166  </table>  <tr>
167  {if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if}  <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>
168  {sectionelse}  <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>
169  <i>No paragraphs.</i>  <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>
170  {/section}  </tr>
171  </dd></dl>  </table></td>
172  </td></tr>  <td colspan=2 align=right valign=bottom>{if ($i/ed_text.warning)}<span class="warning"><i>WARNING:</i>
173  <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>  {if ($i/ed_text.warning == 1)}This paragraph is empty (ie. it has neither text nor picture).{/if}
174  {if ($med)}  {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}
175  <tr><td colspan=4 align=left><b>Specialisations:</b><br>  </span><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else}&nbsp;{/if}</td>
176  <dl><dd>  </tr>
177  {if ($specs)}  <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>
178  <table border=0 cellspacing=0 cellpadding=0 width="100%">  </table>
179  <tr><td>  {if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if}
180  {section name=i loop=$specs}  {sectionelse}
181  <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>  <i>No paragraphs.</i>
182  {/section}  {/section}
183  </td></tr>  </dd></dl>
184  </table>  </td></tr>
185  {else}  <tr><td align=right colspan=4 class="small"><input type=submit name=add value="Append" class="bsmall"> <select name="add_num" class="small">
186  <i>No specialisations.</i>  {section name=w loop=20}<option value={%w.rownum%}>{%w.rownum%}</option>{/section}
187  {/if}  </select> new paragraph(s)&nbsp;<br>&nbsp;</td></tr>
188  </dd></dl>  {if ($med)}
189  </td></tr>  <tr><td colspan=4 align=left><b>Specialisations:</b><br>
190  {else}  <dl><dd>
191  <tr><td colspan=4 align=left><b>Categories:</b><br>  <table border=0 cellspacing=0 cellpadding=0 width="100%">
192  <dl><dd>  <tr><td>
193  {if ($categories)}  {section name=i loop=$specs}
194  <table border=0 cellspacing=0 cellpadding=0 width="100%">  <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>
195  <tr><td>  {/section}
196  {section name=i loop=$categories}  </td></tr>
197  <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>  </table>
198  {/section}  </dd></dl>
199  </td></tr>  </td></tr>
200  </table>  {else}
201  {else}  <tr><td colspan=4 align=left><b>Categories:</b><br>
202  <i>No categories.</i>  <dl><dd>
203  {/if}  {if ($categories)}
204  </dd></dl>  <table border=0 cellspacing=0 cellpadding=0 width="100%">
205  </td></tr>  <tr><td>
206    {section name=i loop=$categories}
207  {/if}  <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>
208  {if (! $vijest)}  {/section}
209  <tr><td colspan=4 align=left><b>Author:</b><br>  </td></tr>
210  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>  </table>
211  <td valign=top rowspan=2>  {else}
212  {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>  <i>No categories.</i>
213  <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}
214  <b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}">  </dd></dl>
215  </td>  </td></tr>
216  <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>  {/if}
217  </tr>  {if (! $vijest)}
218  <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><td colspan=4 align=left><b>Author:</b><br>
219  </table>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
220  </td></tr>  <td valign=top width="50%" colspan=2>
221  {/if}  {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  </table></td></tr>  <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  <tr><td align=right valign=bottom width="50%">  <b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}">
224  <input type=reset value="Revert">&nbsp;<input type=submit name=preview value="Preview">&nbsp;<input type=submit name=cancel value="Cancel"></td></tr>  </td>
225  </table>  <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  {/if}  </tr>
227  {section name=i loop=$ed_records}  <tr>
228  <input type=hidden name="ed_text_id_{%i.rownum%}" value="{$i/ed_records.id}">  <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  <input type=hidden name="ed_del_{%i.rownum%}" value="{$i/ed_records.val}">  <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  {/section}  <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  <input type=hidden name="ed_order" value="{$ed_order}">  </tr>
232  </form><br>  </table>
233    </td></tr>
234    {/if}
235    {if ($related)}
236    <tr><td colspan=4><br><b>Related:</b>
237    <blockquote>
238    {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>
240    {/section}
241    </blockquote>
242    </td></tr>
243    {/if}
244    </table></td></tr>
245    <tr><td align=right valign=bottom width="50%">
246    <input type=reset value="Revert">&nbsp;<input type=submit name=preview value="Preview">&nbsp;<input type=submit name=cancel value="Cancel"></td></tr>
247    </table>
248    {/if}
249    {section name=i loop=$ed_records}
250    <input type=hidden name="ed_text_id_{%i.rownum%}" value="{$i/ed_records.id}">
251    <input type=hidden name="ed_del_{%i.rownum%}" value="{$i/ed_records.val}">
252    {/section}
253    <input type=hidden name="ed_order" value="{$ed_order}">
254    </form><br>

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

  ViewVC Help
Powered by ViewVC 1.1.26