A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
1002 B

<?php
class QFileAsset extends QFileAssetBase {
protected $strTemporaryUploadPath = '/tmp';
public function __construct($objParentObject, $strControlId = null) {
parent::__construct($objParentObject, $strControlId);
// Setup Default Properties
$this->strTemplate = __DOCROOT__ . __PHP_ASSETS__ . '/_core/QFileAsset.tpl.php';
$this->DialogBoxCssClass = 'fileassetDbox';
$this->UploadText = QApplication::Translate('Upload');
$this->CancelText = QApplication::Translate('Cancel');
$this->btnUpload->Text = '<img src="' . __VIRTUAL_DIRECTORY__ . __IMAGE_ASSETS__ . '/add.png" alt="' . QApplication::Translate('Upload') . '" border="0"/> ' . QApplication::Translate('Upload');
$this->btnDelete->Text = '<img src="' . __VIRTUAL_DIRECTORY__ . __IMAGE_ASSETS__ . '/delete.png" alt="' . QApplication::Translate('Delete') . '" border="0"/> ' . QApplication::Translate('Delete');
$this->DialogBoxHtml = '<h1>Upload a File</h1><p>Please select a file to upload.</p>';
}
}
?>