[cvs] / rantelope / frm_channel.zb Repository:
ViewVC logotype

View of /rantelope/frm_channel.zb

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (download) (annotate)
Thu Sep 6 23:35:39 2007 UTC (3 years ago) by sabren
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -3 lines
batch: inlined sixthdev stuff, other changes from live withoutane.com version
*#
*# This file displays a form for editing channels.
*#
*# $Id: frm_channel.zb,v 1.9 2007/09/06 23:35:39 sabren Exp $

* include header;


<form action="rantelope.app" method="POST">

* exec:
    from zebra import html
* if ID:
    <b>edit this channel:</b>
    <input type="hidden" name="ID" value="{:ID:}">
* el:
    <b>add a new channel:</b>


<table border="1">

  <tr><td>title:</td>
      <td>{:html.text("title",title):}</td></tr>

  <tr><td>public URL:</td>
      <td>{:html.text("url",url):}</td></tr>

  <tr><td>output path:</td>
      <td>{:html.text("path",path):}</td></tr>

  <tr><td>RSS output file (must end in .rss):</td>
      <td>{:html.text("rssfile",rssfile):}</td></tr>

  <tr><td>HTML output file:</td>
      <td>{:html.text("htmlfile",htmlfile):}</td></tr>

  <tr><td colspan="2">description:</td></tr>
  <tr><td colspan="2"><textarea name="description" 
          rows="4" cols="70">{:description:}</textarea></td></tr>

  <tr><td colspan="2">XLST template:</td></tr>
  <tr><td colspan="2"><textarea name="template" 
          rows="10" cols="70">{:template:}</textarea></td></tr>

</table>

<input name="action" value="save channel" type="submit">
</form>

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.5