--- templates/edit.tpl 2001/08/03 09:12:42 1.1 +++ templates/edit.tpl 2001/09/03 15:52:16 1.5 @@ -8,7 +8,7 @@ alert(t + ": not yet implemented."); src.blur(); if (!obj) return; - var o = eval('document.forms[0].elements["'+obj+'"]'); + var o = eval("document.forms[0].elements['"+obj+"']"); if (!o) return; o.focus(); // ... @@ -22,7 +22,7 @@
{if ($ed_preview)} -
+
{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 1 || $ed_titlepic_pos == 2 || $ed_titlepic_pos == 3))}

{$ed_titlepic_alt}

{/if} @@ -46,6 +46,7 @@ + {if ($ed_trigger)}{/if} {section name=i loop=$ed_text} @@ -73,20 +74,20 @@ {/section} -{if ($ed_more)}

[ more info ]

{/if} +{if ($ed_more)}

[ {if ($ed_more_title)}{$ed_more_title}{else}više...{/if} ]

{/if}
  
{else} -{if ($ed_empties)}{/if} +{if ($ed_warnings)}{/if} - +
You have some empty paragraphs. For more information, review the notes marked red below.

Click "Preview" below again to preview the article anyway.
Some warnings were generated while processing your article. For more information, review the notes marked red below.

Click "Preview" below again to ignore warnings and preview the article anyway.
- + + + + + + -
Title:
Lead:
Category:
Title picture:{if (! $ed_clr_main)}{$ed_titlepic_alt}
({$ed_titlepic_name}){else}no picture{/if}
Filename: 
Alt:
Title picture position: +
Title picture position: @@ -104,8 +105,15 @@
{if ($ed_warning)}WARNING: +{if ($ed_warning == 2)}You uploaded a title picture, but have not selected its disposition (the Title picture position field).{/if} +{else} {/if}
URL for more info:
URL title:
URL for more info:


Topic text:
{section name=i loop=$ed_text} @@ -132,7 +140,10 @@
{if ($i/ed_text.empty)}WARNING: this paragraph has neither text nor picture.{else} {/if}{if ($i/ed_text.warning)}WARNING: +{if ($i/ed_text.warning == 1)}This paragraph is empty (ie. it has neither text nor picture).{/if} +{if ($i/ed_text.warning == 2)}You uploaded a picture for this paragraph, but have not selected its disposition (the Picture position field).{/if} +{else} {/if}
{if (%i.index% >= %i.loop% - 1)}
{/if} @@ -151,4 +162,5 @@ {/section} +