- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
1.5 KiB
PHP
Executable File
43 lines
1.5 KiB
PHP
Executable File
<?php
|
|
if (!class_exists("wpdreamsUpload")) {
|
|
/**
|
|
* Class wpdreamsUpload
|
|
*
|
|
*
|
|
* @package WPDreams/OptionsFramework/Classes
|
|
* @category Class
|
|
* @author Ernest Marcinko <ernest.marcinko@wp-dreams.com>
|
|
* @link http://wp-dreams.com, http://codecanyon.net/user/anago/portfolio
|
|
* @copyright Copyright (c) 2014, Ernest Marcinko
|
|
*/
|
|
class wpdreamsUpload extends wpdreamsType {
|
|
function getType() {
|
|
parent::getType();
|
|
$this->processData();
|
|
?>
|
|
<div class='wpdreamsUpload' id='wpdreamsUpload<?php echo self::$_instancenumber; ?>'>
|
|
<label for='wpdreamsUpload_input<?php echo self::$_instancenumber; ?>'>
|
|
<?php echo $this->label; ?>
|
|
</label>
|
|
<input id="wpdreamsUpload_input<?php echo self::$_instancenumber; ?>" type="text"
|
|
class="wdUploadText"
|
|
size="36" name="<?php echo $this->name; ?>"
|
|
value="<?php echo $this->data; ?>"/>
|
|
<input id="wpdreamsUpload_button<?php echo self::$_instancenumber; ?>"
|
|
class="wdUploadButton button" type="button"
|
|
value="Upload"/>
|
|
</div>
|
|
<?php
|
|
}
|
|
|
|
|
|
function processData() {}
|
|
|
|
final function getData() {
|
|
return $this->data;
|
|
}
|
|
|
|
final function getSelected() {}
|
|
final function getItems() {}
|
|
}
|
|
}
|