Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / modules / blocks / pntemplates [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 28 Jul 2002 03:52:16 | postnuke_official/html/modules/blocks/pntemplates | admin-delete_instance.pnd,NONE,1.1 admin-modify_instance.pnd,NONE,1.1 | Paul Rosania |
| delete, modify instance now functional | |||
Update of /home/cvsroot/postnuke_official/html/modules/blocks/pntemplates
In directory ns7.hostnuke.net:/tmp/cvs-serv27923/pntemplates
Added Files:
admin-delete_instance.pnd admin-modify_instance.pnd
Log Message:
delete, modify instance now functional
--- NEW FILE: admin-delete_instance.pnd ---
<table border="0" width="100%">
<tr>
<th colspan="4" align="center">
Blocks Administration
</th>
</tr>
<tr align="center">
<td align="center">
</td>
<td align="center">
<a href="&pnt-modurl-blocks-admin-new_instance;">New block instance</a>
</td>
<td align="center">
<a href="&pnt-modurl-blocks-admin-new_group;">New block group</a>
</td>
<td align="center">
</td>
</tr>
<tr align="center">
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-view_types;">View block types</a>
</td>
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-view_instances;">View block instances</a>
</td>
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-view_groups;">View block groups</a>
</td>
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-settings;">General settings</a>
</td>
</tr>
</table><br />
<center>Delete block instance</center><br />
<center>
<form method="post" action="&pnt-modurl-blocks-admin-delete_instance;">
<input type="hidden" name="authid" value="&pnt-var-authid;" />
<input type="hidden" name="confirm" value="true" />
<input type="hidden" name="bid" value="<pnt:var name="instance.id" />" />
<table border="0" width="300">
<tr>
<td>
Title:
</td>
<td>
<pnt:var name="instance.title" />
</td>
</tr>
<tr>
<td>
Group:
</td>
<td>
<pnt:var name="instance.group_name" />
</td>
</tr>
<tr>
<td>
Type:
</td>
<td>
<pnt:var name="instance.module" />\<pnt:var name="instance.type" />
</td>
</tr>
<tr>
<td colspan="2" align="center"><br />
<input type="submit" value="OK" align="middle" />
<input type="submit" name="cancel" value="Cancel" align="middle" />
</td>
</tr>
</table>
</form>
</center>
--- NEW FILE: admin-modify_instance.pnd ---
<table border="0" width="100%">
<tr>
<th colspan="4" align="center">
Blocks Administration
</th>
</tr>
<tr align="center">
<td align="center">
</td>
<td align="center">
<a href="&pnt-modurl-blocks-admin-new_instance;">New block instance</a>
</td>
<td align="center">
<a href="&pnt-modurl-blocks-admin-new_group;">New block group</a>
</td>
<td align="center">
</td>
</tr>
<tr align="center">
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-view_types;">View block types</a>
</td>
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-view_instances;">View block instances</a>
</td>
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-view_groups;">View block groups</a>
</td>
<td align="center" width="25%">
<a href="&pnt-modurl-blocks-admin-settings;">General settings</a>
</td>
</tr>
</table><br />
<center>Modify block instance</center><br />
<center>
<form method="post" action="&pnt-modurl-blocks-admin-update_instance;">
<input type="hidden" name="authid" value="&pnt-var-authid;" />
<input type="hidden" name="bid" value="&pnt-var-bid;" />
<table border="0" width="300">
<tr>
<td>
Title:
</td>
<td>
<input type="text" name="block_title" value="<pnt:var name="instance.title" />" length="40" maxlength="255" style="width:150px;" />
</td>
</tr>
<tr>
<td>
Type:
</td>
<td>
<pnt:var name="instance.module" />\<pnt:var name="instance.type" />
</td>
</tr>
<tr>
<td>
Group:
</td>
<td>
<select name="block_group" style="width:150px;">
<pnt:loop name="block_groups">
<pnt:if condition="$instance['group_id'] == $id">
<option value="&pnt-var-id;" selected="selected">
<pnt:else>
<option value="&pnt-var-id;">
</pnt:else>
</pnt:if>
&pnt-var-name;
</option>
</pnt:loop>
</select>
</td>
</tr>
<tr>
<td>
Refresh:
</td>
<td>
<select name="block_refresh" style="width:150px;">
<pnt:loop name="refresh_times">
<pnt:if condition="$instance['refresh'] == $id">
<option value="&pnt-var-id;" selected="selected">
<pnt:else>
<option value="&pnt-var-id;">
</pnt:else>
</pnt:if>
<pnt:var name="name" />
</option>
</pnt:loop>
</select>
</td>
</tr>
<tr>
<td>
Template (optional):
</td>
<td>
<input type="text" name="block_template" value="<pnt:var name="instance.template" />" length="40" maxlength="255" style="width:150px;" />
</td>
</tr>
<pnt:if condition="isset($block_settings['form_content']) and $block_settings['form_content'] == true">
<tr>
<td colspan="2">
Content:
</td>
</tr>
<tr>
<td colspan="2">
<textarea name="block_content" style="width:300px;height:150px;"><pnt:var name="instance.content" /></textarea>
</td>
</tr>
</pnt:if>
<pnt:var name="extra_fields" />
<tr>
<td colspan="2" align="center"><br />
<input type="submit" value="OK" align="middle" />
<input type="submit" name="cancel" value="Cancel" align="middle" />
</td>
</tr>
</table>
</form>
</center>
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |