3 <form action="{$post}" method="post">
4 <input type="hidden" name="target" value="{$target}">
5 <input type="hidden" name="action" value="update">
8 <th colspan="2">{$target}</th>
12 <td><input type="text" name="title" value="{$v_title}" size="60" /></td>
16 <td><input type="text" name="description" value="{$v_desc}" size="60" /></td>
19 <td>{$msg_keywords}</td>
20 <td><input type="text" name="keywords" value="{$v_keywords}" size="60" /></td>
24 <td><input type="text" name="vhost" value="{$v_vhost}" size="60" /></td>
28 <td>{html_checkboxes name="flags" options=$v_flag_opts selected=$v_flags}</td>
32 <input type="submit" value="{$msg_submit}" />
46 <script type="text/javascript">
48 function del( mysite ) {
49 if (confirm ("You are about to destroy the site '" + mysite +
50 "'. All data associated with it will irremediably lost! Do you want to proceed?")) {
51 document.operations.action.value = "delete";
52 document.operations.target.value = mysite;
53 document.operations.submit();
61 <form method="post" action="{$post}" name="operations">
62 <input type="hidden" name="target" value=""/>
63 <input type="hidden" name="action" value="" />
67 <table class="light" style="width:90%">
77 {counter start=0 assign=cnt print=0}
78 {foreach from=$sites item=mysite}
79 <tr{if $cnt % 2} class="odd"{/if}>
81 <td>{$mysite.alias}</td>
83 <td>{a lnk=$mysite.title}</td>
84 <td>{$mysite.description}</td>
86 {foreach from=$mysite.actions item=action}
87 {a lnk=$action class="action"}
94 <td colspan="{if $readonly}3{else}4{/if}"><i>{$msg_no_barrels}</i></td>
100 <form method="post" action="{$post}">
101 <input type="hidden" name="action" value="create" />
103 {$msg_create} : <input type="text" name="target" maxlength="16"/><input type="submit" value="create"/>