// Update blockcontactinfos
This commit is contained in:
@@ -77,25 +77,21 @@ class blockcontactinfos extends Module
|
|||||||
$content = '
|
$content = '
|
||||||
<h2>'.$this->displayName.'</h2>
|
<h2>'.$this->displayName.'</h2>
|
||||||
<form action="'.Tools::htmlentitiesutf8($_SERVER['REQUEST_URI']).'" method="post">
|
<form action="'.Tools::htmlentitiesutf8($_SERVER['REQUEST_URI']).'" method="post">
|
||||||
<fieldset class="width2">
|
<fieldset>
|
||||||
<p><label for="company">'.$this->l('Company name').' :</label>
|
<p><label for="company">'.$this->l('Company name').' :</label>
|
||||||
<input type="text" id="company" name="company" value="'.Configuration::get('blockcontactinfos_company').'" /></p>
|
<input type="text" id="company" name="company" value="'.Configuration::get('blockcontactinfos_company').'" /></p>
|
||||||
<p><label for="address">'.$this->l('Address').' :</label>
|
<p><label for="address">'.$this->l('Address').' :</label>
|
||||||
<textarea id="address" name="address">'.Configuration::get('blockcontactinfos_address').'</textarea></p>
|
<textarea id="address" name="address" cols="60" rows="4">'.Configuration::get('blockcontactinfos_address').'</textarea></p>
|
||||||
<p><label for="phone">'.$this->l('Phone number').' :</label>
|
<p><label for="phone">'.$this->l('Phone number').' :</label>
|
||||||
<input type="text" id="phone" name="phone" value="'.Configuration::get('blockcontactinfos_phone').'" /></p>
|
<input type="text" id="phone" name="phone" value="'.Configuration::get('blockcontactinfos_phone').'" /></p>
|
||||||
<p><label for="email">'.$this->l('Email').' :</label>
|
<p><label for="email">'.$this->l('Email').' :</label>
|
||||||
<input type="text" id="email" name="email" value="'.Configuration::get('blockcontactinfos_email').'" /> </p>
|
<input type="text" id="email" name="email" value="'.Configuration::get('blockcontactinfos_email').'" /> </p>
|
||||||
<div class="clear"> </div>
|
<div class="margin-form">
|
||||||
<br /><center><input type="submit" name="submitModule" value="'.$this->l('Update settings').'" class="button" /></center>
|
<input type="submit" name="submitModule" value="'.$this->l('Update settings').'" class="button" /></center>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
<div class="clear"> </div>
|
';
|
||||||
<fieldset>
|
|
||||||
<legend>Addons</legend>
|
|
||||||
'.$this->l('This module has been developped by PrestaShop and can only be sold through').' <a href="http://addons.prestashop.com">addons.prestashop.com</a>.<br />
|
|
||||||
'.$this->l('Please report all bugs to').' <a href="mailto:addons@prestashop.com">addons@prestashop.com</a> '.$this->l('or using our').' <a href="http://addons.prestashop.com/contact-form.php">'.$this->l('contact form').'</a>.
|
|
||||||
</fieldset>';
|
|
||||||
|
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
@@ -113,4 +109,4 @@ class blockcontactinfos extends Module
|
|||||||
return $this->display(__FILE__, 'blockcontactinfos.tpl');
|
return $this->display(__FILE__, 'blockcontactinfos.tpl');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user