Permalink
Browse files

Hide hashes in select

  • Loading branch information...
1 parent 7abc734 commit 014373ca8256ae6d1d9f649409b171ec2e7d65e0 @vrana committed Nov 2, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 editor/example.php
View
3 editor/example.php
@@ -29,6 +29,9 @@ function tableName($tableStatus) {
}
function fieldName($field, $order = 0) {
+ if ($order && ereg('_(md5|sha1)$', $field["field"])) {
+ return ""; // hide hashes in select
+ }
// only columns with comments will be displayed and only the first five in select
return ($order <= 5 ? h($field["comment"]) : "");
}

0 comments on commit 014373c

Please sign in to comment.