Changeset 14428 for extensions
- Timestamp:
- Apr 26, 2012, 1:18:31 AM (13 years ago)
- Location:
- extensions/ContactForm
- Files:
-
- 2 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/classes/cf_plugin.class.php
r12925 r14428 187 187 'cf_form' => realpath(cf_get_template('cf_form.tpl')), 188 188 'cf_messages' => realpath(cf_get_template('cf_messages.tpl')), 189 )); 190 191 //charge Persoform 192 $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';")); 193 if($PAED['state'] == 'active') add_event_handler('AP_render_content', 'get_user_language_desc'); 194 195 $query = ' 196 select param,value 197 FROM ' . CONFIG_TABLE . ' 198 WHERE param = "persoformtop" 199 ;'; 200 $result = pwg_query($query); 201 $row = mysql_fetch_array($result); 202 $persoformtop=trigger_event('AP_render_content', $row['value']); 203 $template->assign( 204 array( 205 'PERSOFORMTOP' => $persoformtop, 206 )); 207 208 $query = ' 209 select param,value 210 FROM ' . CONFIG_TABLE . ' 211 WHERE param = "persoformbottom" 212 ;'; 213 $result = pwg_query($query); 214 $row = mysql_fetch_array($result); 215 $persoformbottom=trigger_event('AP_render_content', $row['value']); 216 $template->assign( 217 array( 218 'PERSOFORMBOTTOM' => $persoformbottom, 189 219 )); 190 220 -
extensions/ContactForm/config.php
r9070 r14428 8 8 $config_tabs[]='config'; 9 9 $config_tabs[]='emails'; 10 $config_tabs[]='persoform'; 10 11 11 12 global $template, $page; -
extensions/ContactForm/language/en_UK/plugin.lang.php
r14044 r14428 67 67 $lang['cf_no_mail'] = 'No e-mail address available'; 68 68 $lang['cf_refresh'] = 'Regenerate e-mail list address'; 69 // persoformtab 70 $lang['cf_tab_persoform'] = 'Add text Form'; 71 $lang['Add text to the contact form'] = 'Add text to the contact form'; 72 $lang['Add text above'] = 'Add text above'; 73 $lang['Add text below'] = 'Add text below'; 74 $lang['use tag < div id="persoformtop" > to customize your personal text'] = 'use tag < div id="persoformtop" > to customize your personal text'; 75 $lang['use tag < div id="persoformbottom" > to customize your personal text'] = 'use tag < div id="persoformbottom" > to customize your personal text'; 76 $lang['if plugin ExtendedDescription is actif, you can use tags [lang]'] = 'if plugin ExtendedDescription is actif, you can use tags [lang]'; 69 77 ?> -
extensions/ContactForm/language/fr_FR/plugin.lang.php
r14140 r14428 67 67 $lang['cf_no_mail'] = 'Aucune adresse e-mail disponible'; 68 68 $lang['cf_refresh'] = 'Regénérer la liste des adresses'; 69 // persoformtab 70 $lang['cf_tab_persoform'] = 'Ajouter texte perso au Formulaire'; 71 $lang['Add text to the contact form'] = 'Ajouter du texte au formulaire de contact'; 72 $lang['Add text above'] = 'Texte ajouter au dessus'; 73 $lang['Add text below'] = 'Texte ajouter en dessous'; 74 $lang['use tag < div id="persoformtop" > to customize your personal text'] = 'utiiser la balise < div id="persoformtop" > pour personaliser le texte'; 75 $lang['use tag < div id="persoformbottom" > to customize your personal text'] = 'utiiser la balise < div id="persoformbottom" > pour personaliser le texte'; 76 $lang['if plugin ExtendedDescription is actif, you can use tags [lang]'] = 'Si le plugin ExtendedDescription est actif, vous pouvez utiliser les balises [lang]'; 69 77 ?> -
extensions/ContactForm/themes/cf_form.tpl
r10035 r14428 28 28 } 29 29 {/literal}{/footer_script} 30 30 <div id="persoformtop">{$PERSOFORMTOP}</div> 31 31 <div id="autre_content" class="contact-form"> 32 32 <form method="post" action="{$CF.F_ACTION}" class="filter" id="contactform" onsubmit="return cf_validate();"> … … 73 73 </form> 74 74 </div> 75 <div id="persoformbottom">{$PERSOFORMBOTTOM}</div> -
extensions/ContactForm/themes/simple-black/cf_form.tpl
r10035 r14428 55 55 } 56 56 {/literal}{/footer_script} 57 57 <div id="persoformtop">{$PERSOFORMTOP}</div> 58 58 <div id="subcontent" class="contact-form"> 59 59 <form method="post" action="{$CF.F_ACTION}" class="filter" id="contactform" onsubmit="return cf_validate();"> … … 100 100 </form> 101 101 </div> 102 <div id="persoformbottom">{$PERSOFORMBOTTOM}</div> -
extensions/ContactForm/themes/simple-sunset/cf_form.tpl
r10035 r14428 55 55 } 56 56 {/literal}{/footer_script} 57 57 <div id="persoformtop">{$PERSOFORMTOP}</div> 58 58 <div id="subcontent" class="contact-form"> 59 59 <form method="post" action="{$CF.F_ACTION}" class="filter" id="contactform" onsubmit="return cf_validate();"> … … 100 100 </form> 101 101 </div> 102 <div id="persoformbottom">{$PERSOFORMBOTTOM}</div> -
extensions/ContactForm/themes/simple-white/cf_form.tpl
r10035 r14428 55 55 } 56 56 {/literal}{/footer_script} 57 57 <div id="persoformtop">{$PERSOFORMTOP}</div> 58 58 <div id="subcontent" class="contact-form"> 59 59 <form method="post" action="{$CF.F_ACTION}" class="filter" id="contactform" onsubmit="return cf_validate();"> … … 100 100 </form> 101 101 </div> 102 <div id="persoformbottom">{$PERSOFORMBOTTOM}</div> -
extensions/ContactForm/themes/simple/cf_form.tpl
r10035 r14428 55 55 } 56 56 {/literal}{/footer_script} 57 57 <div id="persoformtop">{$PERSOFORMTOP}</div> 58 58 <div id="subcontent" class="contact-form"> 59 59 <form method="post" action="{$CF.F_ACTION}" class="filter" id="contactform" onsubmit="return cf_validate();"> … … 100 100 </form> 101 101 </div> 102 <div id="persoformbottom">{$PERSOFORMBOTTOM}</div> -
extensions/ContactForm/themes/stripped/cf_form.tpl
r12933 r14428 55 55 } 56 56 {/literal}{/footer_script} 57 57 <div id="persoformtop">{$PERSOFORMTOP}</div> 58 58 <div id="subcontent" class="contact-form"> 59 59 <form method="post" action="{$CF.F_ACTION}" class="filter" id="contactform" onsubmit="return cf_validate();"> … … 100 100 </form> 101 101 </div> 102 <div id="persoformbottom">{$PERSOFORMBOTTOM}</div>
Note: See TracChangeset
for help on using the changeset viewer.