mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-31 08:49:16 -04:00
Delete forge in preparation to refresh it from vendors/forge/modified
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* FORGE submit input library.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* @package Forge
|
||||
* @author Kohana Team
|
||||
* @copyright (c) 2007-2008 Kohana Team
|
||||
* @license http://kohanaphp.com/license.html
|
||||
*/
|
||||
class Form_Submit_Core extends Form_Input {
|
||||
|
||||
protected $data = array
|
||||
(
|
||||
'type' => 'submit',
|
||||
'class' => 'submit'
|
||||
);
|
||||
|
||||
protected $protect = array('type');
|
||||
|
||||
public function __construct($value)
|
||||
{
|
||||
$this->data['value'] = $value;
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
$data = $this->data;
|
||||
unset($data['label']);
|
||||
|
||||
return form::button($data);
|
||||
}
|
||||
|
||||
public function validate()
|
||||
{
|
||||
// Submit buttons do not need to be validated
|
||||
return $this->is_valid = TRUE;
|
||||
}
|
||||
|
||||
} // End Form Submit
|
||||
Reference in New Issue
Block a user