--- templates/edit.tpl 2001/08/03 09:12:42 1.1.1.1 +++ templates/edit.tpl 2001/10/27 16:54:50 1.18 @@ -1,154 +1,254 @@ -{literal} - -{/literal} - -
-{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} -{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 4 || $ed_titlepic_pos == 5))} - {if ($ed_titlepic_pos == 4)}{$ed_titlepic_alt}{/if} - {if ($ed_titlepic_pos == 5)}{$ed_titlepic_alt}{/if} -{/if} -{if ($ed_title)}{$ed_title}
{/if} -{if ($ed_lead)}{$ed_lead}
 {/if} -{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 6 || $ed_titlepic_pos == 7 || $ed_titlepic_pos == 8))} -

{$ed_titlepic_alt}

-{/if} -
- - - - - - - - - - - -{if ($ed_trigger)}{/if} -{section name=i loop=$ed_text} -{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 1 || $i/ed_text.pos == 2 || $i/ed_text.pos == 3))} -

{$i/ed_text.alt}

-{/if} -

{if ($i/ed_text.class)}{/if}{$i/ed_text.title}{if ($i/ed_text.class)}{/if}

-

-{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))} - {if ($i/ed_text.pos == 4)}{$i/ed_text.alt}{/if} - {if ($i/ed_text.pos == 5)}{$i/ed_text.alt}{/if} -{/if} -{if ($i/ed_text.txt)}{$i/ed_text.txt}{else} {/if} -

-{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 6 || $i/ed_text.pos == 7 || $i/ed_text.pos == 8))} -

{$i/ed_text.alt}

-{/if} - - - - - - - - - -{/section} -{if ($ed_more)}

[ more info ]

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

Click "Preview" below again to 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: - - - - - - - - - - - - - - - - -
URL for more info:


Topic text: -
-{section name=i loop=$ed_text} -
- - - - - - - - -
Paragraph {%i.rownum%}:
Level:Title:
Text:
Paragraph picture:{if (! $i/ed_text.clr)}{$i/ed_text.alt}
({$i/ed_text.name}){else}no picture{/if}
Filename: 
Alt:
Paragraph picture position: - - - - - - - - - - - - - - - -
{if ($i/ed_text.empty)}WARNING: this paragraph has neither text nor picture.{else} {/if}
-{if (%i.index% >= %i.loop% - 1)}
{/if} -{sectionelse} -No paragraphs. -{/section} -
-
new paragraph(s) 
 
-  
-{/if} -{section name=i loop=$ed_records} - - -{/section} -
+{if (! $ed_preview)} +{literal} + +{/literal} +{/if} + +
+{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} +{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 4 || $ed_titlepic_pos == 5))} + {if ($ed_titlepic_pos == 4)}{$ed_titlepic_alt}{/if} + {if ($ed_titlepic_pos == 5)}{$ed_titlepic_alt}{/if} +{/if} +{if ($ed_title)}{$ed_title}
{/if} +{if ($ed_lead2)}{if ($ed_text)}{/if}{$ed_lead2}{if ($ed_text)}{/if}
 {/if} +{if (! $ed_clr_main && $ed_titlepic_url && ($ed_titlepic_pos == 6 || $ed_titlepic_pos == 7 || $ed_titlepic_pos == 8))} +

{$ed_titlepic_alt}

+{/if} +
+{if ($AUTHOR && (! $ismed && $ed_exclusive) && ! $vijest)}{$AUTHOR}
{/if} + + + + + + + + + + +{if (! $vijest)} + + + + + + + + +{/if} +{section name=a loop=$related} + +{/section} + + + +{if ($ed_trigger)}{/if} +{section name=i loop=$ed_text} +{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 1 || $i/ed_text.pos == 2 || $i/ed_text.pos == 3))} +

{if ($i/ed_text.exp)}{/if}
{if ($i/ed_text.full)}{/if}{$i/ed_text.alt}{if ($i/ed_text.full)}{/if}
{$i/ed_text.exp}

+{/if} +

{if ($i/ed_text.class)}{/if}{$i/ed_text.title}{if ($i/ed_text.class)}{/if}

+
+

+{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 4 || $i/ed_text.pos == 5))} + {if ($i/ed_text.exp)}{/if}
{if ($i/ed_text.full)}{/if}{$i/ed_text.alt}{if ($i/ed_text.full)}{/if}
{$i/ed_text.exp}
+{/if} +{if ($i/ed_text.hl2)}{$i/ed_text.hl2}{/if} +{if ($i/ed_text.txt)}{$i/ed_text.txt}{else} {/if} +

+
+{if (! $i/ed_text.clr && $i/ed_text.url && ($i/ed_text.pos == 6 || $i/ed_text.pos == 7 || $i/ed_text.pos == 8))} +

{if ($i/ed_text.exp)}{/if}
{if ($i/ed_text.full)}{/if}{$i/ed_text.alt}{if ($i/ed_text.full)}{/if}
{$i/ed_text.exp}

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

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

{/if} +{if ($AUTHOR && ($ismed || ! $ed_exclusive) && ! $vijest)}
{$AUTHOR}{/if} +
  
+{if ($med)} +{section name=i loop=$specs} + +{/section} +{else} +{section name=i loop=$categories} + +{/section} +{/if} +{else} + +{if ($ed_warnings)}{/if} + + +
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.
+ + + + + + + + + + + + + + + + + + +{if ($med)} + +{else} + +{/if} +{if (! $vijest)} + +{/if} +{if ($related)} + +{/if} +
Title:
Lead:
Category:
Title picture:{if (! $ed_clr_main)}{$ed_titlepic_alt}
({$ed_titlepic_name}){else}no picture{/if}
Filename: 
Alt:
Title picture position: + + + + + + + + + + + + + + + + +
{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:


Topic text: +
+{section name=i loop=$ed_text} +
+ + + + + + + + + + + +
Paragraph {%i.rownum%}:
Level:Title:
Text:
Highlights:
Paragraph picture:{if (! $i/ed_text.clr)}{$i/ed_text.alt}
({$i/ed_text.name}){else}no picture{/if}
Filename: 
Alt:
Paragraph picture explanation:
Paragraph picture position: + + + + + + + + + + + + + + + +
{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}
Paragraph full picture:{if (! $i/ed_text.fclr)}
({$i/ed_text.fname}){else}no picture{/if}
Filename: 
+{if (%i.index% >= %i.loop% - 1)}
{/if} +{sectionelse} +No paragraphs. +{/section} +
+
new paragraph(s) 
 
Specialisations:
+
+ + +
+{section name=i loop=$specs} + 
+{/section} +
+
+
Categories:
+
+{if ($categories)} + + +
+{section name=i loop=$categories} + 
+{/section} +
+{else} +No categories. +{/if} +
+
Author:
+ + + + + + + + + +
+{if (! $ed_clr_author)}{$ed_author_alt}
({$ed_author_name}){else}no picture{/if}

+Picture:  
+Alt: +
Info:
Author's CV:
Exclusive text? Author's name (for archive):
+

Related: +
+{section name=a loop=$related} + +{/section} +
+
+  
+{/if} +{section name=i loop=$ed_records} + + +{/section} + +