Skip to content

Commit af8d068

Browse files
authored
Backend grid heads - Remove colons after To, From and In words (#2267)
1 parent acb4505 commit af8d068

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Date.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ public function getHtml()
5050
$htmlId = $this->_getHtmlId() . microtime(true);
5151
$format = $this->getLocale()->getDateStrFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);
5252
$html = '<div class="range"><div class="range-line date">'
53-
. '<span class="label">' . Mage::helper('adminhtml')->__('From').':</span>'
53+
. '<span class="label">' . Mage::helper('adminhtml')->__('From').'</span>'
5454
. '<input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$htmlId.'_from"'
5555
. ' value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/>'
5656
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'
5757
. ' id="'.$htmlId.'_from_trig"'
5858
. ' title="' . $this->escapeHtml(Mage::helper('adminhtml')->__('Date selector')) . '"/>'
5959
. '</div>';
6060
$html.= '<div class="range-line date">'
61-
. '<span class="label">' . Mage::helper('adminhtml')->__('To').' :</span>'
61+
. '<span class="label">' . Mage::helper('adminhtml')->__('To').'</span>'
6262
. '<input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$htmlId.'_to"'
6363
. ' value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/>'
6464
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'

app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Datetime.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ public function getHtml()
116116
}
117117

118118
$html = '<div class="range"><div class="range-line date">'
119-
. '<span class="label">' . Mage::helper('adminhtml')->__('From').':</span>'
119+
. '<span class="label">' . Mage::helper('adminhtml')->__('From').'</span>'
120120
. '<input type="text" name="'.$this->_getHtmlName().'[from]" id="'.$htmlId.'_from"'
121121
. ' value="'.$this->getEscapedValue('from').'" class="input-text no-changes"/>'
122122
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'
123123
. ' id="'.$htmlId.'_from_trig"'
124124
. ' title="'.$this->escapeHtml(Mage::helper('adminhtml')->__('Date selector')).'"/>'
125125
. '</div>';
126126
$html.= '<div class="range-line date">'
127-
. '<span class="label">' . Mage::helper('adminhtml')->__('To').' :</span>'
127+
. '<span class="label">' . Mage::helper('adminhtml')->__('To').'</span>'
128128
. '<input type="text" name="'.$this->_getHtmlName().'[to]" id="'.$htmlId.'_to"'
129129
. ' value="'.$this->getEscapedValue('to').'" class="input-text no-changes"/>'
130130
. '<img src="' . Mage::getDesign()->getSkinUrl('images/grid-cal.gif') . '" alt="" class="v-middle"'

app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Price.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Price
4040
public function getHtml()
4141
{
4242
$html = '<div class="range">';
43-
$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>';
44-
$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>';
43+
$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>';
44+
$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>';
4545
if ($this->getDisplayCurrencySelect())
46-
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('In').': </span>' . $this->_getCurrencySelectHtml() . '</div>';
46+
$html .= '<div class="range-line"><span class="label">' . Mage::helper('adminhtml')->__('In').'</span>' . $this->_getCurrencySelectHtml() . '</div>';
4747
$html .= '</div>';
4848

4949
return $html;

app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Range.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Range extends Mage_Adminhtm
3535
{
3636
public function getHtml()
3737
{
38-
$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>';
39-
$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>';
38+
$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>';
39+
$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>';
4040
return $html;
4141
}
4242

0 commit comments

Comments
 (0)