/usr/share/horde/gollem/templates/manager.html.php is in php-horde-gollem 3.0.7-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | <?php if ($this->list_count): ?>
<?php if ($this->perms_chmod): ?>
<div id="gollem-attributes" style="display:none;">
<table class="horde-table">
<tr>
<th width="25%"> </th>
<th width="25%" align="center"><?php echo _("Owner") ?></th>
<th width="25%" align="center"><?php echo _("Group") ?></th>
<th width="25%" align="center"><?php echo _("All") ?></th>
</tr>
<tr>
<td><?php echo _("Read") ?></td>
<td align="center"><input name="owner[]" type="checkbox" value="4" <?php if ($this->owner_read): ?>disabled="disabled" <?php endif ?>/></td>
<td align="center"><input name="group[]" type="checkbox" value="4" <?php if ($this->group_read): ?>disabled="disabled" <?php endif ?>/></td>
<td align="center"><input name="all[]" type="checkbox" value="4" <?php if ($this->all_read): ?>disabled="disabled" <?php endif ?>/></td>
</tr>
<tr>
<td><?php echo _("Write") ?></td>
<td align="center"><input name="owner[]" type="checkbox" value="2" <?php if ($this->owner_write): ?>disabled="disabled" <?php endif ?>/></td>
<td align="center"><input name="group[]" type="checkbox" value="2" <?php if ($this->group_write): ?>disabled="disabled" <?php endif ?>/></td>
<td align="center"><input name="all[]" type="checkbox" value="2" <?php if ($this->all_write): ?>disabled="disabled" <?php endif ?>/></td>
</tr>
<tr>
<td><?php echo _("Execute") ?></td>
<td align="center"><input name="owner[]" type="checkbox" value="1" <?php if ($this->owner_execute): ?>disabled="disabled" <?php endif ?>/></td>
<td align="center"><input name="group[]" type="checkbox" value="1" <?php if ($this->group_execute): ?>disabled="disabled" <?php endif ?>/></td>
<td align="center"><input name="all[]" type="checkbox" value="1" <?php if ($this->all_execute): ?>disabled="disabled" <?php endif ?>/></td>
</tr>
</table>
</div>
<?php endif ?>
<?php endif ?>
<form method="post" id="manager" name="manager" enctype="multipart/form-data" action="<?php echo $this->action ?>">
<?php echo $this->forminput ?>
<input type="hidden" id="actionID" name="actionID" value="" />
<input type="hidden" id="new_folder" name="new_folder" value="" />
<input type="hidden" id="new_names" name="new_names" value="" />
<input type="hidden" id="old_names" name="old_names" value="" />
<input type="hidden" id="renamefrm_oldname" name="oldname" value="" />
<input type="hidden" id="chmod" name="chmod" value="" />
<input type="hidden" id="dir" name="dir" value="<?php echo htmlspecialchars($this->dir) ?>" />
<input type="hidden" name="targetFolder" value="" />
<div class="header">
<strong style="float:right"><?php echo $this->itemcount ?></strong>
<?php echo $this->navlink ?>
</div>
<div class="horde-buttonbar">
<ul>
<li class="horde-icon"><?php echo $this->refresh ?></li>
<?php if ($this->share_folder): ?>
<li class="horde-icon"><?php echo $this->share_folder ?></li>
<?php endif ?>
<?php if ($this->change_folder): ?>
<li class="horde-icon"><?php echo $this->change_folder ?></li>
<?php endif ?>
<?php if ($this->list_count): ?>
<?php if ($this->perms_chmod): ?>
<li><?php echo Horde::widget(array('url' => '#', 'title' => _("Change Permissions"), 'id' => 'gollem-chmod')) ?></li>
<?php endif ?>
<?php if ($this->hasclipboard): ?>
<li><?php echo Horde::widget(array('url' => '#', 'title' => _("Copy"), 'id' => 'gollem-copy')) ?></li>
<?php if ($this->perms_delete): ?>
<li><?php echo Horde::widget(array('url' => '#', 'title' => _("Cut"), 'id' => 'gollem-cut')) ?></li>
<?php endif ?>
<?php endif ?>
<?php if ($this->perms_delete): ?>
<li><?php echo Horde::widget(array('url' => '#', 'title' => _("Delete"), 'id' => 'gollem-delete')) ?></li>
<?php endif ?>
<?php if ($this->perms_edit): ?>
<li><?php echo Horde::widget(array('url' => '#', 'title' => _("Rename"), 'id' => 'gollem-rename')) ?></li>
<?php endif ?>
<?php endif ?>
</ul>
</div>
<?php if ($this->empty_dir): ?>
<p class="text">
<em><?php echo _("There are no files in this folder.") ?></em>
</p>
<?php else: ?>
<table class="horde-table">
<thead>
<tr>
<th style="text-align:center" width="1%"><input type="checkbox" class="checkbox" id="checkall" name="checkAll" <?php echo $this->checkall ?> /></th>
<?php foreach ($this->headers as $header): ?>
<th<?php if (isset($header['id'])): ?> id="<?php echo $header['id'] ?>"<?php endif ?> class="horde-split-left<?php if ($header['class']) echo ' ' . $header['class'] ?>" style="text-align:<?php echo $header['align'] ?>" width="<?php echo $header['width'] ?>"><?php if (isset($header['sort'])) echo $header['sort'] ?><?php echo $header['label'] ?></th>
<?php endforeach ?>
</tr>
</thead>
<tbody>
<?php foreach ($this->entries as $entry): ?>
<tr>
<td style="text-align:center"><?php if ($entry['on_clipboard']): ?> <?php else: ?><input type="checkbox" class="checkbox" name="items[]" value="<?php echo $entry['name'] ?>" /><?php endif ?></td>
<?php if ($this->columns_type): ?>
<td class="rightAlign"><input type="hidden" name="itemTypes[]" value="<?php echo $entry['type'] ?>" /><?php echo $entry['graphic'] ?></td>
<?php endif ?>
<?php if ($this->columns_name): ?>
<td><?php echo $entry['link'] ?></td>
<?php endif ?>
<?php if ($this->columns_share): ?>
<td>
<?php if (!empty($entry['share'])): ?><?php echo $entry['share'] ?><span class="iconImg <?php echo $entry['share_disabled'] ? 'gollem-sharefolder-disabled' : 'gollem-sharefolder' ?>"></span></a><?php endif ?>
</td>
<?php endif ?>
<?php if ($this->columns_edit): ?>
<td>
<?php if ($entry['edit']): ?><?php echo $entry['edit'] ?><span class="iconImg gollem-edit"></span></a><?php endif ?>
</td>
<?php endif ?>
<?php if ($this->columns_download): ?>
<td>
<?php if ($entry['dl']): ?><?php echo $entry['dl'] ?><span class="iconImg gollem-download"></span></a><?php endif ?>
</td>
<?php endif ?>
<?php if ($this->columns_modified): ?>
<td><?php echo $entry['date'] ?></td>
<?php endif ?>
<?php if ($this->columns_size): ?>
<td class="rightAlign"><?php echo $entry['size'] ?></td>
<?php endif ?>
<?php if ($this->columns_permission): ?>
<td class="rightAlign fixed"> <?php echo $entry['perms'] ?> </td>
<?php endif ?>
<?php if ($this->columns_owner): ?>
<td class="rightAlign"><?php echo $entry['owner'] ?></td>
<?php endif ?>
<?php if ($this->columns_group): ?>
<td class="rightAlign"><?php echo $entry['group'] ?></td>
<?php endif ?>
</tr>
<?php endforeach ?>
</tbody>
</table>
<?php endif ?>
<?php echo $this->page_caption ?>
<?php if ($this->perms_edit): ?>
<br />
<table id="filelist_upload">
<tr>
<td class="leftAlign">
<div id="upload_row_1">
<?php echo _("File") ?> 1: <input id="file_upload_1" name="file_upload_1" type="file" size="25" />
</div>
</td>
<td class="leftAlign">
<input type="button" class="button" id="uploadfile" value="<?php echo $this->upload_file ?>" /> <?php echo $this->upload_help ?>
</td>
</tr>
</table>
<?php endif ?>
</form>
|