Skip to content

Commit

Permalink
Backend grid heads - Remove colons after To, From and In words (OpenM…
Browse files Browse the repository at this point in the history
  • Loading branch information
addison74 authored and elidrissidev committed Jul 9, 2022
1 parent 1d93dab commit 0d6fc77
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ public function getHtml()
$htmlId = $this->_getHtmlId() . microtime(true);
$format = $this->getLocale()->getDateStrFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);
$html = '<div class="range"><div class="range-line date">'
. '<span class="label">' . Mage::helper('adminhtml')->__('From').':</span>'
. '<span class="label">' . Mage::helper('adminhtml')->__('From').'</span>'
. '<input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$htmlId.'_from"'
. ' value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/>'
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'
. ' id="'.$htmlId.'_from_trig"'
. ' title="' . $this->escapeHtml(Mage::helper('adminhtml')->__('Date selector')) . '"/>'
. '</div>';
$html.= '<div class="range-line date">'
. '<span class="label">' . Mage::helper('adminhtml')->__('To').' :</span>'
. '<span class="label">' . Mage::helper('adminhtml')->__('To').'</span>'
. '<input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$htmlId.'_to"'
. ' value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/>'
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ public function getHtml()
}

$html = '<div class="range"><div class="range-line date">'
. '<span class="label">' . Mage::helper('adminhtml')->__('From').':</span>'
. '<span class="label">' . Mage::helper('adminhtml')->__('From').'</span>'
. '<input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$htmlId.'_from"'
. ' value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/>'
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'
. ' id="'.$htmlId.'_from_trig"'
. ' title="'.$this->escapeHtml(Mage::helper('adminhtml')->__('Date selector')).'"/>'
. '</div>';
$html.= '<div class="range-line date">'
. '<span class="label">' . Mage::helper('adminhtml')->__('To').' :</span>'
. '<span class="label">' . Mage::helper('adminhtml')->__('To').'</span>'
. '<input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$htmlId.'_to"'
. ' value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/>'
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Price
public function getHtml()
{
$html = '<div class="range">';
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('From').':</span> <input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$this->_getHtmlId().'_from" value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/></div>';
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('To').': </span><input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$this->_getHtmlId().'_to" value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/></div>';
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('From').'</span> <input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$this->_getHtmlId().'_from" value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/></div>';
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('To').'</span><input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$this->_getHtmlId().'_to" value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/></div>';
if ($this->getDisplayCurrencySelect())
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('In').': </span>' . $this->_getCurrencySelectHtml() . '</div>';
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('In').'</span>' . $this->_getCurrencySelectHtml() . '</div>';
$html .= '</div>';

return $html;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Range extends Mage_Adminhtm
{
public function getHtml()
{
$html = '<div class="range"><div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('From').':</span> <input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$this->_getHtmlId().'_from" value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/></div>';
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('To').': </span><input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$this->_getHtmlId().'_to" value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/></div></div>';
$html = '<div class="range"><div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('From').'</span> <input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$this->_getHtmlId().'_from" value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/></div>';
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('To').'</span><input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$this->_getHtmlId().'_to" value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/></div></div>';
return $html;
}

Expand Down

0 comments on commit 0d6fc77

Please sign in to comment.