Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hide hashes in select

  • Loading branch information...
commit 014373ca8256ae6d1d9f649409b171ec2e7d65e0 1 parent 7abc734
@vrana authored
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"]) : "");
}
Please sign in to comment.
Something went wrong with that request. Please try again.