source: contrib/Dms/out/out.RemoveFolder.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'] : NULL;
17$folder = getFolder($folderid);
18
19if ($folder->getAccessMode($user) < M_ALL)
20        die ("Access denied");
21
22
23printHTMLHead( getMLText("folder_title", array("foldername" => $folder->getName()) ) );
24
25printTitleBar($folder);
26printFolderPageStart($folder);
27printPageHeader(getMLText("rm_folder") . ": " . $folder->getName());
28
29printStartBox(getMLText("rm_folder"));
30?>
31
32<form action="../op/op.RemoveFolder.php" name="form1">
33        <input type="Hidden" name="folderid" value="<?php print $folderid;?>">
34        <div class="standardText">
35        <?php
36                print lang('Do you really want to remove the folder "%1" and its content?<br>Be careful: This action cannot be undone.', $folder->getName());
37        ?>
38        </div><br>
39        <input type="Submit" value="<?php printMLText("rm_folder");?>">
40</form>
41
42
43<?php
44
45printEndBox();
46printFolderPageEnd($folder);
47printHTMLFoot();
48
49?>
Note: See TracBrowser for help on using the repository browser.