|
Revision 1539, 2.2 kB
(checked in by renato, 1 year ago)
|
Setting prop svn:eol-style in LOTS of files.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
$header = __gettext("Folder name"); |
|---|
| 6 |
$subHeader = __gettext("Subfolders"); |
|---|
| 7 |
$body = <<< END |
|---|
| 8 |
|
|---|
| 9 |
<h2>$header</h2> |
|---|
| 10 |
<h3>$subHeader</h3> |
|---|
| 11 |
|
|---|
| 12 |
END; |
|---|
| 13 |
$body .= templates_draw(array( |
|---|
| 14 |
'context' => 'folder', |
|---|
| 15 |
'username' => __gettext("test"), |
|---|
| 16 |
'url' => "", |
|---|
| 17 |
'ident' => 0, |
|---|
| 18 |
'name' => __gettext("Subfolder"), |
|---|
| 19 |
'icon' => url. "mod/file/folder.png", |
|---|
| 20 |
'menu' => "[<a href=\"#\">" . __gettext("Delete") . "</a>]" |
|---|
| 21 |
) |
|---|
| 22 |
); |
|---|
| 23 |
|
|---|
| 24 |
$body .= templates_draw(array( |
|---|
| 25 |
'context' => 'file', |
|---|
| 26 |
'username' => __gettext("test"), |
|---|
| 27 |
'title' => __gettext("A sample file"), |
|---|
| 28 |
'ident' => 0, |
|---|
| 29 |
'folder' => 0, |
|---|
| 30 |
'description' => __gettext("This is a file"), |
|---|
| 31 |
'originalname' => __gettext("filename"), |
|---|
| 32 |
'url' => "#", |
|---|
| 33 |
'icon' => url . "mod/file/file.png", |
|---|
| 34 |
'menu' => "[<a href=\"#\">" . __gettext("Edit") . "</a>] [<a href=\"#\">" . __gettext("Delete") . "</a>]" |
|---|
| 35 |
) |
|---|
| 36 |
); |
|---|
| 37 |
|
|---|
| 38 |
$run_result .= templates_draw(array( |
|---|
| 39 |
'context' => 'contentholder', |
|---|
| 40 |
'title' => __gettext("Files and folders"), |
|---|
| 41 |
'body' => $body, |
|---|
| 42 |
'submenu' => '' |
|---|
| 43 |
) |
|---|
| 44 |
); |
|---|
| 45 |
|
|---|
| 46 |
?> |
|---|