/[drupal]/contributions/modules/disknode/disknode.upload.tpl.inc
ViewVC logotype

Contents of /contributions/modules/disknode/disknode.upload.tpl.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Fri Jan 6 16:56:35 2006 UTC (3 years, 10 months ago) by elmuerte
Branch: MAIN
CVS Tags: DRUPAL-5--0-1, DRUPAL-5--0-2, DRUPAL-6--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-4-6, DRUPAL-4-7, DRUPAL-6--1
File MIME type: text/x-php
initial checkin
1 <?php
2 global $base_url;
3 ?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5 <html>
6 <head>
7 <title>Disknode - <?= $title ?></title>
8 <style type="text/css">
9 <?php readfile(dirname(__FILE__).'/disknode.style.css'); ?>
10 </style>
11 <script type="text/javascript">
12 </script>
13 <base href="<?= $base_url ?>/" />
14 </head>
15 <body>
16 <h1><?= $title ?></h1>
17 <h2>root <?php
18 foreach (explode("/", $subdir) as $elm)
19 {
20 if (empty($elm)) continue;
21 echo " / ".$elm;
22 }
23 ?></h2>
24
25 <?php
26
27 if (!is_writable(file_create_path($subdir))) drupal_set_message("$subdir is not writeable", 'error');
28 echo theme_status_messages();
29
30 echo $form;
31
32 ?>
33
34 <div id="controls">
35 <span title="Browse and select files"><?= l("Browse", "disknode/browse", null, "subdir=".$subdir) ?></span>
36 |
37 <span title="Create a new subdirectory"><?= l("Create dir", "disknode/mkdir", null, "subdir=".$subdir) ?></span>
38 </div>
39 </body>
40 </html>

  ViewVC Help
Powered by ViewVC 1.1.2