From 28756a17617639eff8ce8d5014d3ec0acdd146d2 Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Fri, 26 Nov 2004 17:35:58 +0000 Subject: [PATCH] - Don't display the file upload link in directory listing if Dev-Editor has no write access to this directory. - Wrong variable "{DIRECTORY}" in error message "dir_no_create" - it should be "{DIR}". --- errors.dat | 2 +- templates/dirlist.htm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/errors.dat b/errors.dat index 995e5f8..25351c4 100644 --- a/errors.dat +++ b/errors.dat @@ -7,7 +7,7 @@ copy_failed = Could not copy '{FILE}' to '{NEW_FILE}'. create_ar = You aren't allowed to create files and directories above the virtual root directory. delete_failed = Could not delete file '{FILE}'. dircopy = This editor is not able to copy directories. -dir_no_create = You have not enough permissions to create a file in the directory '{DIRECTORY}'. +dir_no_create = You have not enough permissions to create a file in the directory '{DIR}'. dir_not_exist = The directory where you want to create this file or directory doesn't exist. dir_read_fail = Reading of directory '{DIR}' failed. dir_replace = You are not allowed to replace a directory. diff --git a/templates/dirlist.htm b/templates/dirlist.htm index 4ce6c19..2db1617 100644 --- a/templates/dirlist.htm +++ b/templates/dirlist.htm @@ -37,11 +37,11 @@