source: contrib/Dms/out/out.MoveFolder.php @ 3526

Revision 3526, 1.3 KB checked in by afernandes, 13 years ago (diff)

Ticket #1416 - Disponibilizado modulos Timesheet e DMS para a comunidade.

  • Property svn:executable set to *
Line 
1<?php
2include("../inc/inc.Settings.php");
3include("../inc/inc.AccessUtils.php");
4include("../inc/inc.ClassAccess.php");
5include("../inc/inc.ClassDocument.php");
6include("../inc/inc.ClassFolder.php");
7include("../inc/inc.ClassGroup.php");
8include("../inc/inc.ClassUser.php");
9include("../inc/inc.DBAccess.php");
10include("../inc/inc.FileUtils.php");
11include("../inc/inc.Language.php");
12include("../inc/inc.OutUtils.php");
13
14include("../inc/inc.Authentication.php");
15
16$folderid = (isset($_GET['folderid'])) ? (int) $_GET['folderid'] : 1;
17$folder = getFolder($folderid);
18
19
20if ($folder->getAccessMode($user) < M_READWRITE)
21        die ("Access denied");
22
23
24printHTMLHead( getMLText("folder_title", array("foldername" => $folder->getName()) ) );
25printTitleBar($folder);
26printFolderPageStart($folder);
27printPageHeader(getMLText("move_folder") . ": " . $folder->getName());
28
29printStartBox(getMLText("move_folder"));
30?>
31
32<form action="../op/op.MoveFolder.php" name="form1">
33        <input type="Hidden" name="folderid" value="<?php print $folderid;?>">
34        <table>
35                <tr>
36                        <td class="inputDescription"><?php printMLText("choose_target_folder");?>:</td>
37                        <td><?php printFolderChooser("form1", M_READWRITE, $folder->getID());?></td>
38                </tr>
39                <tr>
40                        <td colspan="2"><br><input type="Submit"></td>
41                </tr>
42        </table>
43        </form>
44
45
46<?php
47
48printEndBox();
49printFolderPageEnd($folder);
50printHTMLFoot();
51
52?>
Note: See TracBrowser for help on using the repository browser.