From: pcanterino <> Date: Fri, 24 Dec 2010 13:19:40 +0000 (+0000) Subject: - Some color changes X-Git-Tag: version_3_2~19 X-Git-Url: https://git.p6c8.net/devedit.git/commitdiff_plain/e11a218226af3dc5a861924bf3be09e377767025 - Some color changes - Removed unused code in Tool.pm --- diff --git a/modules/Tool.pm b/modules/Tool.pm index ccb78af..e810c8b 100644 --- a/modules/Tool.pm +++ b/modules/Tool.pm @@ -287,8 +287,6 @@ sub in_array($$) return 1 if($string eq $element); } - #foreach - return; } diff --git a/templates/dirlist_dir.htm b/templates/dirlist_dir.htm index 0908849..0fbd9e3 100644 --- a/templates/dirlist_dir.htm +++ b/templates/dirlist_dir.htm @@ -1,7 +1,7 @@ - + [SUBDIR] {DATE}{IF gmt} (GMT){ENDIF} -{IF !forbidden}{IF readable}{DIR_NAME}/{ELSE}{DIR_NAME}/{ENDIF}{ELSE}{DIR_NAME}/{ENDIF} +{IF !forbidden}{IF readable}{DIR_NAME}/{ELSE}{DIR_NAME}/{ENDIF}{ELSE}{DIR_NAME}/{ENDIF} ({IF !forbidden}{IF readable}Copy | {ENDIF}{IF dir_writeable}Rename | Delete |{ENDIF}{IF users} Chmod/Chgrp |{ENDIF} {ENDIF}View in Browser) diff --git a/templates/dirlist_file.htm b/templates/dirlist_file.htm index 5b9b734..4f6192a 100644 --- a/templates/dirlist_file.htm +++ b/templates/dirlist_file.htm @@ -1,7 +1,7 @@ - + {SIZE} {DATE}{IF gmt} (GMT){ENDIF} -{IF forbidden}{FILE_NAME}{ELSE}{FILE_NAME}{ENDIF} -({IF !forbidden}{IF viewable}View{ELSE}View{ENDIF} | {IF editable}Edit{ELSE}Edit{ENDIF}{IF !link}{IF readable}| Download | Copy{ENDIF}{ENDIF}{IF dir_writeable} | Rename | Delete{ENDIF} |{IF !link}{IF users} Chmod/Chgrp |{ENDIF}{ENDIF} {ENDIF}View in Browser) +{IF forbidden}{FILE_NAME}{ELSE}{FILE_NAME}{ENDIF} +({IF !forbidden}{IF viewable}View{ELSE}View{ENDIF} | {IF editable}Edit{ELSE}Edit{ENDIF}{IF !link}{IF readable}| Download | Copy{ENDIF}{ENDIF}{IF dir_writeable} | Rename | Delete{ENDIF} |{IF !link}{IF users} Chmod/Chgrp |{ENDIF}{ENDIF} {ENDIF}View in Browser)