// changed English strings, especially focusing on colons harmonization
This commit is contained in:
@@ -40,7 +40,7 @@ class BlockSupplier extends Module
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Suppliers block');
|
||||
$this->description = $this->l('Adds a block displaying suppliers.');
|
||||
$this->description = $this->l('Adds a block displaying product suppliers.');
|
||||
}
|
||||
|
||||
function install()
|
||||
@@ -103,22 +103,22 @@ class BlockSupplier extends Module
|
||||
$output = '
|
||||
<form action="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'" method="post">
|
||||
<fieldset><legend><img src="'.$this->_path.'logo.gif" alt="" title="" />'.$this->l('Settings').'</legend>
|
||||
<label>'.$this->l('Use a plain-text list').'</label>
|
||||
<label>'.$this->l('Use a plain-text list.').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="radio" name="text_list" id="text_list_on" value="1" '.(Tools::getValue('text_list', Configuration::get('SUPPLIER_DISPLAY_TEXT')) ? 'checked="checked" ' : '').'/>
|
||||
<label class="t" for="text_list_on"> <img src="../img/admin/enabled.gif" alt="'.$this->l('Enabled').'" title="'.$this->l('Enabled').'" /></label>
|
||||
<input type="radio" name="text_list" id="text_list_off" value="0" '.(!Tools::getValue('text_list', Configuration::get('SUPPLIER_DISPLAY_TEXT')) ? 'checked="checked" ' : '').'/>
|
||||
<label class="t" for="text_list_off"> <img src="../img/admin/disabled.gif" alt="'.$this->l('Disabled').'" title="'.$this->l('Disabled').'" /></label>
|
||||
'.$this->l('Display').' <input type="text" size="2" name="text_nb" value="'.(int)Tools::getValue('text_nb', Configuration::get('SUPPLIER_DISPLAY_TEXT_NB')).'" /> '.$this->l('elements').'
|
||||
<p class="clear">'.$this->l('To display suppliers as a plain-text list').'</p>
|
||||
'.$this->l('Display').' <input type="text" size="2" name="text_nb" value="'.(int)Tools::getValue('text_nb', Configuration::get('SUPPLIER_DISPLAY_TEXT_NB')).'" /> '.$this->l('Elements').'
|
||||
<p class="clear">'.$this->l('Display suppliers as a plain-text list').'</p>
|
||||
</div>
|
||||
<label>'.$this->l('Use a drop-down list').'</label>
|
||||
<label>'.$this->l('Use a drop-down list.').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="radio" name="form_list" id="form_list_on" value="1" '.(Tools::getValue('form_list', Configuration::get('SUPPLIER_DISPLAY_FORM')) ? 'checked="checked" ' : '').'/>
|
||||
<label class="t" for="form_list_on"> <img src="../img/admin/enabled.gif" alt="'.$this->l('Enabled').'" title="'.$this->l('Enabled').'" /></label>
|
||||
<input type="radio" name="form_list" id="form_list_off" value="0" '.(!Tools::getValue('form_list', Configuration::get('SUPPLIER_DISPLAY_FORM')) ? 'checked="checked" ' : '').'/>
|
||||
<label class="t" for="form_list_off"> <img src="../img/admin/disabled.gif" alt="'.$this->l('Disabled').'" title="'.$this->l('Disabled').'" /></label>
|
||||
<p class="clear">'.$this->l('To display suppliers as a drop-down list').'</p>
|
||||
<p class="clear">'.$this->l('Display suppliers as a drop-down list.').'</p>
|
||||
</div>
|
||||
<center><input type="submit" name="submitBlockSuppliers" value="'.$this->l('Save').'" class="button" /></center>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user