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) { |
<!-- // begin |
5 |
alert(t + ": not yet implemented."); |
function InsertTags(src, obj, t) { alert(t + ": not yet implemented."); } |
6 |
} |
function Bold(src, obj) { InsertTags(src, obj, "B"); } |
7 |
function Bold(src, obj) { InsertTags(src, obj, "B"); } |
function Italic(src, obj) { InsertTags(src, obj, "I"); } |
8 |
function Italic(src, obj) { InsertTags(src, obj, "I"); } |
function Underline(src, obj) { InsertTags(src, obj, "U"); } |
9 |
function Underline(src, obj) { InsertTags(src, obj, "U"); } |
// end --> |
10 |
// end --> |
</script> |
11 |
</script> |
{/literal} |
12 |
{/literal} |
{/if} |
13 |
|
|
14 |
<form action="{$FORM_ACTION}" method=post enctype="multipart/form-data"> |
<form action="{$FORM_ACTION}" method=post enctype="multipart/form-data"> |
15 |
{if ($ed_preview)} |
{if ($ed_preview)} |
16 |
<table border=1 cellspacing=0 cellpadding=6 width="100%"><tr><td> |
<table border=1 cellspacing=0 cellpadding=6 width="100%"><tr><td> |
17 |
{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 1 || $ed_titlepic_pos == 2 || $ed_titlepic_pos == 3))} |
{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 1 || $ed_titlepic_pos == 2 || $ed_titlepic_pos == 3))} |
18 |
<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> |
<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} |
{/if} |
20 |
{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 4 || $ed_titlepic_pos == 5))} |
{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 4 || $ed_titlepic_pos == 5))} |
21 |
{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 ($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_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_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} |
{/if} |
24 |
{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_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 |
{if ($ed_lead)}<span class="{if ($ed_cat == 't')}topicsubtitle{elseif ($ed_cat == 'w')}newzworldsub{elseif ($ed_cat == 'p')}newzplivasub{else}mainsubtitle{/if}">{$ed_lead}</span><br> {/if} |
{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> {/if} |
26 |
{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 6 || $ed_titlepic_pos == 7 || $ed_titlepic_pos == 8))} |
{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 6 || $ed_titlepic_pos == 7 || $ed_titlepic_pos == 8))} |
27 |
<p align={if ($ed_titlepic_pos == 6)}left{/if}{if ($ed_titlepic_pos == 7)}center{/if}{if ($ed_titlepic_pos == 8)}right{/if}><img src="{$newspicdir}{$ed_titlepic_url}" border=0 alt="{$ed_titlepic_alt}"{if ($ed_titlepic_width)} width={$ed_titlepic_width}{/if}{if ($ed_titlepic_height)} height={$ed_titlepic_height}{/if}></p> |
<p align={if ($ed_titlepic_pos == 6)}left{/if}{if ($ed_titlepic_pos == 7)}center{/if}{if ($ed_titlepic_pos == 8)}right{/if}><img src="{$newspicdir}{$ed_titlepic_url}" border=0 alt="{$ed_titlepic_alt}"{if ($ed_titlepic_width)} width={$ed_titlepic_width}{/if}{if ($ed_titlepic_height)} height={$ed_titlepic_height}{/if}></p> |
28 |
{/if} |
{/if} |
29 |
<br> |
<br> |
30 |
<input type=hidden name="ed_id" value="{$ed_id}"> |
<input type=hidden name="ed_id" value="{$ed_id}"> |
31 |
<input type=hidden name="ed_cat" value="{$ed_cat}"> |
<input type=hidden name="ed_cat" value="{$ed_cat}"> |
32 |
<input type=hidden name="ed_title" value="{$ed_title}"> |
<input type=hidden name="ed_title" value="{$ed_title}"> |
33 |
<input type=hidden name="ed_lead" value="{$ed_lead}"> |
<input type=hidden name="ed_lead" value="{$ed_lead}"> |
34 |
<input type=hidden name="ed_titlepic_pos" value="{$ed_titlepic_pos}"> |
<input type=hidden name="ed_titlepic_pos" value="{$ed_titlepic_pos}"> |
35 |
<input type=hidden name="ed_titlepic_url" value="{$ed_titlepic_url}"> |
<input type=hidden name="ed_titlepic_url" value="{$ed_titlepic_url}"> |
36 |
<input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}"> |
<input type=hidden name="ed_titlepic_url2" value="{$ed_titlepic_url}"> |
37 |
<input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}"> |
<input type=hidden name="ed_titlepic_name" value="{$ed_titlepic_name}"> |
38 |
<input type=hidden name="ed_titlepic_alt" value="{$ed_titlepic_alt}"> |
<input type=hidden name="ed_titlepic_alt" value="{$ed_titlepic_alt}"> |
39 |
{if (! $vijest)} |
<input type=hidden name="ed_prikazi" value="{$ed_prikazi}"> |
40 |
<input type=hidden name="ed_author_url" value="{$ed_author_url}"> |
{if (! $vijest)} |
41 |
<input type=hidden name="ed_author_url2" value="{$ed_author_url}"> |
<input type=hidden name="ed_author_url" value="{$ed_author_url}"> |
42 |
<input type=hidden name="ed_author_name" value="{$ed_author_name}"> |
<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 |
{/if} |
<input type=hidden name="ed_author_alt" value="{$ed_author_alt}"> |
46 |
<input type=hidden name="ed_more" value="{$ed_more}"> |
<input type=hidden name="ed_author_info" value="{$ed_author_info}"> |
47 |
<input type=hidden name="ed_more_title" value="{$ed_more_title}"> |
<input type=hidden name="ed_author_cv" value="{$ed_author_cv}"> |
48 |
<input type=hidden name="ed_clr_main" value="{$ed_clr_main}"> |
{/if} |
49 |
{if ($ed_trigger)}<input type=hidden name="{$ed_trigger}" value="1">{/if} |
{section name=a loop=$related} |
50 |
{section name=i loop=$ed_text} |
<input type=hidden name="ed_related_{%a.rownum%}" value="{$a/related}"> |
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} |
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_more" value="{$ed_more}"> |
53 |
{/if} |
<input type=hidden name="ed_more_title" value="{$ed_more_title}"> |
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_clr_main" value="{$ed_clr_main}"> |
55 |
<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top> |
{if ($ed_trigger)}<input type=hidden name="{$ed_trigger}" value="1">{/if} |
56 |
<p class="ptext"> |
{section name=i loop=$ed_text} |
57 |
{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))} |
{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 |
<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> |
<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 |
{/if} |
{/if} |
60 |
{if ($i/ed_text.hl)}{$i/ed_text.hl}{/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.txt)}{$i/ed_text.txt}{else} {/if} |
<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top> |
62 |
</p> |
<p class="ptext"> |
63 |
</td></tr></table> |
{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))} |
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))} |
<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 |
<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} |
66 |
{/if} |
{if ($i/ed_text.hl2)}{$i/ed_text.hl2}{/if} |
67 |
<input type=hidden name="ed_text_{$i/ed_text.n}" value="{$i/ed_text.txt3}"> |
{if ($i/ed_text.txt)}{$i/ed_text.txt}{else} {/if} |
68 |
<input type=hidden name="ed_hl_{$i/ed_text.n}" value="{$i/ed_text.hl3}"> |
</p> |
69 |
<input type=hidden name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}"> |
</td></tr></table> |
70 |
<input type=hidden name="ed_text_level_{$i/ed_text.n}" value="{$i/ed_text.level}"> |
{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_textpic_url_{$i/ed_text.n}" value="{$i/ed_text.url}"> |
<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_url2_{$i/ed_text.n}" value="{$i/ed_text.url}"> |
{/if} |
73 |
<input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}"> |
<input type=hidden name="ed_text_{$i/ed_text.n}" value="{$i/ed_text.txt3}"> |
74 |
<input type=hidden name="ed_textpic_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}"> |
<input type=hidden name="ed_hl_{$i/ed_text.n}" value="{$i/ed_text.hl3}"> |
75 |
<input type=hidden name="ed_textpic_pos_{$i/ed_text.n}" value="{$i/ed_text.pos}"> |
<input type=hidden name="ed_text_title_{$i/ed_text.n}" value="{$i/ed_text.title}"> |
76 |
<input type=hidden name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}"> |
<input type=hidden name="ed_text_level_{$i/ed_text.n}" value="{$i/ed_text.level}"> |
77 |
<input type=hidden name="ed_textpic_full_{$i/ed_text.n}" value="{$i/ed_text.full2}"> |
<input type=hidden name="ed_textpic_url_{$i/ed_text.n}" value="{$i/ed_text.url}"> |
78 |
<input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}"> |
<input type=hidden name="ed_textpic_url2_{$i/ed_text.n}" value="{$i/ed_text.url}"> |
79 |
{/section} |
<input type=hidden name="ed_textpic_name_{$i/ed_text.n}" value="{$i/ed_text.name}"> |
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_alt_{$i/ed_text.n}" value="{$i/ed_text.alt}"> |
81 |
{if (! $vijest)}{$AUTHOR}{/if} |
<input type=hidden name="ed_textpic_pos_{$i/ed_text.n}" value="{$i/ed_text.pos}"> |
82 |
</td></tr> |
<input type=hidden name="ed_textpic_exp_{$i/ed_text.n}" value="{$i/ed_text.exp}"> |
83 |
<tr bgcolor="#E0E0E0"><td align=right><input type=submit name="ed_edit" value="Re-edit"> <input type=submit name=save value="Save"{if ($ed_empty)} disabled{/if}> <input type=submit name=cancel value="Cancel"></td></tr> |
<input type=hidden name="ed_textpic_full_{$i/ed_text.n}" value="{$i/ed_text.full}"> |
84 |
</table> |
<input type=hidden name="ed_textpic_full2_{$i/ed_text.n}" value="{$i/ed_text.full}"> |
85 |
{if ($med)} |
<input type=hidden name="ed_textpic_fname_{$i/ed_text.n}" value="{$i/ed_text.fname}"> |
86 |
{section name=i loop=$specs} |
<input type=hidden name="ed_clr_{$i/ed_text.n}" value="{$i/ed_text.clr}"> |
87 |
<input type=hidden name="ed_spec_{$i/specs.id}" value="{$i/specs.check}"> |
<input type=hidden name="ed_fclr_{$i/ed_text.n}" value="{$i/ed_text.fclr}"> |
88 |
{/section} |
{/section} |
89 |
{else} |
{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=$categories} |
{if ($AUTHOR && ! $vijest)}<br>{$AUTHOR}{/if} |
91 |
<input type=hidden name="ed_cat_{$i/categories.id}" value="{$i/categories.check}"> |
</td></tr> |
92 |
{/section} |
<tr bgcolor="#E0E0E0"><td align=right><input type=submit name="ed_edit" value="Re-edit"> <input type=submit name=save value="Save"{if ($ed_empty)} disabled{/if}> <input type=submit name=cancel value="Cancel"></td></tr> |
93 |
{/if} |
</table> |
94 |
{else} |
{if ($med)} |
95 |
<table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0"> |
{section name=i loop=$specs} |
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 "<i>Preview</i>" below again to ignore warnings and preview the article anyway.</span></td></tr>{/if} |
<input type=hidden name="ed_spec_{$i/specs.id}" value="{$i/specs.check}"> |
97 |
<tr><td> |
{/section} |
98 |
<table border=0 cellspacing=0 cellpadding=3 width="100%"> |
{else} |
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 name=i loop=$categories} |
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> |
<input type=hidden name="ed_cat_{$i/categories.id}" value="{$i/categories.check}"> |
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} |
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"> <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> |
{/if} |
103 |
<tr><td align=right valign=top><b>Title picture position:</b></td><td> |
{else} |
104 |
<table border=0 cellspacing=0 cellpadding=0> |
<table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0"> |
105 |
<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 "<i>Preview</i>" below again to ignore warnings and preview the article anyway.</span></td></tr>{/if} |
106 |
<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> |
107 |
<td><input type=radio class="small" name="ed_titlepic_pos" value=2 title="Upper center"{if ($ed_titlepic_pos == 2)} checked{/if}></td> |
<table border=0 cellspacing=0 cellpadding=3 width="100%"> |
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 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 |
<tr> |
<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=4 title="Inline left"{if ($ed_titlepic_pos == 4)} 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"> <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=0 title="No picture"{if (!$ed_titlepic_pos)} checked{/if}></td> |
<tr><td align=right valign=top><b>Title picture position:</b></td><td> |
113 |
<td><input type=radio class="small" name="ed_titlepic_pos" value=5 title="Inline right"{if ($ed_titlepic_pos == 5)} checked{/if}></td> |
<table border=0 cellspacing=0 cellpadding=0> |
114 |
</tr> |
<tr> |
115 |
<tr> |
<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=6 title="Lower left"{if ($ed_titlepic_pos == 6)} 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=7 title="Lower center"{if ($ed_titlepic_pos == 7)} 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 |
<td><input type=radio class="small" name="ed_titlepic_pos" value=8 title="Lower right"{if ($ed_titlepic_pos == 8)} checked{/if}></td> |
</tr> |
119 |
</tr> |
<tr> |
120 |
</table></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 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=0 title="No picture"{if (!$ed_titlepic_pos)} checked{/if}></td> |
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=5 title="Inline right"{if ($ed_titlepic_pos == 5)} checked{/if}></td> |
123 |
</span><input type=hidden name="ed_title_force" value=1>{else} {/if}</td> |
</tr> |
124 |
</tr> |
<tr> |
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> |
<td><input type=radio class="small" name="ed_titlepic_pos" value=6 title="Lower left"{if ($ed_titlepic_pos == 6)} checked{/if}></td> |
126 |
</tr> |
<td><input type=radio class="small" name="ed_titlepic_pos" value=7 title="Lower center"{if ($ed_titlepic_pos == 7)} checked{/if}></td> |
127 |
<tr> |
<td><input type=radio class="small" name="ed_titlepic_pos" value=8 title="Lower right"{if ($ed_titlepic_pos == 8)} 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> |
</tr> |
129 |
</tr> |
</table></td> |
130 |
<tr><td align=left colspan=4><br><br><b>Topic text:</b> |
<td colspan=2 align=right valign=bottom>{if ($ed_warning)}<span class="warning"><i>WARNING:</i> |
131 |
<dl><dd> |
{if ($ed_warning == 2)}You uploaded a title picture, but have not selected its disposition (the <i>Title picture position</i> field).{/if} |
132 |
{section name=i loop=$ed_text} |
</span><input type=hidden name="ed_title_force" value=1>{else} {/if}</td> |
133 |
<hr width="100%" size=2> |
</tr> |
134 |
<table border=0 cellspacing=0 cellpadding=4 width="90%"> |
<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 |
<tr><td align=left valign=top width="50%" colspan=2><b><i>Paragraph {%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> |
136 |
<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> |
<tr> |
137 |
<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> |
<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 |
<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> |
139 |
<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> <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> |
<tr> |
140 |
<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> |
<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 |
<tr><td align=right>Paragraph picture position:</td><td><table border=0 cellspacing=0 cellpadding=0> |
</tr> |
142 |
<tr> |
<tr><td align=left colspan=4><br><br><b>Topic text:</b> |
143 |
<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> |
<dl><dd> |
144 |
<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> |
{section name=i loop=$ed_text} |
145 |
<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> |
<hr width="100%" size=2> |
146 |
</tr> |
<table border=0 cellspacing=0 cellpadding=4 width="90%"> |
147 |
<tr> |
<tr><td align=left valign=top width="50%" colspan=2><b><i>Paragraph {%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 |
<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=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 |
<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>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=5 title="Inline right"{if ($i/ed_text.pos == 5)} 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 |
</tr> |
<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> <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 |
<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> |
153 |
<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><td align=right>Paragraph picture position:</td><td><table border=0 cellspacing=0 cellpadding=0> |
154 |
<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> |
<tr> |
155 |
<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=1 title="Upper left"{if ($i/ed_text.pos == 1)} checked{/if}></td> |
156 |
</tr> |
<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 |
</table></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 |
<td colspan=2 align=right valign=bottom>{if ($i/ed_text.warning)}<span class="warning"><i>WARNING:</i> |
</tr> |
159 |
{if ($i/ed_text.warning == 1)}This paragraph is empty (ie. it has neither text nor picture).{/if} |
<tr> |
160 |
{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=4 title="Inline left"{if ($i/ed_text.pos == 4)} checked{/if}></td> |
161 |
</span><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else} {/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 |
</tr> |
<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 |
</table> |
</tr> |
164 |
{if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if} |
<tr> |
165 |
{sectionelse} |
<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 |
<i>No paragraphs.</i> |
<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 |
{/section} |
<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 |
</dd></dl> |
</tr> |
169 |
</td></tr> |
</table></td> |
170 |
<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) <br> </td></tr> |
<td colspan=2 align=right valign=bottom>{if ($i/ed_text.warning)}<span class="warning"><i>WARNING:</i> |
171 |
{if ($med)} |
{if ($i/ed_text.warning == 1)}This paragraph is empty (ie. it has neither text nor picture).{/if} |
172 |
<tr><td colspan=4 align=left><b>Specialisations:</b><br> |
{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 |
<dl><dd> |
</span><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else} {/if}</td> |
174 |
{if ($specs)} |
</tr> |
175 |
<table border=0 cellspacing=0 cellpadding=0 width="100%"> |
<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> <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 |
<tr><td> |
</table> |
177 |
{section name=i loop=$specs} |
{if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if} |
178 |
<input type=checkbox name="ed_spec_{$i/specs.id}" value="1" id="_spec_{%i.rownum%}"{if ($i/specs.check)} checked{/if}> <label for="_spec_{%i.rownum%}">{$i/specs.txt}</label><br> |
{sectionelse} |
179 |
{/section} |
<i>No paragraphs.</i> |
180 |
</td></tr> |
{/section} |
181 |
</table> |
</dd></dl> |
182 |
{else} |
</td></tr> |
183 |
<i>No specialisations.</i> |
<tr><td align=right colspan=4 class="small"><input type=submit name=add value="Append" class="bsmall"> <select name="add_num" class="small"> |
184 |
{/if} |
{section name=w loop=20}<option value={%w.rownum%}>{%w.rownum%}</option>{/section} |
185 |
</dd></dl> |
</select> new paragraph(s) <br> </td></tr> |
186 |
</td></tr> |
{if ($med)} |
187 |
{else} |
<tr><td colspan=4 align=left><b>Specialisations:</b><br> |
188 |
<tr><td colspan=4 align=left><b>Categories:</b><br> |
<dl><dd> |
189 |
<dl><dd> |
<table border=0 cellspacing=0 cellpadding=0 width="100%"> |
190 |
{if ($categories)} |
<tr><td> |
191 |
<table border=0 cellspacing=0 cellpadding=0 width="100%"> |
{section name=i loop=$specs} |
192 |
<tr><td> |
<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}> <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 |
{section name=i loop=$categories} |
{/section} |
194 |
<input type=checkbox name="ed_cat_{$i/categories.id}" value="1" id="_cat_{%i.rownum%}"{if ($i/categories.check)} checked{/if}> <label for="_cat_{%i.rownum%}">{$i/categories.txt}</label><br> |
</td></tr> |
195 |
{/section} |
</table> |
196 |
</td></tr> |
</dd></dl> |
197 |
</table> |
</td></tr> |
198 |
{else} |
{else} |
199 |
<i>No categories.</i> |
<tr><td colspan=4 align=left><b>Categories:</b><br> |
200 |
{/if} |
<dl><dd> |
201 |
</dd></dl> |
{if ($categories)} |
202 |
</td></tr> |
<table border=0 cellspacing=0 cellpadding=0 width="100%"> |
203 |
|
<tr><td> |
204 |
{/if} |
{section name=i loop=$categories} |
205 |
{if (! $vijest)} |
<input type=checkbox name="ed_cat_{$i/categories.id}" value="1" id="_cat_{%i.rownum%}"{if ($i/categories.check)} checked{/if}> <label for="_cat_{%i.rownum%}">{$i/categories.txt}</label><br> |
206 |
<tr><td colspan=4 align=left><b>Author:</b><br> |
{/section} |
207 |
<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr> |
</td></tr> |
208 |
<td valign=top> |
</table> |
209 |
{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> |
{else} |
210 |
<b>Picture:</b> <input type=file onfocus="this.select();" name="ed_author_url" size=10 class="small"> <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> |
<i>No categories.</i> |
211 |
<b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}"> |
{/if} |
212 |
</td> |
</dd></dl> |
213 |
<td align=left valign=top width="50%"><b>Info:</b><br><textarea name="ed_author_info" cols=50 rows=6 wrap=virtual style="width:100%;">{$ed_author_info}</textarea></td> |
</td></tr> |
214 |
</tr></table> |
{/if} |
215 |
</td></tr> |
{if (! $vijest)} |
216 |
{/if} |
<tr><td colspan=4 align=left><b>Author:</b><br> |
217 |
</table></td></tr> |
<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr> |
218 |
<tr><td align=right valign=bottom width="50%"> |
<td valign=top> |
219 |
<input type=reset value="Revert"> <input type=submit name=preview value="Preview"> <input type=submit name=cancel value="Cancel"></td></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 |
</table> |
<b>Picture:</b> <input type=file onfocus="this.select();" name="ed_author_url" size=10 class="small"> <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 |
{/if} |
<b>Alt:</b> <input type=text onfocus="this.select();" class="small" size=15 name="ed_author_alt" value="{$ed_author_alt}"> |
222 |
{section name=i loop=$ed_records} |
</td> |
223 |
<input type=hidden name="ed_text_id_{%i.rownum%}" value="{$i/ed_records.id}"> |
<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 |
<input type=hidden name="ed_del_{%i.rownum%}" value="{$i/ed_records.val}"> |
</tr> |
225 |
{/section} |
<tr> |
226 |
<input type=hidden name="ed_order" value="{$ed_order}"> |
<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}> </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 |
</form> |
<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 |
|
</tr> |
229 |
|
</table> |
230 |
|
</td></tr> |
231 |
|
{/if} |
232 |
|
{if ($related)} |
233 |
|
<tr><td colspan=4><b>Related:</b> |
234 |
|
<blockquote> |
235 |
|
{section name=a loop=$related} |
236 |
|
<select name="ed_related_{%a.rownum%}" class="small"><option value=0> </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"> <input type=submit name=preview value="Preview"> <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> |