*/
class Mage_Core_Block_Html_Date extends Mage_Core_Block_Template
{
protected function _toHtml()
{
$displayFormat = Varien_Date::convertZendToStrFtime($this->getFormat(), true, (bool)$this->getTime());
$html = 'escapeHtml($this->getValue()) . '" class="' . $this->getClass() . '" ' . $this->getExtraParams() . '/> ';
$html .= 'helper('core')->__('Select Date') . '" id="' . $this->getId() . '_trig" />';
$html .=
'';
return $html;
}
public function getEscapedValue($index=null) {
if($this->getFormat() && $this->getValue()) {
return strftime($this->getFormat(), strtotime($this->getValue()));
}
return htmlspecialchars($this->getValue());
}
public function getHtml()
{
return $this->toHtml();
}
}