]> git.p6c8.net - devedit.git/blobdiff - templates/dirlist_dir.htm
- Dev-Editor is now able to forbid accessing a file using the configuration file
[devedit.git] / templates / dirlist_dir.htm
index e69b3f5f3fcb05baeb87ff0870f849f6cc5bac9d..8c30d44f1d6561b4367bbff6608ba2ddcd7b987e 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
 <tr>
-<td align="right">[SUBDIR]</td>
-<td style="padding-left:15pt">{DATE}</td>
-<td style="padding-left:15pt"><a href="{SCRIPT}?command=show&file={DIR}">{DIR_NAME}/</a></td>
-<td style="padding-left:15pt">(Rename | <a href="{SCRIPT}?command=remove&file={DIR}">Delete</a>)</td>
-</tr>
\ No newline at end of file
+<td align="right" style="white-space:nowrap">[SUBDIR]</td>
+<td style="padding-left:15pt;white-space:nowrap;">{DATE}{IF gmt} (GMT){ENDIF}</td>
+<td style="padding-left:15pt;white-space:nowrap;">{IF !forbidden}{IF readable}<a href="{SCRIPT}?command=show&amp;file={DIR_URL}{IF filter}&amp;filter={FILTER_URL}{ENDIF}">{DIR_NAME}/</a>{ELSE}<span style="color:#C0C0C0" title="Not accessible">{DIR_NAME}/</span>{ENDIF}{ELSE}<span style="color:#C0C0C0" title="File access forbidden by Dev-Editor's configuration">{DIR_NAME}/</span>{ENDIF}</td>
+<td style="padding-left:15pt;white-space:nowrap;">({IF !forbidden}{IF dir_writeable}<a href="{SCRIPT}?command=rename&amp;file={DIR_URL}">Rename</a> | <a href="{SCRIPT}?command=remove&amp;file={DIR_URL}">Delete</a> | {ENDIF}{IF users}<a href="{SCRIPT}?command=chprop&amp;file={DIR_URL}">Chmod/Chgrp</a> | {ENDIF}{ENDIF}<a href="{URL}" target="_blank">View in Browser</a>)</td>
+</tr>

patrick-canterino.de