Merge branch 'master' into modules
Conflicts: core/lib/Thelia/Core/Template/Assets/AsseticAssetManager.php core/lib/Thelia/Core/Template/Smarty/SmartyParser.php
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
<column name="description" type="CLOB" />
|
||||
<column name="chapo" type="LONGVARCHAR" />
|
||||
<column name="postscriptum" type="LONGVARCHAR" />
|
||||
<column name="template_id" type="INTEGER" />
|
||||
<column name="meta_title" size="255" type="VARCHAR" />
|
||||
<column name="meta_description" type="LONGVARCHAR" />
|
||||
<column name="meta_keyword" type="LONGVARCHAR" />
|
||||
<foreign-key foreignTable="tax_rule" name="fk_product_tax_rule_id" onDelete="RESTRICT" onUpdate="RESTRICT">
|
||||
<reference foreign="id" local="tax_rule_id" />
|
||||
@@ -46,7 +49,7 @@
|
||||
<index-column name="template_id" />
|
||||
</index>
|
||||
<behavior name="timestampable" />
|
||||
<behavior name="i18n">
|
||||
<behavior name="i18n">
|
||||
<parameter name="i18n_columns" value="title, description, chapo, postscriptum, meta_title, meta_description, meta_keyword" />
|
||||
</behavior>
|
||||
<behavior name="versionable">
|
||||
@@ -820,6 +823,10 @@
|
||||
<column name="title" type="LONGVARCHAR" />
|
||||
<column name="subject" type="LONGVARCHAR" />
|
||||
<column name="text_message" type="CLOB" />
|
||||
<column name="html_message" type="CLOB" />
|
||||
<column name="text_layout_file_name" size="255" type="VARCHAR" />
|
||||
<column name="text_template_file_name" size="255" type="VARCHAR" />
|
||||
<column name="html_layout_file_name" size="255" type="VARCHAR" />
|
||||
<column name="html_template_file_name" size="255" type="VARCHAR" />
|
||||
<unique name="name_UNIQUE">
|
||||
<unique-column name="name" />
|
||||
|
||||
@@ -47,7 +47,7 @@ class ContactController extends BaseFrontController
|
||||
|
||||
$message = \Swift_Message::newInstance($form->get('subject')->getData())
|
||||
->addFrom($form->get('email')->getData(), $form->get('name')->getData())
|
||||
->addTo(ConfigQuery::read('contact_email'), ConfigQuery::read('company_name'))
|
||||
->addTo(ConfigQuery::read('store_email'), ConfigQuery::read('store_name'))
|
||||
->setBody($form->get('message')->getData())
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user