/[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.1 by ravilov, Fri Aug 3 09:12:42 2001 UTC revision 1.2 by ravilov, Fri Aug 3 11:21:16 2001 UTC
# Line 79  function Underline(src, obj) { InsertTag Line 79  function Underline(src, obj) { InsertTag
79  </table>  </table>
80  {else}  {else}
81  <table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0">  <table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0">
82  {if ($ed_empties)}<tr bgcolor="#C0C0FF"><td style="padding:10px"><tt><b>You have some empty paragraphs. For more information, review the notes marked <font color="#FF0000">red</font> below.<br><br>Click &quot;<i>Preview</i>&quot; below again to preview the article anyway.</b></tt></td></tr>{/if}  {if ($ed_warnings)}<tr bgcolor="#C0C0FF"><td style="padding:10px"><tt><b>Some warnings were generated while processing your article. For more information, review the notes marked <font color="#FF0000">red</font> below.<br><br>Click &quot;<i>Preview</i>&quot; below again to ignore warnings and preview the article anyway.</b></tt></td></tr>{/if}
83  <tr><td>  <tr><td>
84  <table border=0 cellspacing=0 cellpadding=3 width="100%">  <table border=0 cellspacing=0 cellpadding=3 width="100%">
85  <tr><td align=right><b>Title:</b></td><td colspan=3><input type=text onfocus="select();" class="small" size=30 name="ed_title" value="{$ed_title}" style="width:100%"></td></tr>  <tr><td align=right><b>Title:</b></td><td colspan=3><input type=text onfocus="select();" class="small" size=30 name="ed_title" value="{$ed_title}" style="width:100%"></td></tr>
86  <tr><td align=right valign=top><b>Lead:</b></td><td colspan=3><textarea name="ed_lead" onfocus="select();" class="small" style="width:100%" cols=35 rows=3 wrap=virtual>{$ed_lead}</textarea></td></tr>  <tr><td align=right valign=top><b>Lead:</b></td><td colspan=3><textarea name="ed_lead" onfocus="select();" class="small" style="width:100%" cols=35 rows=3 wrap=virtual>{$ed_lead}</textarea></td></tr>
87  <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>  <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>
88  <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="select();" name="ed_titlepic_url" size=10 class="small">&nbsp;<input type=submit name="ed_clear_main" value="Delete" class="small"{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="select();" class="small" size=15 name=ed_titlepic_alt value="{$ed_titlepic_alt}"></td></tr>  <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="select();" name="ed_titlepic_url" size=10 class="small">&nbsp;<input type=submit name="ed_clear_main" value="Delete" class="small"{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="select();" class="small" size=15 name=ed_titlepic_alt value="{$ed_titlepic_alt}"></td></tr>
89  <tr><td align=right valign=top><b>Title picture position:</b></td><td colspan=3>  <tr><td align=right valign=top><b>Title picture position:</b></td><td>
90  <table border=0 cellspacing=0 cellpadding=0>  <table border=0 cellspacing=0 cellpadding=0>
91  <tr>  <tr>
92  <td><input type=radio class="small" name="ed_titlepic_pos" value=1 title="Upper left"{if ($ed_titlepic_pos == 1)} 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>
# Line 104  function Underline(src, obj) { InsertTag Line 104  function Underline(src, obj) { InsertTag
104  <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=8 title="Lower right"{if ($ed_titlepic_pos == 8)} checked{/if}></td>
105  </tr>  </tr>
106  </table></td>  </table></td>
107    <td colspan=2 align=right valign=bottom>{if ($ed_warning)}<font color="#FF0000"><tt><b><i>WARNING:</i>
108    {if ($ed_warning == 2)}You uploaded a title picture, but have not selected its disposition (the <i>Title picture position</i> field).{/if}
109    <input type=hidden name="ed_title_force" value=1>{else}&nbsp;{/if}</td>
110  </tr>  </tr>
111  <td align=right><b>URL for more info:</b></td><td colspan=3 align=left><input type=text onfocus="select();" class="small" size=30 name="ed_more" style="width:100%" value="{$ed_more}"></td>  <td align=right><b>URL for more info:</b></td><td colspan=3 align=left><input type=text onfocus="select();" class="small" size=30 name="ed_more" style="width:100%" value="{$ed_more}"></td>
112  <tr><td align=left colspan=4><br><br><b>Topic text:</b>  <tr><td align=left colspan=4><br><br><b>Topic text:</b>
# Line 132  function Underline(src, obj) { InsertTag Line 135  function Underline(src, obj) { InsertTag
135  <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=8 title="Lower right"{if ($i/ed_text.pos == 8)} checked{/if}></td>
136  </tr>  </tr>
137  </table></td>  </table></td>
138  <td colspan=2 align=right valign=bottom>{if ($i/ed_text.empty)}<font color="#FF0000"><tt><b><i>WARNING:</i> this paragraph has neither text nor picture.</b></tt></font><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else}&nbsp;{/if}</td>  <td colspan=2 align=right valign=bottom>{if ($i/ed_text.warning)}<font color="#FF0000"><tt><b><i>WARNING:</i>
139    {if ($i/ed_text.warning == 1)}This paragraph is empty (ie. it has neither text nor picture).{/if}
140    {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}
141    </b></tt></font><input type=hidden name="ed_text_force_{$i/ed_text.n}" value=1>{else}&nbsp;{/if}</td>
142  </tr>  </tr>
143  </table>  </table>
144  {if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if}  {if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26