Skip to content

Instantly share code, notes, and snippets.

@donut
Forked from anonymous/gist:68641
Created February 22, 2009 22:21
Show Gist options
  • Select an option

  • Save donut/68643 to your computer and use it in GitHub Desktop.

Select an option

Save donut/68643 to your computer and use it in GitHub Desktop.

Revisions

  1. donut revised this gist Feb 22, 2009. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions gistfile1.htm
    Original file line number Diff line number Diff line change
    @@ -6,20 +6,20 @@ <h2 class="title">Confess your story to us</h2>
    <div class="entry"> {exp:weblog:entry_form weblog="default_site" return="site/index" preview="site/entry"}
    <table width="100%" border="0">
    <tr>
    <td width="22%">Title:</td>
    <td width="78%"><label>
    <td width="22%"><label for="title">Title:</label></td>
    <td width="78%">
    <input type="text" name="title" id="title" value="{title}" />
    </label></td>
    </td>
    </tr>
    {custom_fields}
    <tr>
    <td width="22%">{field_label}</td>
    <td width="78%"><label> {if textinput}
    <td width="22%"><label for="{field_name}">{field_label}</label></td>
    <td width="78%">{if textinput}
    <input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}"/>
    {/if}
    {if textarea}
    <textarea id="{field_name}" name="{field_name}" dir="{text_direction}" cols="45" rows="5" onclick="setFieldName(this.name)">{field_data}</textarea>
    {/if} </label></td>
    {/if}</td>
    </tr>
    {/custom_fields}
    <tr>
  2. @invalid-email-address Anonymous created this gist Feb 22, 2009.
    45 changes: 45 additions & 0 deletions gistfile1.htm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,45 @@
    <!-- start content -->

    <div id="content_confess">
    <div class="post">
    <h2 class="title">Confess your story to us</h2>
    <div class="entry"> {exp:weblog:entry_form weblog="default_site" return="site/index" preview="site/entry"}
    <table width="100%" border="0">
    <tr>
    <td width="22%">Title:</td>
    <td width="78%"><label>
    <input type="text" name="title" id="title" value="{title}" />
    </label></td>
    </tr>
    {custom_fields}
    <tr>
    <td width="22%">{field_label}</td>
    <td width="78%"><label> {if textinput}
    <input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}"/>
    {/if}
    {if textarea}
    <textarea id="{field_name}" name="{field_name}" dir="{text_direction}" cols="45" rows="5" onclick="setFieldName(this.name)">{field_data}</textarea>
    {/if} </label></td>
    </tr>
    {/custom_fields}
    <tr>
    <td>&nbsp;</td>
    <td><a href="{upload_url}" onclick="window.open(this.href, '_blank', 'width=400,height=600');return false;" onkeypress="this.onclick()">Attach a file</a></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><input type="submit" id="x" value="Submit" /></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    </table>
    {/exp:weblog:entry_form}
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    </div>
    </div>
    </div>
    </div>
    <!-- end content -->