]> projects.mako.cc - scuttle/blob - templates/tagrename.tpl.php
added new version of JQuery plus CSS/images
[scuttle] / templates / tagrename.tpl.php
1 <?php
2 $this->includeTemplate($GLOBALS['top_include']);
3 ?>
4 <script type="text/javascript">
5 window.onload = function() {
6     document.getElementById("new").focus();
7 }
8 </script>
9 <form action="<?= $formaction ?>" method="post">
10 <table>
11 <tr>
12     <th align="left"><?php echo T_('Old'); ?></th>
13     <td><input type="text" name="old" id="old" value="<?= $old ?>" /></td>
14     <td>&larr; <?php echo T_('Required'); ?></td>
15 </tr>
16 <tr>
17     <th align="left"><?php echo T_('New'); ?></th>
18     <td><input type="text" name="new" id="new" value="" /></td>
19     <td>&larr; <?php echo T_('Required'); ?></td>
20 </tr>
21 <tr>
22     <td></td>
23     <td>
24     <input type="submit" name="confirm" value="<?php echo T_('Rename'); ?>" />
25     <input type="submit" name="cancel" value="<?php echo T_('Cancel'); ?>" />
26     </td>
27     <td></td>
28 </tr>
29
30 </table>
31 </p>
32
33 <?php if (isset($referrer)): ?>
34 <div><input type="hidden" name="referrer" value="<?php echo $referrer; ?>" /></div>
35 <?php endif; ?>
36
37 </form>
38
39 <?php
40 $this->includeTemplate($GLOBALS['bottom_include']); 
41 ?>
42                  

Benjamin Mako Hill || Want to submit a patch?