--- templates/edit.tpl 2001/10/16 13:07:03 1.16 +++ templates/edit.tpl 2001/10/23 16:13:59 1.17 @@ -1,236 +1,251 @@ -{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_lead2)}{$ed_lead2}
 {/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 (! $vijest)} - - - - - - - -{/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))} -

{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.hl)}{$i/ed_text.hl}{/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} -{if ($AUTHOR && ! $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} -
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:
Author's name (for archive):
-
-  
-{/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 (! $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 && ! $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:
Author's name (for archive):
+
Related: +
+{section name=a loop=$related} + +{/section} +
+
+  
+{/if} +{section name=i loop=$ed_records} + + +{/section} + +