home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / modules / filesystem / new_folder.inc < prev    next >
Text File  |  2004-03-08  |  2KB  |  54 lines

  1. <?php
  2. /*
  3. Copyright Intermesh 2003
  4. Author: Merijn Schering <mschering@intermesh.nl>
  5. Version: 1.0 Release date: 08 July 2003
  6.  
  7. This program is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2 of the License, or (at your
  10. option) any later version.
  11. */
  12. ?>
  13. <input type="hidden" name="task" value="new_folder" />
  14. <table border="0" cellpadding="0" cellspacing="0" class="TableBorder" width="400">
  15. <tr>
  16.     <td valign="top">
  17.     <table border="0" cellpadding="1" cellspacing="1" width="100%">
  18.     <tr>
  19.         <td colspan="99" class="TableHead"><?php echo $fbNewFolder; ?></td>
  20.     </tr>
  21.     <tr>
  22.         <td class="TableInside">
  23.         <table border="0" cellpadding="4" cellspacing="0">
  24.         <tr>
  25.             <td colspan="2"><?php if(isset($feedback)) echo $feedback; ?> </td>
  26.         </tr>
  27.         <tr>
  28.             <td>
  29.             <?php echo $strName; ?>:
  30.             </td>
  31.             <td>
  32.             <input type="text" class="textbox" name="name" value="<?php if (isset($_POST['name'])) echo $_POST['name']; ?>" maxlength="100" size="30" />
  33.             </td>
  34.         </tr>
  35.         <tr>
  36.             <td colspan="2">
  37.                 <br />
  38.                 <?php
  39.                 $button = new button($cmdOk, "javascript:document.forms[0].submit()");
  40.                 echo '  ';
  41.                 $button = new button($cmdCancel, "javascript:document.location='".$_SERVER['PHP_SELF']."?path=".$urlencoded_path."';");
  42.                 ?>
  43.             </td>
  44.         </tr>
  45.         </table>
  46.         </td>
  47.     </tr>
  48.     </table>
  49.     </td>
  50. </tr>
  51. </table>
  52. <script type="text/javascript">
  53. document.forms[0].name.focus();
  54. </script>