Skip to content

Commit

Permalink
[+] Compatibilité plugin plxMyMultiLingue
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane committed Feb 20, 2014
1 parent 4c5d057 commit e9a83d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.5.6 (20/02/2014) ##
[+] Compatibilité plugin plxMyMultiLingue

## Version 1.5.5 (13/12/2013) ##
[+] Ajout d'un champ texte qui s'affiche au dessus du formulaire paramétrable depuis l'interface (contribution JulesVincent)
[+] Balise title dans le lien du menu de la page de contact
Expand Down
4 changes: 2 additions & 2 deletions infos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<document>
<title><![CDATA[MyContact]]></title>
<author><![CDATA[Stephane F.]]></author>
<version>1.5.5</version>
<date>13/12/2013</date>
<version>1.5.6</version>
<date>20/02/2014</date>
<site>http://pluxopolis.net</site>
<description><![CDATA[Ajoute une page de contact à votre PluXml]]></description>
<requirements></requirements>
Expand Down
3 changes: 2 additions & 1 deletion plxMyContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public function plxMotorPreChauffageBegin() {
$string = "
if(\$this->get && preg_match('/^contact\/?/',\$this->get)) {
\$this->mode = 'contact';
\$this->cible = '../../plugins/plxMyContact/form';
\$prefix = str_repeat('../', substr_count(trim(PLX_ROOT.\$this->aConf['racine_statiques'], '/'), '/'));
\$this->cible = \$prefix.'plugins/plxMyContact/form';
\$this->template = '".$template."';
return true;
}
Expand Down

0 comments on commit e9a83d6

Please sign in to comment.