From 054086b33dad4c4f7089cf2ebf0f52eed1d7a023 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 28 May 2012 15:28:35 +0000 Subject: administrators can now view the actions of a single user in a compact format --- h-source/Library/Form/File.php | 56 ------------------------------------------ 1 file changed, 56 deletions(-) delete mode 100644 h-source/Library/Form/File.php (limited to 'h-source/Library/Form/File.php') diff --git a/h-source/Library/Form/File.php b/h-source/Library/Form/File.php deleted file mode 100644 index ac9b8ab..0000000 --- a/h-source/Library/Form/File.php +++ /dev/null @@ -1,56 +0,0 @@ -. - -if (!defined('EG')) die('Direct access not allowed!'); - -//create the HTML of a file upload entry -class Form_File extends Form_Entry -{ - - public function __construct($entryName = null) - { - $this->entryName = $entryName; - } - - public function render($value = null) - { - $wrap = $this->getWrapElements($value); - $returnString = $wrap[0]; - $returnString .= "
\n\t"; - $returnString .= $wrap[1]; - $returnString .= $this->getLabelTag(); - $returnString .= $wrap[2]; - $returnString .= Html_Form::fileUpload($this->entryName, $value, $this->className, $this->idName); - if (is_array($this->deleteButton)) - { - $sname = isset($this->deleteButton[0]) ? $this->deleteButton[0] : 'delete_'.$this->entryName; - $svalue = isset($this->deleteButton[1]) ? $this->deleteButton[1] : 'delete'; - $sclass = isset($this->deleteButton[2]) ? "class='".$this->deleteButton[2]."'" : null; - $returnString .= "\n"; - } - $returnString .= $wrap[3]; - $returnString .="
\n"; - $returnString .= $wrap[4]; - return $returnString; - } - -} -- cgit v1.2.3