14 define(
'IN_PEEL_ADMIN',
true);
15 include(
"../configuration.inc.php");
25 if (!empty(
$frm[
'logo']) && strpos(
$frm[
'logo'],
'http') ===
false) {
31 if (!empty($_GET[
'mode']) && in_array($_GET[
'mode'], array(
'insere',
'ajout',
'duplicate',
'suppr')) &&
$_SESSION[
'session_utilisateur'][
'site_id']>0) {
34 $_GET[
'mode'] =
'default';
37 switch (
vb($_GET[
'mode'])) {
38 case "siteid_to_SET" :
42 query(
"ALTER TABLE `peel_admins_actions` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
43 ALTER TABLE `peel_articles` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
44 ALTER TABLE `peel_categories` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
45 ALTER TABLE `peel_codes_promos` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
46 ALTER TABLE `peel_commandes` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
47 ALTER TABLE `peel_commandes_cadeaux` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
48 ALTER TABLE `peel_configuration` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
49 ALTER TABLE `peel_devises` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
50 ALTER TABLE `peel_html` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
51 ALTER TABLE `peel_langues` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
52 ALTER TABLE `peel_marques` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
53 ALTER TABLE `peel_meta` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
54 ALTER TABLE `peel_produits` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
55 ALTER TABLE `peel_rubriques` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
56 ALTER TABLE `peel_societe` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
57 ALTER TABLE `peel_tarifs` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
58 ALTER TABLE `peel_utilisateurs` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
59 ALTER TABLE `peel_utilisateur_connexions` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
60 ALTER TABLE `peel_vignettes_carrousels` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';
61 ALTER TABLE `peel_zones` CHANGE `site_id` `site_id` SET('0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31') NOT NULL DEFAULT '1';");
73 $frm[
'favicon'] =
upload(
'favicon',
false,
'image_or_ico',
$GLOBALS[
'site_parameters'][
'image_max_width'],
$GLOBALS[
'site_parameters'][
'image_max_height'], null, null,
vb(
$frm[
'favicon']));
74 $frm[
'default_picture'] =
upload(
'default_picture',
false,
'image_or_ico',
$GLOBALS[
'site_parameters'][
'image_max_width'],
$GLOBALS[
'site_parameters'][
'image_max_height'], null, null,
vb(
$frm[
'default_picture']));
86 'nom_'.
$_SESSION[
'session_langue'] => sprintf($GLOBALS[
'STR_MISSED_ATTRIBUT_MANDATORY'], $GLOBALS[
'STR_ADMIN_SITES_SITE_NAME']) .
'.',
87 'wwwroot' => sprintf($GLOBALS[
'STR_MISSED_ATTRIBUT_MANDATORY'], $GLOBALS[
'STR_ADMIN_WWWROOT']) .
'.'));
92 if(!empty(
$frm[
'install'])) {
94 foreach(
$frm[
'install'] as $this_module => $install_or_uninstall) {
98 if($install_or_uninstall != $class_name::check_install()) {
99 if(!isset($GLOBALS[$class_name])) {
100 $GLOBALS[$class_name] =
new $class_name();
102 if($install_or_uninstall) {
103 $installed = $GLOBALS[$class_name]->install();
105 $uninstalled = $GLOBALS[$class_name]->uninstall();
107 $output .= $GLOBALS[$class_name]->get_messages();
115 $frm[
'site_id'] = $_GET[
'id'];
117 $output .= $GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' => $GLOBALS[
'STR_ADMIN_SITES_MSG_UPDATED_OK']))->fetch();
122 $output .= $GLOBALS[
'tplEngine']->createTemplate(
'global_error.tpl', array(
'message' => $text))->fetch();
141 if(
$_SESSION[
'session_utilisateur'][
'site_id'] == 0) {
142 $_SESSION[
'session_admin_multisite'] = 0;
145 duplicate_site(intval($_GET[
'id']));
165 'nom_'.
$_SESSION[
'session_langue'] => sprintf($GLOBALS[
'STR_MISSED_ATTRIBUT_MANDATORY'],
'"'.$GLOBALS[
'STR_ADMIN_SITES_SITE_NAME'].
'"') .
'.',
166 'wwwroot' => sprintf($GLOBALS[
'STR_MISSED_ATTRIBUT_MANDATORY'],
'"'.$GLOBALS[
'STR_ADMIN_WWWROOT'].
'"').
'.'));
170 FROM peel_configuration');
172 $frm[
'site_id'] = $new_site_id[
'site_id']+1;
173 $frm[
'favicon'] =
upload(
'favicon',
false,
'image_or_ico', $GLOBALS[
'site_parameters'][
'image_max_width'], $GLOBALS[
'site_parameters'][
'image_max_height'], null, null,
vb(
$frm[
'favicon']));
174 $frm[
'default_picture'] =
upload(
'default_picture',
false,
'image_or_ico', $GLOBALS[
'site_parameters'][
'image_max_width'], $GLOBALS[
'site_parameters'][
'image_max_height'], null, null,
vb(
$frm[
'default_picture']));
178 if(
$_SESSION[
'session_utilisateur'][
'site_id'] == 0) {
179 $_SESSION[
'session_admin_multisite'] = 0;
182 $output .= $GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' => sprintf($GLOBALS[
'STR_ADMIN_SITES_MSG_INSERTED_OK'],
$frm[
'nom_' .
$_SESSION[
'session_langue']])))->fetch();
187 $output .= $GLOBALS[
'tplEngine']->createTemplate(
'global_error.tpl', array(
'message' => $text))->fetch();
193 case "supprfavicon" :
199 case "supprdefault_picture" :
210 include(
$GLOBALS[
'repertoire_modele'] .
"/admin_haut.php");
212 include(
$GLOBALS[
'repertoire_modele'] .
"/admin_bas.php");
227 $urlsite =
'http://' . $_SERVER[
'HTTP_HOST'];
228 $urlscript = dirname($_SERVER[
'PHP_SELF']);
229 $url = ($urlscript ==
'/') ? trim($urlsite) : trim($urlsite . $urlscript);
232 $frm[
'default_country_id'] =
vn(
$GLOBALS[
'site_parameters'][
'default_country_id']);
233 foreach(
$GLOBALS[
'admin_lang_codes'] as $lng) {
234 $frm[
'nom_' . $lng] =
"";
235 $frm[
'logo_' . $lng] =
"";
237 $frm[
'pays_exoneration_tva'] =
"";
239 $frm[
'template_directory'] =
"";
240 $frm[
'template_multipage'] =
"";
241 $frm[
'url'] = str_replace(array(
"/administrer",
'/' .
$GLOBALS[
'site_parameters'][
'backoffice_directory_name']),
"",
$url);
243 $frm[
'favicon'] =
"";
244 $frm[
'timemax'] = 1800;
246 $frm[
'seuil_total'] = 100;
247 $frm[
'seuil_total_reve'] = 100;
248 $frm[
'module_retail'] = 1;
249 $frm[
'module_affilie'] = 1;
250 $frm[
'commission_affilie'] = 5;
251 $frm[
'module_lot'] = 1;
252 $frm[
'module_parrain'] = 1;
253 $frm[
'module_cadeau'] = 1;
254 $frm[
'module_devise'] = 1;
256 $frm[
'devise_defaut'] =
'';
257 $frm[
'module_nuage'] = 1;
258 $frm[
'module_flash'] = 1;
259 $frm[
'module_captcha'] = 1;
260 $frm[
'module_cart_preservation'] = 1;
261 $frm[
'module_pub'] = 1;
262 $frm[
'module_faq'] = 1;
263 $frm[
'module_vacances'] = 1;
264 $frm[
'module_vacances_type'] = 0;
265 $frm[
'facebook_connect'] = 0;
266 $frm[
'fb_appid'] =
"";
267 $frm[
'fb_secret'] =
"";
268 $frm[
'fb_baseurl'] =
"";
269 foreach (
$GLOBALS[
'admin_lang_codes'] as $lng) {
270 $frm[
'module_vacances_client_msg_' . $lng] =
"";
272 $frm[
'module_precedent_suivant'] = 1;
273 $frm[
'in_category'] = 1;
274 $frm[
'module_forum'] = 1;
275 $frm[
'module_conditionnement'] = 1;
276 $frm[
'module_giftlist'] = 1;
277 $frm[
'module_rss'] = 1;
278 $frm[
'module_ecotaxe'] = 1;
279 $frm[
'module_url_rewriting'] = 1;
280 $frm[
'module_entreprise'] = 0;
281 $frm[
'display_prices_with_taxes'] = 1;
282 $frm[
'display_prices_with_taxes_in_admin'] = 1;
283 $frm[
'html_editor'] = 0;
285 $frm[
'email_paypal'] =
"";
286 $frm[
'email_commande'] =
"";
287 $frm[
'email_webmaster'] =
"";
288 $frm[
'nom_expediteur'] =
"";
289 $frm[
'email_client'] =
"";
292 $frm[
'systempay_payment_count'] =
"";
293 $frm[
'systempay_payment_period'] =
"";
294 $frm[
'systempay_cle_test'] =
"";
295 $frm[
'systempay_cle_prod'] =
"";
296 $frm[
'systempay_test_mode'] =
"";
297 $frm[
'systempay_code_societe'] =
"";
298 $frm[
'paybox_cgi'] =
"";
299 $frm[
'paybox_site'] =
"";
300 $frm[
'paybox_rang'] =
"";
301 $frm[
'paybox_identifiant'] =
"";
302 $frm[
'email_moneybookers'] =
"";
303 $frm[
'secret_word'] =
"";
304 $frm[
'module_rollover'] = 1;
305 $frm[
'type_rollover'] = 1;
306 $frm[
'logo_affiliation'] =
"";
307 $frm[
'small_order_overcost_limit'] =
"";
308 $frm[
'small_order_overcost_amount'] =
"";
309 $frm[
'small_order_overcost_tva_percent'] =
"";
310 $frm[
'minimal_amount_to_order'] =
"";
311 $frm[
'minimal_amount_to_order_reve'] =
"";
312 $frm[
'mode_transport'] = 1;
313 $frm[
'format_numero_facture'] =
"[id]";
314 $frm[
'module_socolissimo'] = 1;
315 $frm[
'module_icirelais'] = 1;
316 $frm[
'module_autosend'] = 0;
317 $frm[
'module_autosend_delay'] = 5;
318 $frm[
'fb_admins'] =
'';
319 $frm[
'facebook_page_link'] =
'';
320 $frm[
'socolissimo_foid'] =
"";
321 $frm[
'socolissimo_sha1_key'] =
"";
322 $frm[
'socolissimo_urlok'] =
"";
323 $frm[
'socolissimo_urlko'] =
"";
324 $frm[
'socolissimo_preparationtime'] =
"";
325 $frm[
'socolissimo_forwardingcharges'] =
"";
326 $frm[
'socolissimo_firstorder'] =
"";
327 $frm[
'socolissimo_pointrelais'] =
"";
328 $frm[
'socolissimo_dyForwardingChargesCMT'] =
"";
329 $frm[
'tag_analytics'] =
"";
330 $frm[
'availability_of_carrier'] = 0;
331 $frm[
'allow_add_product_with_no_stock_in_cart'] =
"0";
332 $frm[
'zoom'] =
"jqzoom";
333 $frm[
'enable_prototype'] =
"";
334 $frm[
'enable_jquery'] = 1;
335 $frm[
'send_email_active'] = 1;
336 $frm[
'display_errors_for_ips'] =
"";
337 $frm[
'display_nb_product'] =
"0";
338 $frm[
'module_tnt'] = 0;
339 $frm[
'module_filtre'] = 1;
340 $frm[
'tnt_username'] = 0;
341 $frm[
'tnt_password'] = 0;
342 $frm[
'tnt_account_number'] = 0;
343 $frm[
'expedition_delay'] = 0;
344 $frm[
'expedition_delay'] = 0;
345 $frm[
'export_encoding'] = 0;
346 $frm[
'category_count_method'] = 0;
347 $frm[
'sessions_duration'] = 180;
348 $frm[
'nb_produit_page'] = 10;
349 $frm[
'small_width'] = 160;
350 $frm[
'small_height'] = 160;
351 $frm[
'medium_width'] = 300;
352 $frm[
'medium_height'] = 300;
353 $frm[
'anim_prod'] = 1;
355 $frm[
'default_picture'] =
"";
359 FROM peel_configuration
361 ORDER BY site_id ASC';
364 if(!in_array(
$result[
'technical_code'], array(
'wwwroot'))) {
365 $frm[
$result[
'technical_code']] = $result[
'string'];
369 $frm[
'nouveau_mode'] =
"insere";
392 FROM peel_configuration
394 ORDER BY site_id ASC';
397 $frm[
$result[
'technical_code']] = $result[
'string'];
404 $frm[
"nouveau_mode"] =
"modif";
405 $frm[
"titre_bouton"] =
$GLOBALS[
'STR_ADMIN_FORM_SAVE_CHANGES'];
427 foreach(array(
'site_suspended',
'systempay_test_mode') as $this_field) {
428 if(isset(
$frm[$this_field])) {
429 if(
$frm[$this_field] ===
'false') {
430 $frm[$this_field] =
false;
432 $frm[$this_field] =
true;
436 $tpl =
$GLOBALS[
'tplEngine']->createTemplate(
'admin_formulaire_site.tpl');
440 $premium_modules_array = array(
'affiliation',
'birthday',
'cart_preservation',
'category_promotion',
'comparateur',
'download',
'duplicate',
441 'facture_advanced',
'faq',
'gift_check',
'gifts',
'good_clients',
'groups',
'lexique',
'lot',
'marges',
'marques_promotion',
'micro_entreprise',
442 'parrainage',
'picking',
'reseller',
'statistiques',
'stock_advanced',
'url_rewriting',
'welcome_ad');
443 $modules_light_default_names = array(
'expeditor' =>
$GLOBALS[
'STR_ADMIN_SITES_EXPEDITOR_MODULE'],
'facebook' =>
$GLOBALS[
'STR_ADMIN_SITES_FACEBOOK_MODULE'],
444 'icirelais' =>
$GLOBALS[
'STR_ADMIN_SITES_ICI_RELAIS_MODULE'],
'sips' =>
$GLOBALS[
'STR_ADMIN_SITES_SIPS_MODULE'],
445 'spplus' =>
$GLOBALS[
'STR_ADMIN_SITES_SPPLUS_MODULE'],
'paybox' =>
$GLOBALS[
'STR_ADMIN_SITES_PAYBOX_MODULE'],
446 'systempay' =>
$GLOBALS[
'STR_ADMIN_SITES_SYSTEMPAY'],
'partenaires' =>
$GLOBALS[
'STR_ADMIN_SITES_PARTNERS_MODULE'],
447 'ecotaxe' =>
$GLOBALS[
'STR_ADMIN_SITES_ECOTAX_MODULE'],
'devises' =>
$GLOBALS[
'STR_ADMIN_SITES_CURRENCIES_MODULE'],
448 'paypal' =>
$GLOBALS[
'STR_ADMIN_SITES_PAYPAL_MODULE'],
'moneybookers' =>
$GLOBALS[
'STR_ADMIN_SITES_MONEYBOOKERS_MODULE'],
449 'kekoli' =>
$GLOBALS[
'STR_ADMIN_SITES_KEKOLI_MODULE'],
'tag_cloud' =>
$GLOBALS[
'STR_ADMIN_SITES_TAG_CLOUD_MODULE'],
450 'flash' =>
$GLOBALS[
'STR_ADMIN_SITES_FLASH_SALES_MODULE'],
'rss' =>
$GLOBALS[
'STR_ADMIN_SITES_RSS_MODULE'],
451 'avis' =>
$GLOBALS[
'STR_ADMIN_SITES_OPINIONS_MODULE'],
'stock_advanced' =>
$GLOBALS[
'STR_ADMIN_SITES_STOCKS_MODULE'],
452 'cart_preservation' =>
$GLOBALS[
'STR_ADMIN_SITES_CART_SAVE_MODULE'],
'affiliation' =>
$GLOBALS[
'STR_ADMIN_SITES_AFFILIATION_MODULE'],
453 'lots' =>
$GLOBALS[
'STR_ADMIN_SITES_PRODUCT_LOTS_MODULE'],
'parrainage' =>
$GLOBALS[
'STR_ADMIN_SITES_SPONSOR_MODULE'],
454 'url_rewriting' =>
$GLOBALS[
'STR_ADMIN_SITES_URL_REWRITING_MODULE'],
'micro_entreprise' =>
$GLOBALS[
'STR_ADMIN_SITES_MICROBUSINESS_MODULE'],
455 'birthday' =>
$GLOBALS[
'STR_ADMIN_SITES_BIRTHDAY_MODULE'],
'faq' =>
$GLOBALS[
'STR_ADMIN_SITES_FAQ_MODULE'],
456 'category_promotion' =>
$GLOBALS[
'STR_ADMIN_SITES_CATEGORIES_PROMOTION'],
'marques_promotion' =>
$GLOBALS[
'STR_ADMIN_SITES_TRADEMARK_PROMOTION'],
457 'conditionnement' =>
$GLOBALS[
'STR_ADMIN_SITES_PRODUCT_CONDITIONING_MODULE'],
'friends_connect' =>
$GLOBALS[
'STR_ADMIN_SITES_GOOGLE_FRIENDS_CONNECT_MODULE'],
458 'vacances' =>
$GLOBALS[
'STR_ADMIN_SITES_VACANCY_MODULE'],
'forum' =>
$GLOBALS[
'STR_ADMIN_SITES_FORUM_MODULE'],
459 'gifts_list' =>
$GLOBALS[
'STR_ADMIN_SITES_GIFTS_LIST'],
'so_colissimo' =>
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_MODULE'],
460 'vatlayer' =>
$GLOBALS[
'STR_ADMIN_SITES_VATLAYER_MODULE'],
465 while ($file = readdir($handle)) {
466 if ($file !=
"." && $file !=
".." && is_dir(
$modules_dir .
'/' . $file)) {
471 $tpl_modules_infos = array();
473 foreach($modules_on_disk as $this_module => $folder_path) {
477 if(!empty(
$GLOBALS[
'site_parameters'][
'modules_front_office_functions_files_array'][$this_module])) {
479 foreach(explode(
',',
$GLOBALS[
'site_parameters'][
'modules_front_office_functions_files_array'][$this_module]) as $this_file) {
481 if(
String::strpos(
$file_path,
'.php') !==
false && !in_array($this_file,
$GLOBALS[
'modules_loaded_functions']) && (empty(
$GLOBALS[
'site_parameters'][
'modules_no_library_load_array']) || !in_array($this_module,
$GLOBALS[
'site_parameters'][
'modules_no_library_load_array']))) {
488 foreach(array(
'fonctions.php',
'functions.php',
String::ucfirst($this_module) .
'.php') as $this_filename) {
489 if(!in_array(
String::strtolower(str_replace(
$GLOBALS[
'dirroot'],
'', $folder_path .
'/' . $this_filename)), array(
'/modules/calc/calc.php')) && file_exists($folder_path .
'/' . $this_filename)) {
491 $file_path = $folder_path .
'/' . $this_filename;
492 if(!in_array(str_replace(
$GLOBALS[
'dirroot'],
'',
$file_path),
$GLOBALS[
'site_parameters'][
'load_site_specific_files_before_others']) && !in_array(str_replace(
$GLOBALS[
'dirroot'],
'',
$file_path),
$GLOBALS[
'site_parameters'][
'load_site_specific_files_after_others'])) {
510 if(
String::strpos($this_folder,
'.php') ===
false && file_exists($this_folder)) {
511 if ($handle = opendir($this_folder)) {
512 while ($file = readdir($handle)) {
513 if ($file !=
"." && $file !=
".." &&
String::strpos($file,
'.php') !==
false) {
526 $GLOBALS[$class_name] =
new $class_name();
529 $installed = $class_name::check_install();
530 $version =
$GLOBALS[$class_name]->version;
531 $name =
$GLOBALS[$class_name]->name;
535 $name =
vb($modules_light_default_names[$this_module],
String::ucfirst($this_module));
536 if(empty($installed)) {
537 if(!empty($to_install)) {
538 foreach(array(
'peel_' . $this_module .
'.sql',
'' . $this_module .
'.sql') as $this_filename) {
539 if (file_exists(
$modules_dir .
'/' . $this_module .
'/' . $this_filename)) {
542 $output .=
$GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' =>
'SQL OK '.
$GLOBALS[
'STR_BEFORE_TWO_POINTS'].
': ' .
$GLOBALS[
'dirroot'] .
'/modules/' . $this_module .
'/' . $this_filename))->fetch();
544 $output .=
$GLOBALS[
'tplEngine']->createTemplate(
'global_error.tpl', array(
'message_to_escape' =>
$error_msg))->fetch();
550 if(!empty($to_install) && !in_array(str_replace(
$GLOBALS[
'dirroot'],
'', $to_install),
$GLOBALS[
'site_parameters'][
'load_site_specific_files_before_others']) && !in_array(str_replace(
$GLOBALS[
'dirroot'],
'', $to_install),
$GLOBALS[
'site_parameters'][
'load_site_specific_files_after_others'])) {
552 $GLOBALS[
'site_parameters'][
'modules_front_office_functions_files_array'][$this_module] = str_replace(
$GLOBALS[
'dirroot'],
'', $to_install);
553 set_configuration_variable(array(
'technical_code' =>
'modules_front_office_functions_files_array',
'string' =>
$GLOBALS[
'site_parameters'][
'modules_front_office_functions_files_array'],
'type' =>
'array',
'origin' =>
'sites.php',
'site_id' => 0),
true);
556 foreach(array(
'administrer/fonctions.php',
'admin/fonctions.php',
'administrer/functions.php',
'admin/functions.php') as $this_filename) {
557 if(file_exists($folder_path .
'/' . $this_filename)) {
559 $file_path = $folder_path .
'/' . $this_filename;
560 if(
String::strpos(
$file_path,
'.php') !==
false && !in_array(
vb(
$GLOBALS[
'site_parameters'][
'modules_admin_functions_array'][$this_module]),
$GLOBALS[
'modules_loaded_functions']) && (empty(
$GLOBALS[
'site_parameters'][
'modules_no_library_load_array']) || !in_array($this_module,
$GLOBALS[
'site_parameters'][
'modules_no_library_load_array']))) {
562 if(!in_array(str_replace(
$GLOBALS[
'dirroot'],
'',
$file_path),
$GLOBALS[
'site_parameters'][
'modules_admin_functions_array'])) {
563 $GLOBALS[
'site_parameters'][
'modules_admin_functions_array'][$this_module] = str_replace(
$GLOBALS[
'dirroot'],
'',
$file_path);
564 set_configuration_variable(array(
'technical_code' =>
'modules_admin_functions_array',
'string' =>
$GLOBALS[
'site_parameters'][
'modules_admin_functions_array'],
'type' =>
'array',
'origin' =>
'sites.php',
'site_id' => 0),
true);
576 while ($line = fgets(
$fp, 1024)) {
577 if(
String::substr($line, 0, 2) ==
'//' && preg_match(
"/PEEL (Shopping|Modules) ([0-9.]*)/i", $line, $matches)) {
578 $version = $matches[2];
585 if(!empty(
$GLOBALS[
'modules_installed'][$this_module]) || (empty(
$GLOBALS[
'site_parameters'][
'modules_front_office_functions_files_array'][$this_module]) && empty(
$GLOBALS[
'site_parameters'][
'modules_admin_functions_array'][$this_module]) &&
check_if_module_active($this_module))) {
590 $tpl_modules_infos[$name.$i] = array(
'tr_rollover' => tr_rollover(
$i,
true),
592 'installed' => !empty($installed),
593 'enabled' => $enabled,
595 'technical_code' => $this_module,
596 'version' => $version,
597 'package' => (in_array($this_module, $premium_modules_array)?
'Premium':
''),
598 'configuration_variable' =>
vb(
$GLOBALS[
'site_parameters'][
'modules_configuration_variable_array'][$this_module],
'module_' . $this_module)
602 ksort($tpl_modules_infos);
603 $other_modules_array = array_unique(array_merge(array_keys(
$GLOBALS[
'site_parameters'][
'modules_front_office_functions_files_array']),
$GLOBALS[
'site_parameters'][
'modules_no_library_load_array']));
604 sort($other_modules_array);
605 foreach($other_modules_array as $this_module) {
606 if(empty($modules_on_disk[$this_module])) {
607 $tpl_modules_infos[] = array(
'tr_rollover' => tr_rollover(
$i,
true),
609 'installed' =>
false,
611 'name' =>
vb($modules_light_default_names[$this_module],
String::ucfirst($this_module)),
612 'technical_code' => $this_module,
615 'package' => (in_array($this_module, $premium_modules_array)?
' (inclus dans le module Premium)':
'')
621 $tpl->assign(
'modules_infos', $tpl_modules_infos);
624 $tpl_zones = array();
625 $qid =
query(
"SELECT *
629 $tpl_zones[] = array(
'href' =>
$GLOBALS[
'administrer_url'] .
'/zones.php?mode=modif&id=' .
$result[
'id'],
630 'nom' => $result[
'nom_' .
$_SESSION[
'session_langue']]
632 $zones_franco_port[] =
'<a href="' .
$GLOBALS[
'administrer_url'] .
'/zones.php?mode=modif&id=' . $result[
'id'] .
'">' . $result[
'nom_' . $_SESSION[
'session_langue']] .
'</a>';
634 $tpl->assign(
'zones', $tpl_zones);
635 $tpl->assign(
'zones_href',
$GLOBALS[
'administrer_url'] .
'/zones.php');
639 $tpl->assign(
'site_suspended',
vb($frm[
'site_suspended']));
644 $this_wwwroot =
$GLOBALS[
'wwwroot'];
646 $tpl->assign(
'membre_admin_href', $this_wwwroot .
'/membre.php');
650 foreach (
$GLOBALS[
'admin_lang_codes'] as $lng) {
652 'nom' =>
vb($frm[
'nom_' . $lng]),
653 'logo' =>
vb($frm[
'logo_' . $lng]),
659 $tpl->assign(
'nouveau_mode',
vb($frm[
"nouveau_mode"]));
660 $tpl->assign(
'wwwroot',
vb($frm[
'wwwroot']));
666 if ($handle = opendir(
$GLOBALS[
'dirroot'] .
"/modeles")) {
667 $tpl_directory_options = array();
668 while (
false !== ($file = readdir($handle))) {
669 if ($file !=
"." && $file !=
".." && $file !=
".svn") {
670 $tpl_directory_options[] = array(
'value' => $file,
671 'issel' => $file ==
vb($frm[
'template_directory']),
675 $tpl->assign(
'directory_options', $tpl_directory_options);
678 $tpl->assign(
'template_multipage',
vb($frm[
'template_multipage']));
679 $tpl->assign(
'css',
vb($frm[
'css']));
680 $tpl->assign(
'on_logo',
vb($frm[
'on_logo']));
681 $tpl->assign(
'drop_src',
$GLOBALS[
'administrer_url'] .
'/images/b_drop.png');
683 if (!empty($frm[
"favicon"])) {
684 $tpl->assign(
'favicon', array(
'src' =>
$GLOBALS[
'repertoire_upload'] .
'/' . $frm[
"favicon"],
685 'favicon' =>
vb($frm[
'favicon']),
690 $tpl->assign(
'zoom',
vb($frm[
'zoom']));
691 $tpl->assign(
'enable_prototype', !empty($frm[
'enable_prototype']));
692 $tpl->assign(
'enable_jquery', !empty($frm[
'enable_jquery']));
693 $tpl->assign(
'export_encoding',
vb($frm[
'export_encoding']));
694 $tpl->assign(
'module_autosend',
vb($frm[
'module_autosend']));
695 $tpl->assign(
'module_autosend_delay',
vb($frm[
'module_autosend_delay']));
696 $tpl->assign(
'category_count_method',
vb($frm[
'category_count_method']));
697 $tpl->assign(
'popup_width',
vb($frm[
'popup_width']));
698 $tpl->assign(
'popup_height',
vb($frm[
'popup_height']));
699 $tpl->assign(
'admin_force_ssl',
vb($frm[
'admin_force_ssl']));
700 $tpl->assign(
'membre_href', str_replace(
'http://',
'https://', $this_wwwroot .
'/membre.php'));
702 $tpl->assign(
'display_nb_product',
vb($frm[
'display_nb_product']));
703 $tpl->assign(
'small_width',
vb($frm[
'small_width']));
704 $tpl->assign(
'small_height',
vb($frm[
'small_height']));
705 $tpl->assign(
'medium_width',
vb($frm[
'medium_width']));
706 $tpl->assign(
'medium_height',
vb($frm[
'medium_height']));
707 $tpl->assign(
'module_filtre',
vb($frm[
'module_filtre']));
708 $tpl->assign(
'category_order_on_catalog',
vb($frm[
'category_order_on_catalog']));
709 $tpl->assign(
'type_affichage_attribut',
vb($frm[
'type_affichage_attribut']));
710 $tpl->assign(
'anim_prod',
vb($frm[
'anim_prod']));
712 $tpl->assign(
'sessions_duration',
vb($frm[
'sessions_duration']));
713 $tpl->assign(
'nb_produit_page',
vb($frm[
'nb_produit_page']));
716 $tpl->assign(
'promotions_href',
$GLOBALS[
'wwwroot_in_admin'] .
'/achat/promotions.php');
718 $tpl->assign(
'is_fonctionsvacances', file_exists(
$GLOBALS[
'fonctionsvacances']));
720 $tpl->assign(
'site_symbole',
$GLOBALS[
'site_parameters'][
'symbole']);
722 $tpl->assign(
'default_picture_delete_url',
get_current_url(
false) .
'?mode=supprdefault_picture&id=' .
vb($frm[
'id']) .
'&default_picture=' .
vb($frm[
"default_picture"]));
723 $tpl->assign(
'default_picture_delete_icon_url',
$GLOBALS[
'administrer_url'] .
'/images/b_drop.png');
724 $tpl->assign(
'default_picture',
vb($frm[
"default_picture"]));
725 $tpl->assign(
'default_picture_url',
$GLOBALS[
'repertoire_upload'] .
'/' .
vb($frm[
"default_picture"]));
727 $tpl->assign(
'is_fonctionsdevises', file_exists(
$GLOBALS[
'fonctionsdevises']));
728 $tpl->assign(
'devises_href',
$GLOBALS[
'wwwroot_in_admin'] .
'/modules/devises/administrer/devises.php');
729 $tpl_devices_options = array();
730 if (file_exists(
$GLOBALS[
'fonctionsdevises'])) {
736 $tpl_devices_options[] = array(
'value' => intval($tab_devise[
'id']),
737 'issel' =>
vb($frm[
'devise_defaut']) == $tab_devise[
'id'],
738 'name' => $tab_devise[
'devise']
742 $tpl->assign(
'devices_options', $tpl_devices_options);
744 $tpl_modules = array();
746 $emplacement_array[
'above_middle'] =
$GLOBALS[
'STR_ADMIN_SITES_ABOVE_MIDDLE'];
747 $emplacement_array[
'below_middle'] =
$GLOBALS[
'STR_ADMIN_SITES_BELOW_MIDDLE'];
748 $emplacement_array[
'footer'] =
$GLOBALS[
'STR_ADMIN_SITES_BOTTOM'];
749 $emplacement_array[
'header'] =
$GLOBALS[
'STR_ADMIN_SITES_TOP'];
750 $emplacement_array[
'top_middle'] =
$GLOBALS[
'STR_ADMIN_SITES_CENTER_TOP'];
751 $emplacement_array[
'center_middle'] =
$GLOBALS[
'STR_ADMIN_SITES_CENTER_MIDDLE'];
752 $emplacement_array[
'center_middle_home'] =
$GLOBALS[
'STR_ADMIN_SITES_CENTER_MIDDLE_HOME'];
753 $emplacement_array[
'bottom_middle'] =
$GLOBALS[
'STR_ADMIN_SITES_CENTER_BOTTOM'];
755 $emplacement_array[
'top_vitrine'] =
$GLOBALS[
'STR_ADMIN_SITES_USER_SHOPS_TOP'];
756 $emplacement_array[
'bottom_vitrine'] =
$GLOBALS[
'STR_ADMIN_SITES_USER_SHOPS_BOTTOM'];
759 $emplacement_array[
'top_annonce'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_TOP'];
760 $emplacement_array[
'sponso_cat'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_SPONSOR'];
761 $emplacement_array[
'ad_detail_bottom'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_AD_BOTTOM'];
762 $emplacement_array[
'ad_detail_top'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_AD_TOP'];
763 $emplacement_array[
'middle_annonce'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_MIDDLE'];
764 $emplacement_array[
'bottom_annonce'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_BOTTOM'];
765 $emplacement_array[
'left_annonce'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_LEFT'];
766 $emplacement_array[
'right_annonce'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_RIGHT'];
769 $emplacement_array[
'iphone_ads_splashscreen'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_HOME'];
770 $emplacement_array[
'iphone_ads_bottom_annonce'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ADS_BOTTOM'];
771 $emplacement_array[
'iphone_ads_top_annonce'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ADS_TOP'];
772 $emplacement_array[
'iphone_ads_ad_detail_top'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_TOP'];
773 $emplacement_array[
'iphone_ads_ad_detail_bottom'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_BOTTOM'];
774 $emplacement_array[
'iphone_ads_favoris_bottom'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_FAVORITES_BOTTOM'];
775 $emplacement_array[
'iphone_ads_favoris_top'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_FAVORITES_TOP'];
776 $emplacement_array[
'iphone_ads_account_bottom'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_BOTTOM'];
777 $emplacement_array[
'iphone_ads_account_top'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_TOP'];
778 $emplacement_array[
'iphone_ads_create_account_top'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_CREATION_TOP'];
779 $emplacement_array[
'iphone_ads_create_account_bottom'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_CREATION_BOTTOM'];
780 $emplacement_array[
'iphone_ads_publish_top'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_CREATION_TOP'];
781 $emplacement_array[
'iphone_ads_publish_bottom'] =
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_CREATION_BOTTOM'];
783 asort($emplacement_array);
784 foreach ($frm_modules as $this_module_infos) {
785 if(empty($emplacement_array[
vb($this_module_infos[
'location'])])){
786 $emplacement_array[
vb($this_module_infos[
'location'])] = str_replace(
'_',
' ', ucfirst(
vb($this_module_infos[
'location'])));
788 $tpl_modules[] = array(
'tr_rollover' => tr_rollover(
$i,
true),
789 'title' => $this_module_infos[
'title_' .
$_SESSION[
'session_langue']],
790 'id' => $this_module_infos[
'id'],
791 'display_mode' => $this_module_infos[
'display_mode'],
792 'location' => $this_module_infos[
'location'],
793 'etat' => $this_module_infos[
'etat'],
794 'in_home' => $this_module_infos[
'in_home'],
795 'position' => $this_module_infos[
'position'],
796 'is_above_middle_off' => in_array($this_module_infos[
'technical_code'], array(
'menu')),
797 'is_below_middle_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane')),
798 'is_footer_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane',
'caddie',
'account',
'last_views',
'paiement_secu')),
799 'is_header_off' => in_array($this_module_infos[
'technical_code'], array(
'ariane',
'advertising',
'advertising1',
'advertising2',
'advertising3',
'advertising4',
'advertising5',
'catalogue',
'last_views',
'paiement_secu',
'news',
'articles_rollover')),
800 'is_top_middle_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane')),
801 'is_center_middle_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane',
'catalogue',
'caddie',
'tagcloud',
'account',
'last_views',
'paiement_secu',
'search',
'best_seller',
'news',
'advertising',
'advertising1',
'advertising2',
'advertising3',
'advertising4',
'advertising5',
'brand',
'guide',
'articles_rollover')),
802 'is_center_middle_home_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane',
'catalogue',
'caddie',
'tagcloud',
'account',
'last_views',
'paiement_secu',
'search',
'best_seller',
'news',
'advertising',
'advertising1',
'advertising2',
'advertising3',
'advertising4',
'advertising5',
'brand',
'guide',
'articles_rollover')),
803 'is_bottom_middle_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'guide')),
804 'is_top_vitrine_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane',
'guide')),
805 'is_bottom_vitrine_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane',
'guide')),
806 'is_annonce_place_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane',
'guide')),
807 'is_iphone_place_off' => in_array($this_module_infos[
'technical_code'], array(
'menu',
'ariane',
'guide')),
812 $tpl->assign(
'emplacement_array', $emplacement_array);
813 $tpl->assign(
'modules', $tpl_modules);
815 $tpl->assign(
'is_fonctionstagcloud', file_exists(
$GLOBALS[
'fonctionstagcloud']));
816 $tpl->assign(
'is_flash_sell_module_active', file_exists(
$GLOBALS[
'dirroot'] .
"/modules/flash/flash.php"));
817 $tpl->assign(
'is_fonctionsbanner', file_exists(
$GLOBALS[
'fonctionsbanner']));
818 $tpl->assign(
'is_fonctionsmenus', file_exists(
$GLOBALS[
'fonctionsmenus']));
819 $tpl->assign(
'is_fonctionsrss', file_exists(
$GLOBALS[
'fonctionsrss']));
820 $tpl->assign(
'is_fonctionsavis', file_exists(
$GLOBALS[
'fonctionsavis']));
821 $tpl->assign(
'is_fonctionsprecedentsuivant', file_exists(
$GLOBALS[
'fonctionsprecedentsuivant']));
822 $tpl->assign(
'is_fonctionsgooglefriendconnect', file_exists(
$GLOBALS[
'fonctionsgooglefriendconnect']));
823 $tpl->assign(
'is_fonctionssignintwitter', file_exists(
$GLOBALS[
'fonctionssignintwitter']));
824 $tpl->assign(
'is_fonctionscartpreservation', file_exists(
$GLOBALS[
'fonctionscart_preservation']));
825 $tpl->assign(
'is_fonctionsreseller', file_exists(
$GLOBALS[
'fonctionsreseller']));
826 $tpl->assign(
'is_fonctionsaffiliate', file_exists(
$GLOBALS[
'fonctionsaffiliate']));
827 $tpl->assign(
'is_fonctionslot', file_exists(
$GLOBALS[
'fonctionslot']));
828 $tpl->assign(
'is_fonctionsparrain', file_exists(
$GLOBALS[
'fonctionsparrain']));
829 $tpl->assign(
'is_fonctionsgift_check', file_exists(
$GLOBALS[
'fonctionsgift_check']));
830 $tpl->assign(
'is_fonctionsfaq', file_exists(
$GLOBALS[
'fonctionsfaq']));
831 $tpl->assign(
'is_rewritefile', file_exists(
$GLOBALS[
'rewritefile']));
832 $tpl->assign(
'is_fonctionsmicro', file_exists(
$GLOBALS[
'fonctionsmicro']));
833 $tpl->assign(
'is_fonctionsbirthday', file_exists(
$GLOBALS[
'fonctionsbirthday']));
834 $tpl->assign(
'is_fonctionscatpromotions', file_exists(
$GLOBALS[
'fonctionscatpromotions']));
835 $tpl->assign(
'is_fonctionsmarquepromotions', file_exists(
$GLOBALS[
'fonctionsmarquepromotions']));
836 $tpl->assign(
'is_fonctionscomparateur', file_exists(
$GLOBALS[
'fonctionscomparateur']));
837 $tpl->assign(
'is_fonctionsstock_advanced', file_exists(
$GLOBALS[
'fonctionsstock_advanced']));
838 $tpl->assign(
'is_fonctionsforum', file_exists(
$GLOBALS[
'fonctionsforum']));
839 $tpl->assign(
'is_fonctionsgiftlist', file_exists(
$GLOBALS[
'fonctionsgiftlist']));
840 $tpl->assign(
'is_fonctionssocolissimo', file_exists(
$GLOBALS[
'fonctionssocolissimo']));
841 $tpl->assign(
'is_fonctionsexpeditor', file_exists(
$GLOBALS[
'fonctionsexpeditor']));
842 $tpl->assign(
'is_fonctionsicirelais', file_exists(
$GLOBALS[
'fonctionsicirelais']));
843 $tpl->assign(
'is_fonctionstnt', file_exists(
$GLOBALS[
'fonctionstnt']));
844 $tpl->assign(
'is_fonctionsatos', file_exists(
$GLOBALS[
'fonctionsatos']));
845 $tpl->assign(
'is_fonctionsspplus', file_exists(
$GLOBALS[
'fonctionsspplus']));
846 $tpl->assign(
'is_fonctionspaybox', file_exists(
$GLOBALS[
'fonctionspaybox']));
847 $tpl->assign(
'is_fonctionssystempay', file_exists(
$GLOBALS[
'fonctionssystempay']));
848 $tpl->assign(
'is_fonctionspartenaires', file_exists(
$GLOBALS[
'fonctionspartenaires']));
849 $tpl->assign(
'is_fonctionsfacebook', file_exists(
$GLOBALS[
'fonctionsfacebook']));
850 $tpl->assign(
'is_fonctionfacebookconnect', file_exists(
$GLOBALS[
'fonctionfacebookconnect']));
852 $tpl->assign(
'nb_on_top',
vb($frm[
'nb_on_top']));
853 $tpl->assign(
'nb_last_views',
vb($frm[
'nb_last_views']));
854 $tpl->assign(
'global_remise_percent',
vb($frm[
'global_remise_percent']));
855 $tpl->assign(
'pays_exoneration_tva',
vb($frm[
'pays_exoneration_tva']));
856 $tpl->assign(
'timemax',
vb($frm[
'timemax']));
857 $tpl->assign(
'seuil',
vb($frm[
'seuil']));
858 $tpl->assign(
'quotation_delay',
vb($frm[
'quotation_delay']));
859 $tpl->assign(
'email_webmaster',
vb($frm[
'email_webmaster']));
860 $tpl->assign(
'nom_expediteur',
vb($frm[
'nom_expediteur']));
861 $tpl->assign(
'email_commande',
vb($frm[
'email_commande']));
862 $tpl->assign(
'email_client',
vb($frm[
'email_client']));
863 $tpl->assign(
'email_paypal',
vb($frm[
'email_paypal']));
864 $tpl->assign(
'email_moneybookers',
vb($frm[
'email_moneybookers']));
865 $tpl->assign(
'secret_word',
vb($frm[
'secret_word']));
866 $tpl->assign(
'availability_of_carrier',
vb($frm[
'availability_of_carrier']));
867 $tpl->assign(
'tag_analytics',
vb($frm[
'tag_analytics']));
868 $tpl->assign(
'googlefriendconnect',
vb($frm[
'googlefriendconnect']));
869 $tpl->assign(
'googlefriendconnect_site_id',
vb($frm[
'googlefriendconnect_site_id']));
870 $tpl->assign(
'sign_in_twitter',
vb($frm[
'sign_in_twitter']));
871 $tpl->assign(
'twitter_consumer_key',
vb($frm[
'twitter_consumer_key']));
872 $tpl->assign(
'twitter_consumer_secret',
vb($frm[
'twitter_consumer_secret']));
873 $tpl->assign(
'twitter_oauth_callback',
vb($frm[
'twitter_oauth_callback']));
874 $tpl->assign(
'commission_affilie',
vb($frm[
'commission_affilie']));
875 $tpl->assign(
'logo_affiliation',
vb($frm[
'logo_affiliation']));
876 $tpl->assign(
'avoir',
vb($frm[
'avoir']));
877 $tpl->assign(
'module_url_rewriting',
vn($frm[
'module_url_rewriting']));
878 $tpl->assign(
'sips',
vb($frm[
'sips']));
879 $tpl->assign(
'spplus',
vb($frm[
'spplus']));
880 $tpl->assign(
'systempay_payment_count',
vb($frm[
'systempay_payment_count']));
881 $tpl->assign(
'systempay_payment_period',
vb($frm[
'systempay_payment_period']));
882 $tpl->assign(
'systempay_cle_test',
vb($frm[
'systempay_cle_test']));
883 $tpl->assign(
'systempay_cle_prod',
vb($frm[
'systempay_cle_prod']));
884 $tpl->assign(
'systempay_test_mode',
vb($frm[
'systempay_test_mode']));
885 $tpl->assign(
'systempay_code_societe',
vb($frm[
'systempay_code_societe']));
886 $tpl->assign(
'paybox_cgi',
vb($frm[
'paybox_cgi']));
887 $tpl->assign(
'paybox_site',
vb($frm[
'paybox_site']));
888 $tpl->assign(
'paybox_rang',
vb($frm[
'paybox_rang']));
889 $tpl->assign(
'paybox_identifiant',
vb($frm[
'paybox_identifiant']));
890 $tpl->assign(
'fb_admins',
vb($frm[
'fb_admins']));
891 $tpl->assign(
'facebook_page_link',
vb($frm[
'facebook_page_link']));
892 $tpl->assign(
'facebook_connect',
vb($frm[
'facebook_connect']));
893 $tpl->assign(
'fb_appid',
vb($frm[
'fb_appid']));
894 $tpl->assign(
'fb_secret',
vb($frm[
'fb_secret']));
895 $tpl->assign(
'fb_baseurl',
vb($frm[
'fb_baseurl']));
896 $tpl->assign(
'display_errors_for_ips',
vb($frm[
'display_errors_for_ips']));
897 $tpl->assign(
'titre_bouton',
vb($frm[
'titre_bouton']));
899 $tpl->assign(
'allow_add_product_with_no_stock_in_cart',
vb($frm[
'allow_add_product_with_no_stock_in_cart']));
900 $tpl->assign(
'format_numero_facture',
vb($frm[
'format_numero_facture']));
901 $tpl->assign(
'small_order_overcost_limit',
vb($frm[
'small_order_overcost_limit']));
902 $tpl->assign(
'small_order_overcost_amount',
vb($frm[
'small_order_overcost_amount']));
903 $tpl->assign(
'small_order_overcost_tva_percent',
vb($frm[
'small_order_overcost_tva_percent']));
904 $tpl->assign(
'minimal_amount_to_order',
vb($frm[
'minimal_amount_to_order']));
905 $tpl->assign(
'minimal_amount_to_order_reve',
vb($frm[
'minimal_amount_to_order_reve']));
906 $tpl->assign(
'seuil_total',
vb($frm[
'seuil_total']));
907 $tpl->assign(
'seuil_total_reve',
vb($frm[
'seuil_total_reve']));
908 $tpl->assign(
'nb_product',
vb($frm[
'nb_product']));
909 $tpl->assign(
'socolissimo_foid',
vb($frm[
'socolissimo_foid']));
910 $tpl->assign(
'socolissimo_sha1_key',
vb($frm[
'socolissimo_sha1_key']));
911 $tpl->assign(
'socolissimo_urlko',
vb($frm[
'socolissimo_urlko']));
912 $tpl->assign(
'socolissimo_preparationtime',
vb($frm[
'socolissimo_preparationtime']));
913 $tpl->assign(
'socolissimo_forwardingcharges',
vb($frm[
'socolissimo_forwardingcharges']));
914 $tpl->assign(
'socolissimo_firstorder',
vb($frm[
'socolissimo_firstorder']));
915 $tpl->assign(
'socolissimo_pointrelais',
vb($frm[
'socolissimo_pointrelais']));
916 $tpl->assign(
'socolissimo_dyForwardingChargesCMT',
vb($frm[
'socolissimo_dyForwardingChargesCMT']));
917 $tpl->assign(
'partner_count_method',
vb($frm[
'partner_count_method']));
918 $tpl->assign(
'tnt_username',
vn($frm[
'tnt_username']));
919 $tpl->assign(
'tnt_password',
vn($frm[
'tnt_password']));
920 $tpl->assign(
'tnt_account_number',
vn($frm[
'tnt_account_number']));
921 $tpl->assign(
'expedition_delay',
vn($frm[
'expedition_delay']));
922 $tpl->assign(
'act_on_top',
vn($frm[
'act_on_top']));
923 $tpl->assign(
'auto_promo',
vn($frm[
'auto_promo']));
924 $tpl->assign(
'mode_transport',
vn($frm[
'mode_transport']));
925 $tpl->assign(
'module_ecotaxe',
vn($frm[
'module_ecotaxe']));
926 $tpl->assign(
'display_prices_with_taxes',
vn($frm[
'display_prices_with_taxes']));
927 $tpl->assign(
'display_prices_with_taxes_in_admin',
vn($frm[
'display_prices_with_taxes_in_admin']));
928 $tpl->assign(
'module_devise',
vn($frm[
'module_devise']));
929 $tpl->assign(
'html_editor',
vb($frm[
'html_editor']));
930 $tpl->assign(
'send_email_active',
vn($frm[
'send_email_active']));
931 $tpl->assign(
'module_nuage',
vn($frm[
'module_nuage']));
932 $tpl->assign(
'module_flash',
vn($frm[
'module_flash']));
933 $tpl->assign(
'module_pub',
vn($frm[
'module_pub']));
934 $tpl->assign(
'module_rollover',
vn($frm[
'module_rollover']));
935 $tpl->assign(
'type_rollover',
vn($frm[
'type_rollover']));
936 $tpl->assign(
'module_rss',
vn($frm[
'module_rss']));
937 $tpl->assign(
'module_avis',
vn($frm[
'module_avis']));
938 $tpl->assign(
'module_captcha',
vn($frm[
'module_captcha']));
939 $tpl->assign(
'module_precedent_suivant',
vn($frm[
'module_precedent_suivant']));
940 $tpl->assign(
'in_category',
vn($frm[
'in_category']));
941 $tpl->assign(
'module_cart_preservation',
vn($frm[
'module_cart_preservation']));
942 $tpl->assign(
'module_retail',
vn($frm[
'module_retail']));
943 $tpl->assign(
'module_affilie',
vn($frm[
'module_affilie']));
944 $tpl->assign(
'module_lot',
vn($frm[
'module_lot']));
945 $tpl->assign(
'module_parrain',
vn($frm[
'module_parrain']));
946 $tpl->assign(
'module_cadeau',
vn($frm[
'module_cadeau']));
947 $tpl->assign(
'module_faq',
vn($frm[
'module_faq']));
948 $tpl->assign(
'module_entreprise',
vn($frm[
'module_entreprise']));
949 $tpl->assign(
'module_forum',
vn($frm[
'module_forum']));
950 $tpl->assign(
'module_giftlist',
vn($frm[
'module_giftlist']));
951 $tpl->assign(
'module_socolissimo',
vn($frm[
'module_socolissimo']));
952 $tpl->assign(
'module_icirelais',
vn($frm[
'module_icirelais']));
953 $tpl->assign(
'module_tnt',
vn($frm[
'module_tnt']));
954 $tpl->assign(
'module_vacances_type',
vn($frm[
'module_vacances_type']));
956 $tpl->assign(
'keep_old_orders_intact',
vn($frm[
'keep_old_orders_intact']));
957 $tpl->assign(
'fonctionsconditionnement', file_exists(
$GLOBALS[
'fonctionsconditionnement']));
958 $tpl->assign(
'module_conditionnement',
vn($frm[
'module_conditionnement']));
959 $tpl->assign(
'payment_status_decrement_stock',
vn($frm[
'payment_status_decrement_stock']));
960 $tpl->assign(
'keep_old_orders_intact_date', (empty($frm[
'keep_old_orders_intact_date']) && intval(
vn($frm[
'keep_old_orders_intact']))>1?
get_formatted_date(
vb($frm[
'keep_old_orders_intact'])) :
vb($frm[
'keep_old_orders_intact_date'])));
961 $tpl->assign(
'STR_MANDATORY',
$GLOBALS[
'STR_MANDATORY']);
962 $tpl->assign(
'STR_ADMIN_VARIOUS_INFORMATION_HEADER',
$GLOBALS[
'STR_ADMIN_VARIOUS_INFORMATION_HEADER']);
963 $tpl->assign(
'STR_ADMIN_MODULES',
'Modules');
964 $tpl->assign(
'STR_ADMIN_SITES_MODULE_INSTALL',
$GLOBALS[
'STR_ADMIN_SITES_MODULE_INSTALL']);
965 $tpl->assign(
'STR_ADMIN_SITES_PREMIUM_MODULE',
$GLOBALS[
'STR_ADMIN_SITES_PREMIUM_MODULE']);
966 $tpl->assign(
'STR_ADMIN_SITES_CAPTCHA_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_SITES_CAPTCHA_DISPLAY_MODE']);
967 $tpl->assign(
'STR_ADMIN_POSITION',
$GLOBALS[
'STR_ADMIN_POSITION']);
968 $tpl->assign(
'STR_ADMIN_WWWROOT',
$GLOBALS[
'STR_ADMIN_WWWROOT']);
971 $tpl->assign(
'STR_ADMIN_HTML_PLACE',
$GLOBALS[
'STR_ADMIN_HTML_PLACE']);
972 $tpl->assign(
'STR_BEFORE_TWO_POINTS',
$GLOBALS[
'STR_BEFORE_TWO_POINTS']);
973 $tpl->assign(
'STR_UPDATE_WEBSITE',
$GLOBALS[
'STR_UPDATE_WEBSITE']);
974 $tpl->assign(
'STR_ADMIN_SITES_TITLE',
$GLOBALS[
'STR_ADMIN_SITES_TITLE']);
975 $tpl->assign(
'STR_ADMIN_SITES_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_EXPLAIN']);
976 $tpl->assign(
'STR_ADMIN_SITES_GENERAL_PARAMETERS',
$GLOBALS[
'STR_ADMIN_SITES_GENERAL_PARAMETERS']);
977 $tpl->assign(
'STR_ADMIN_SITES_SITE_ACTIVATION',
$GLOBALS[
'STR_ADMIN_SITES_SITE_ACTIVATION']);
978 $tpl->assign(
'STR_ADMIN_SITES_SITE_ACTIVATED',
$GLOBALS[
'STR_ADMIN_SITES_SITE_ACTIVATED']);
979 $tpl->assign(
'STR_ADMIN_SITES_SITE_SUSPENDED',
$GLOBALS[
'STR_ADMIN_SITES_SITE_SUSPENDED']);
980 $tpl->assign(
'STR_ADMIN_SITES_SITE_ACTIVATED_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SITE_ACTIVATED_EXPLAIN']);
981 $tpl->assign(
'STR_ADMIN_SITES_SITE_ACTIVATED_EXPLAIN2',
$GLOBALS[
'STR_ADMIN_SITES_SITE_ACTIVATED_EXPLAIN2']);
982 $tpl->assign(
'STR_ADMIN_SITES_SITE_ACTIVATED_EXPLAIN3',
$GLOBALS[
'STR_ADMIN_SITES_SITE_ACTIVATED_EXPLAIN3']);
983 $tpl->assign(
'STR_ADMIN_SITES_SITE_NAME',
$GLOBALS[
'STR_ADMIN_SITES_SITE_NAME']);
984 if(!empty(
$GLOBALS[
'site_parameters'][
'site_country_allowed_array'])) {
985 $tpl->assign(
'STR_ADMIN_SITES_SITE_COUNTRY_PRESELECTED',
$GLOBALS[
'STR_ADMIN_SITES_SITE_COUNTRY_PRESELECTED']);
987 $tpl->assign(
'STR_ADMIN_SITES_TEMPLATE_USED',
$GLOBALS[
'STR_ADMIN_SITES_TEMPLATE_USED']);
988 $tpl->assign(
'STR_ADMIN_SITES_PAGE_LINKS_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_SITES_PAGE_LINKS_DISPLAY_MODE']);
989 $tpl->assign(
'STR_ADMIN_SITES_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_DISPLAY']);
990 $tpl->assign(
'STR_ADMIN_SITES_CSS_FILES',
$GLOBALS[
'STR_ADMIN_SITES_CSS_FILES']);
991 $tpl->assign(
'STR_ADMIN_SITES_CSS_FILES_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_CSS_FILES_EXPLAIN']);
992 $tpl->assign(
'STR_ADMIN_SITES_LOGO_URL',
$GLOBALS[
'STR_ADMIN_SITES_LOGO_URL']);
993 $tpl->assign(
'STR_ADMIN_SITES_LOGO_HEADER_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_LOGO_HEADER_DISPLAY']);
994 $tpl->assign(
'STR_ADMIN_SITES_FAVICON',
$GLOBALS[
'STR_ADMIN_SITES_FAVICON']);
995 $tpl->assign(
'STR_DELETE_THIS_FILE',
$GLOBALS[
'STR_DELETE_THIS_FILE']);
996 $tpl->assign(
'STR_ADMIN_SITES_ZOOM_SELECTION',
$GLOBALS[
'STR_ADMIN_SITES_ZOOM_SELECTION']);
997 $tpl->assign(
'STR_ADMIN_SITES_JQZOOM',
$GLOBALS[
'STR_ADMIN_SITES_JQZOOM']);
998 $tpl->assign(
'STR_ADMIN_SITES_CLOUD_ZOOM',
$GLOBALS[
'STR_ADMIN_SITES_CLOUD_ZOOM']);
999 $tpl->assign(
'STR_ADMIN_SITES_LIGHTBOX',
$GLOBALS[
'STR_ADMIN_SITES_LIGHTBOX']);
1001 $tpl->assign(
'STR_ADMIN_SITES_JAVASCRIPT_LIBRARIES_ACTIVATION',
$GLOBALS[
'STR_ADMIN_SITES_JAVASCRIPT_LIBRARIES_ACTIVATION']);
1002 $tpl->assign(
'STR_ADMIN_SITES_JAVASCRIPT_AJAX_ACTIVATE',
$GLOBALS[
'STR_ADMIN_SITES_JAVASCRIPT_AJAX_ACTIVATE']);
1003 $tpl->assign(
'STR_ADMIN_SITES_JAVASCRIPT_JQUERY_ACTIVATE',
$GLOBALS[
'STR_ADMIN_SITES_JAVASCRIPT_JQUERY_ACTIVATE']);
1004 $tpl->assign(
'STR_ADMIN_SITES_JAVASCRIPT_LIBRARIES_ACTIVATION_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_JAVASCRIPT_LIBRARIES_ACTIVATION_EXPLAIN']);
1005 $tpl->assign(
'STR_ADMIN_SITES_EXPORT_DEFAULT_ENCODING',
$GLOBALS[
'STR_ADMIN_SITES_EXPORT_DEFAULT_ENCODING']);
1006 $tpl->assign(
'STR_ADMIN_SITES_EXPORT_DEFAULT_ENCODING_UTF8',
$GLOBALS[
'STR_ADMIN_SITES_EXPORT_DEFAULT_ENCODING_UTF8']);
1007 $tpl->assign(
'STR_ADMIN_SITES_EXPORT_DEFAULT_ENCODING_ISO',
$GLOBALS[
'STR_ADMIN_SITES_EXPORT_DEFAULT_ENCODING_ISO']);
1008 $tpl->assign(
'STR_ADMIN_SITES_PAYMENT_FORM_AUTO_VALIDATION',
$GLOBALS[
'STR_ADMIN_SITES_PAYMENT_FORM_AUTO_VALIDATION']);
1011 $tpl->assign(
'STR_ADMIN_SITES_PAYMENT_FORM_AUTO_VALIDATION_WAIT_SECONDS',
$GLOBALS[
'STR_ADMIN_SITES_PAYMENT_FORM_AUTO_VALIDATION_WAIT_SECONDS']);
1012 $tpl->assign(
'STR_ADMIN_SITES_PAYMENT_FORM_AUTO_VALIDATION_WAIT_SECONDS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_PAYMENT_FORM_AUTO_VALIDATION_WAIT_SECONDS_EXPLAIN']);
1013 $tpl->assign(
'STR_ADMIN_SITES_CATEGORY_COUNT_METHOD',
$GLOBALS[
'STR_ADMIN_SITES_CATEGORY_COUNT_METHOD']);
1014 $tpl->assign(
'STR_ADMIN_SITES_CATEGORY_COUNT_INDIVIDUAL',
$GLOBALS[
'STR_ADMIN_SITES_CATEGORY_COUNT_INDIVIDUAL']);
1015 $tpl->assign(
'STR_ADMIN_SITES_CATEGORY_COUNT_GLOBAL',
$GLOBALS[
'STR_ADMIN_SITES_CATEGORY_COUNT_GLOBAL']);
1016 $tpl->assign(
'STR_ADMIN_SITES_CART_POPUP_SIZE',
$GLOBALS[
'STR_ADMIN_SITES_CART_POPUP_SIZE']);
1017 $tpl->assign(
'STR_ADMIN_SITES_CART_POPUP_SIZE_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_CART_POPUP_SIZE_EXPLAIN']);
1018 $tpl->assign(
'STR_ADMIN_SITES_SECURITY',
$GLOBALS[
'STR_ADMIN_SITES_SECURITY']);
1019 $tpl->assign(
'STR_ADMIN_SITES_ADMIN_FORCE_SSL',
$GLOBALS[
'STR_ADMIN_SITES_ADMIN_FORCE_SSL']);
1020 $tpl->assign(
'STR_ADMIN_SITES_ADMIN_FORCE_SSL_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_ADMIN_FORCE_SSL_EXPLAIN']);
1021 $tpl->assign(
'STR_ADMIN_SITES_HTTPS_TEST',
$GLOBALS[
'STR_ADMIN_SITES_HTTPS_TEST']);
1022 $tpl->assign(
'STR_ADMIN_SITES_SESSIONS_DURATION',
$GLOBALS[
'STR_ADMIN_SITES_SESSIONS_DURATION']);
1023 $tpl->assign(
'STR_MINUTES',
$GLOBALS[
'strShortMinutes']);
1024 $tpl->assign(
'STR_ADMIN_ACTIVATE',
$GLOBALS[
'STR_ADMIN_ACTIVATE']);
1025 $tpl->assign(
'STR_ADMIN_DEACTIVATE',
$GLOBALS[
'STR_ADMIN_DEACTIVATE']);
1026 $tpl->assign(
'STR_ADMIN_SITES_SESSIONS_DURATION_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SESSIONS_DURATION_EXPLAIN']);
1027 $tpl->assign(
'STR_ADMIN_SITES_DISPLAY_ERRORS_FOR_IP',
$GLOBALS[
'STR_ADMIN_SITES_DISPLAY_ERRORS_FOR_IP']);
1028 $tpl->assign(
'STR_ADMIN_SITES_PRODUCTS_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_PRODUCTS_DISPLAY']);
1029 $tpl->assign(
'STR_ADMIN_SITES_PRODUCTS_COUNT_IN_MENU',
$GLOBALS[
'STR_ADMIN_SITES_PRODUCTS_COUNT_IN_MENU']);
1030 $tpl->assign(
'STR_ADMIN_SITES_THUMBS_SIZE',
$GLOBALS[
'STR_ADMIN_SITES_THUMBS_SIZE']);
1031 $tpl->assign(
'STR_ADMIN_SITES_IMAGES_SIZE',
$GLOBALS[
'STR_ADMIN_SITES_IMAGES_SIZE']);
1032 $tpl->assign(
'STR_ADMIN_SITES_PRODUCTS_FILTER_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_PRODUCTS_FILTER_DISPLAY']);
1033 $tpl->assign(
'STR_ADMIN_SITES_ALLOW_ADD_PRODUCT_IN_LIST_PAGES',
$GLOBALS[
'STR_ADMIN_SITES_ALLOW_ADD_PRODUCT_IN_LIST_PAGES']);
1034 $tpl->assign(
'STR_ADMIN_SITES_PRODUCT_ATTRIBUTES_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_PRODUCT_ATTRIBUTES_DISPLAY']);
1035 $tpl->assign(
'STR_MODULE_ATTRIBUTS_ADMIN_SELECT_MENU',
$GLOBALS[
'STR_MODULE_ATTRIBUTS_ADMIN_SELECT_MENU']);
1036 $tpl->assign(
'STR_MODULE_ATTRIBUTS_ADMIN_RADIO_BUTTONS',
$GLOBALS[
'STR_MODULE_ATTRIBUTS_ADMIN_RADIO_BUTTONS']);
1037 $tpl->assign(
'STR_MODULE_ATTRIBUTS_ADMIN_CHECKBOX',
$GLOBALS[
'STR_MODULE_ATTRIBUTS_ADMIN_CHECKBOX']);
1038 $tpl->assign(
'STR_ADMIN_SITES_PRODUCT_ATTRIBUTES_DISPLAY_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_PRODUCT_ATTRIBUTES_DISPLAY_EXPLAIN']);
1039 $tpl->assign(
'STR_ADMIN_SITES_PRODUCTS_PER_PAGE',
$GLOBALS[
'STR_ADMIN_SITES_PRODUCTS_PER_PAGE']);
1040 $tpl->assign(
'STR_ADMIN_SITES_PRODUCTS_PER_PAGE_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_PRODUCTS_PER_PAGE_EXPLAIN']);
1041 $tpl->assign(
'STR_ADMIN_SITES_ADD_TO_CART_ANIMATION',
$GLOBALS[
'STR_ADMIN_SITES_ADD_TO_CART_ANIMATION']);
1042 $tpl->assign(
'STR_ADMIN_SITES_DEFAULT_PRODUCT_PAGE',
$GLOBALS[
'STR_ADMIN_SITES_DEFAULT_PRODUCT_PAGE']);
1043 $tpl->assign(
'STR_DELETE_THIS_FILE',
$GLOBALS[
'STR_DELETE_THIS_FILE']);
1044 $tpl->assign(
'STR_ADMIN_SITES_TOP_SALES_CONFIGURATION',
$GLOBALS[
'STR_ADMIN_SITES_TOP_SALES_CONFIGURATION']);
1045 $tpl->assign(
'STR_ADMIN_SITES_AUTO_TOP_SALES',
$GLOBALS[
'STR_ADMIN_SITES_AUTO_TOP_SALES']);
1046 $tpl->assign(
'STR_ADMIN_SITES_CONFIGURED_TOP_SALES',
$GLOBALS[
'STR_ADMIN_SITES_CONFIGURED_TOP_SALES']);
1047 $tpl->assign(
'STR_ADMIN_SITES_TOP_SALES_MAX_PRODUCTS',
$GLOBALS[
'STR_ADMIN_SITES_TOP_SALES_MAX_PRODUCTS']);
1048 $tpl->assign(
'STR_ADMIN_SITES_LAST_VISITS_MAX_PRODUCTS',
$GLOBALS[
'STR_ADMIN_SITES_LAST_VISITS_MAX_PRODUCTS']);
1049 $tpl->assign(
'STR_ADMIN_SITES_AUTO_PROMOTIONS',
$GLOBALS[
'STR_ADMIN_SITES_AUTO_PROMOTIONS']);
1050 $tpl->assign(
'STR_ADMIN_SITES_CONFIGURED_PROMOTIONS',
$GLOBALS[
'STR_ADMIN_SITES_CONFIGURED_PROMOTIONS']);
1051 $tpl->assign(
'STR_ADMIN_SITES_GLOBAL_DISCOUNT_PERCENTAGE',
$GLOBALS[
'STR_ADMIN_SITES_GLOBAL_DISCOUNT_PERCENTAGE']);
1052 $tpl->assign(
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS',
$GLOBALS[
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS']);
1053 $tpl->assign(
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS_LOCAL_COUNTRY',
$GLOBALS[
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS_LOCAL_COUNTRY']);
1054 $tpl->assign(
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS_LOCAL_COUNTRY_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS_LOCAL_COUNTRY_EXPLAIN']);
1055 $tpl->assign(
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS_LOCAL_COUNTRY_SHORT_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_NO_VAT_FOR_INTRACOM_FOREIGNERS_LOCAL_COUNTRY_SHORT_EXPLAIN']);
1056 $tpl->assign(
'STR_ADMIN_SITES_BILLING_HEADER',
$GLOBALS[
'STR_ADMIN_SITES_BILLING_HEADER']);
1057 $tpl->assign(
'STR_ADMIN_SITES_BILLING_NUMBER_FORMAT',
$GLOBALS[
'STR_ADMIN_SITES_BILLING_NUMBER_FORMAT']);
1058 $tpl->assign(
'STR_ADMIN_SITES_BILLING_NUMBER_FORMAT_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_BILLING_NUMBER_FORMAT_EXPLAIN']);
1059 $tpl->assign(
'STR_ADMIN_SITES_REQUEST_FOR_PROPOSAL_HEADER',
$GLOBALS[
'STR_ADMIN_SITES_REQUEST_FOR_PROPOSAL_HEADER']);
1060 $tpl->assign(
'STR_ADMIN_SITES_REQUEST_FOR_PROPOSAL_VALIDITY_DAYS',
$GLOBALS[
'STR_ADMIN_SITES_REQUEST_FOR_PROPOSAL_VALIDITY_DAYS']);
1061 $tpl->assign(
'STR_ADMIN_SITES_REQUEST_FOR_PROPOSAL_VALIDITY_DAYS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_REQUEST_FOR_PROPOSAL_VALIDITY_DAYS_EXPLAIN']);
1062 $tpl->assign(
'STR_ADMIN_SITES_SMALL_ORDERS',
$GLOBALS[
'STR_ADMIN_SITES_SMALL_ORDERS']);
1063 $tpl->assign(
'STR_ADMIN_SITES_SMALL_ORDERS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SMALL_ORDERS_EXPLAIN']);
1064 $tpl->assign(
'STR_ADMIN_SITES_SMALL_ORDERS_LIMIT',
$GLOBALS[
'STR_ADMIN_SITES_SMALL_ORDERS_LIMIT']);
1065 $tpl->assign(
'STR_ADMIN_SITES_SMALL_ORDERS_AMOUNT',
$GLOBALS[
'STR_ADMIN_SITES_SMALL_ORDERS_AMOUNT']);
1066 $tpl->assign(
'STR_ADMIN_SITES_SMALL_ORDERS_VAT',
$GLOBALS[
'STR_ADMIN_SITES_SMALL_ORDERS_VAT']);
1067 $tpl->assign(
'STR_ADMIN_SITES_MINIMUM_ORDER_AMOUNT_ALLOWED',
$GLOBALS[
'STR_ADMIN_SITES_MINIMUM_ORDER_AMOUNT_ALLOWED']);
1068 $tpl->assign(
'STR_ADMIN_SITES_MINIMUM_ORDER_REVE_AMOUNT_ALLOWED',
$GLOBALS[
'STR_ADMIN_SITES_MINIMUM_ORDER_REVE_AMOUNT_ALLOWED']);
1069 $tpl->assign(
'STR_ADMIN_SITES_MINIMUM_ORDER_AMOUNT_ALLOWED_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_MINIMUM_ORDER_AMOUNT_ALLOWED_EXPLAIN']);
1070 $tpl->assign(
'STR_ADMIN_SITES_ORDERS_UPDATING_LIMITATION',
$GLOBALS[
'STR_ADMIN_SITES_ORDERS_UPDATING_LIMITATION']);
1071 $tpl->assign(
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBID',
$GLOBALS[
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBID']);
1072 $tpl->assign(
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBIDDEN_IF_OLDER_THAN_LAST_YEAR',
$GLOBALS[
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBIDDEN_IF_OLDER_THAN_LAST_YEAR']);
1073 $tpl->assign(
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBIDDEN_IF_OLDER_THAN_DATE',
$GLOBALS[
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBIDDEN_IF_OLDER_THAN_DATE']);
1074 $tpl->assign(
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBIDDEN_IF_OLDER_THAN_DATE_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_ORDERS_UPDATING_OLD_FORBIDDEN_IF_OLDER_THAN_DATE_EXPLAIN']);
1075 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_HEADER',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_HEADER']);
1076 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL_FRANCO_LIMIT',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL_FRANCO_LIMIT']);
1077 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL_FRANCO_LIMIT_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL_FRANCO_LIMIT_EXPLAIN']);
1078 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_RESELLER_FRANCO_LIMIT',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_RESELLER_FRANCO_LIMIT']);
1079 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL_FRANCO_LIMIT_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL_FRANCO_LIMIT_EXPLAIN']);
1080 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_METHOD',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_METHOD']);
1081 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_NONE',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_NONE']);
1082 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_GENERAL']);
1083 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_COST_METHOD_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_COST_METHOD_EXPLAIN']);
1084 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT']);
1085 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT_PRODUCTS_IN_CART',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT_PRODUCTS_IN_CART']);
1086 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT_PRODUCTS_IN_CART_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT_PRODUCTS_IN_CART_EXPLAIN']);
1087 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_FRANCO_LIMIT_EXPLAIN']);
1088 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_FRANCO_NO_ZONE',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_FRANCO_NO_ZONE']);
1089 $tpl->assign(
'STR_ADMIN_SITES_VAT_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_SITES_VAT_DISPLAY_MODE']);
1090 $tpl->assign(
'STR_ADMIN_SITES_VAT_DISPLAY_MODE_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_VAT_DISPLAY_MODE_EXPLAIN']);
1091 $tpl->assign(
'STR_ADMIN_SITES_VAT_DISPLAY_MODE_IN_ADMIN',
$GLOBALS[
'STR_ADMIN_SITES_VAT_DISPLAY_MODE_IN_ADMIN']);
1092 $tpl->assign(
'STR_ADMIN_SITES_DISPLAY_ERRORS_FOR_IP_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_DISPLAY_ERRORS_FOR_IP_EXPLAIN']);
1093 $tpl->assign(
'STR_ADMIN_SITES_MODULE',
$GLOBALS[
'STR_ADMIN_SITES_MODULE']);
1094 $tpl->assign(
'STR_ADMIN_SITES_VAT_DISPLAY_MODE_HEADER',
$GLOBALS[
'STR_ADMIN_SITES_VAT_DISPLAY_MODE_HEADER']);
1095 $tpl->assign(
'STR_ADMIN_SITES_CURRENCY_SELECT_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_CURRENCY_SELECT_DISPLAY']);
1096 $tpl->assign(
'STR_ADMIN_SITES_CURRENCY_SELECT_DISPLAY_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_CURRENCY_SELECT_DISPLAY_EXPLAIN']);
1097 $tpl->assign(
'STR_ADMIN_SITES_DEFAULT_CURRENCY',
$GLOBALS[
'STR_ADMIN_SITES_DEFAULT_CURRENCY']);
1098 $tpl->assign(
'STR_ADMIN_SITES_DEFAULT_CURRENCY_WARNING',
$GLOBALS[
'STR_ADMIN_SITES_DEFAULT_CURRENCY_WARNING']);
1099 $tpl->assign(
'STR_ADMIN_SITES_CURRENCIES_LINK',
$GLOBALS[
'STR_ADMIN_SITES_CURRENCIES_LINK']);
1100 $tpl->assign(
'STR_ADMIN_SITES_TEXT_EDITOR',
$GLOBALS[
'STR_ADMIN_SITES_TEXT_EDITOR']);
1101 $tpl->assign(
'STR_ADMIN_SITES_DEFAULT',
$GLOBALS[
'STR_ADMIN_SITES_DEFAULT']);
1102 $tpl->assign(
'STR_ADMIN_SITES_TEXT_EDITOR_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_TEXT_EDITOR_EXPLAIN']);
1103 $tpl->assign(
'STR_ADMIN_SITES_TEXT_EDITOR_FCKEDITOR',
$GLOBALS[
'STR_ADMIN_SITES_TEXT_EDITOR_FCKEDITOR']);
1104 $tpl->assign(
'STR_ADMIN_SITES_TEXT_EDITOR_CKEDITOR',
$GLOBALS[
'STR_ADMIN_SITES_TEXT_EDITOR_CKEDITOR']);
1105 $tpl->assign(
'STR_ADMIN_SITES_TEXT_EDITOR_NICEDITOR',
$GLOBALS[
'STR_ADMIN_SITES_TEXT_EDITOR_NICEDITOR']);
1106 $tpl->assign(
'STR_ADMIN_SITES_EMAIL_CONFIGURATION',
$GLOBALS[
'STR_ADMIN_SITES_EMAIL_CONFIGURATION']);
1107 $tpl->assign(
'STR_ADMIN_SITES_EMAIL_SENDING_ALLOWED',
$GLOBALS[
'STR_ADMIN_SITES_EMAIL_SENDING_ALLOWED']);
1108 $tpl->assign(
'STR_ADMIN_SITES_EMAIL_SENDING_DEACTIVATE_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_EMAIL_SENDING_DEACTIVATE_EXPLAIN']);
1109 $tpl->assign(
'STR_ADMIN_SITES_EMAIL_CONFIGURATION_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_EMAIL_CONFIGURATION_EXPLAIN']);
1110 $tpl->assign(
'STR_MODULE_WEBMAIL_ADMIN_WEBMASTER_EMAIL',
$GLOBALS[
'STR_MODULE_WEBMAIL_ADMIN_WEBMASTER_EMAIL']);
1111 $tpl->assign(
'STR_MODULE_PREMIUM_MANDATORY_EMAIL',
$GLOBALS[
'STR_MODULE_PREMIUM_MANDATORY_EMAIL']);
1112 $tpl->assign(
'STR_ADMIN_SITES_SUPPORT_SENDER_NAME',
$GLOBALS[
'STR_ADMIN_SITES_SUPPORT_SENDER_NAME']);
1113 $tpl->assign(
'STR_ADMIN_SITES_SUPPORT_SENDER_NAME_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SUPPORT_SENDER_NAME_EXPLAIN']);
1114 $tpl->assign(
'STR_MODULE_WEBMAIL_ADMIN_ORDER_MANAGEMENT_EMAIL',
$GLOBALS[
'STR_MODULE_WEBMAIL_ADMIN_ORDER_MANAGEMENT_EMAIL']);
1115 $tpl->assign(
'STR_ADMIN_SITES_EMAIL_EMPTY_DEFAULT_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_EMAIL_EMPTY_DEFAULT_EXPLAIN']);
1116 $tpl->assign(
'STR_MODULE_WEBMAIL_ADMIN_CLIENT_SERVICE_EMAIL',
$GLOBALS[
'STR_MODULE_WEBMAIL_ADMIN_CLIENT_SERVICE_EMAIL']);
1117 $tpl->assign(
'STR_ADMIN_SITES_EMAIL_EMPTY_DEFAULT_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_EMAIL_EMPTY_DEFAULT_EXPLAIN']);
1118 $tpl->assign(
'STR_ADMIN_SITES_MODULES_POSITIONS',
$GLOBALS[
'STR_ADMIN_SITES_MODULES_POSITIONS']);
1119 $tpl->assign(
'STR_ADMIN_SITES_MODULES_POSITIONS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_MODULES_POSITIONS_EXPLAIN']);
1120 $tpl->assign(
'STR_ADMIN_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_DISPLAY_MODE']);
1122 $tpl->assign(
'STR_ADMIN_PLACE',
$GLOBALS[
'STR_ADMIN_PLACE']);
1123 $tpl->assign(
'STR_ADMIN_SITES_ABOVE_MIDDLE',
$GLOBALS[
'STR_ADMIN_SITES_ABOVE_MIDDLE']);
1124 $tpl->assign(
'STR_ADMIN_SITES_BELOW_MIDDLE',
$GLOBALS[
'STR_ADMIN_SITES_BELOW_MIDDLE']);
1125 $tpl->assign(
'STR_ADMIN_SITES_LEFT',
$GLOBALS[
'STR_ADMIN_SITES_LEFT']);
1126 $tpl->assign(
'STR_ADMIN_SITES_RIGHT',
$GLOBALS[
'STR_ADMIN_SITES_RIGHT']);
1127 $tpl->assign(
'STR_ADMIN_SITES_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_BOTTOM']);
1128 $tpl->assign(
'STR_ADMIN_SITES_TOP',
$GLOBALS[
'STR_ADMIN_SITES_TOP']);
1129 $tpl->assign(
'STR_ADMIN_SITES_CENTER_TOP',
$GLOBALS[
'STR_ADMIN_SITES_CENTER_TOP']);
1130 $tpl->assign(
'STR_ADMIN_SITES_CENTER_MIDDLE',
$GLOBALS[
'STR_ADMIN_SITES_CENTER_MIDDLE']);
1131 $tpl->assign(
'STR_ADMIN_SITES_CENTER_MIDDLE_HOME',
$GLOBALS[
'STR_ADMIN_SITES_CENTER_MIDDLE_HOME']);
1132 $tpl->assign(
'STR_ADMIN_SITES_CENTER_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_CENTER_BOTTOM']);
1133 $tpl->assign(
'STR_ADMIN_SITES_USER_SHOPS_TOP',
$GLOBALS[
'STR_ADMIN_SITES_USER_SHOPS_TOP']);
1134 $tpl->assign(
'STR_ADMIN_SITES_USER_SHOPS_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_USER_SHOPS_BOTTOM']);
1135 $tpl->assign(
'STR_ADMIN_SITES_POSITION_ADS_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_TOP']);
1136 $tpl->assign(
'STR_ADMIN_SITES_POSITION_ADS_SPONSOR',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_SPONSOR']);
1137 $tpl->assign(
'STR_ADMIN_SITES_POSITION_AD_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_AD_BOTTOM']);
1138 $tpl->assign(
'STR_ADMIN_SITES_POSITION_AD_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_AD_TOP']);
1139 $tpl->assign(
'STR_ADMIN_SITES_POSITION_ADS_MIDDLE',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_MIDDLE']);
1140 $tpl->assign(
'STR_ADMIN_SITES_POSITION_ADS_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_BOTTOM']);
1141 $tpl->assign(
'STR_ADMIN_SITES_POSITION_ADS_LEFT',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_LEFT']);
1142 $tpl->assign(
'STR_ADMIN_SITES_POSITION_ADS_RIGHT',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_ADS_RIGHT']);
1143 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_HOME',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_HOME']);
1144 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_ADS_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ADS_BOTTOM']);
1145 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_ADS_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ADS_TOP']);
1146 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_AD_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_TOP']);
1147 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_AD_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_BOTTOM']);
1148 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_FAVORITES_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_FAVORITES_BOTTOM']);
1149 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_FAVORITES_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_FAVORITES_TOP']);
1150 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_BOTTOM']);
1151 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_TOP']);
1152 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_CREATION_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_CREATION_TOP']);
1153 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_CREATION_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_ACCOUNT_CREATION_BOTTOM']);
1154 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_AD_CREATION_TOP',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_CREATION_TOP']);
1155 $tpl->assign(
'STR_ADMIN_SITES_POSITION_IPHONE_AD_CREATION_BOTTOM',
$GLOBALS[
'STR_ADMIN_SITES_POSITION_IPHONE_AD_CREATION_BOTTOM']);
1156 $tpl->assign(
'STR_ADMIN_SITES_ON_HOMEPAGE_ONLY',
$GLOBALS[
'STR_ADMIN_SITES_ON_HOMEPAGE_ONLY']);
1157 $tpl->assign(
'STR_ADMIN_SITES_PAYPAL_EMAIL',
$GLOBALS[
'STR_ADMIN_SITES_PAYPAL_EMAIL']);
1158 $tpl->assign(
'STR_ADMIN_SITES_MONEYBOOKERS_EMAIL',
$GLOBALS[
'STR_ADMIN_SITES_MONEYBOOKERS_EMAIL']);
1159 $tpl->assign(
'STR_ADMIN_SITES_MONEYBOOKERS_SECRET_WORD',
$GLOBALS[
'STR_ADMIN_SITES_MONEYBOOKERS_SECRET_WORD']);
1160 $tpl->assign(
'STR_ADMIN_SITES_MONEYBOOKERS_SECRET_WORD_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_MONEYBOOKERS_SECRET_WORD_EXPLAIN']);
1161 $tpl->assign(
'STR_ADMIN_SITES_DELIVERY_CARRIER_DELAY',
$GLOBALS[
'STR_ADMIN_SITES_DELIVERY_CARRIER_DELAY']);
1162 $tpl->assign(
'STR_ADMIN_SITES_ANALYTICS_TAG',
$GLOBALS[
'STR_ADMIN_SITES_ANALYTICS_TAG']);
1163 $tpl->assign(
'STR_ADMIN_SITES_ANALYTICS_TAG_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_ANALYTICS_TAG_EXPLAIN']);
1164 $tpl->assign(
'STR_ADMIN_CONTACT_PEEL_FOR_MODULE',
$GLOBALS[
'STR_ADMIN_CONTACT_PEEL_FOR_MODULE']);
1165 $tpl->assign(
'STR_ADMIN_SITES_ADVERTISING',
$GLOBALS[
'STR_ADMIN_SITES_ADVERTISING']);
1166 $tpl->assign(
'STR_ADMIN_SITES_ROLLOVER_HEADER',
$GLOBALS[
'STR_ADMIN_SITES_ROLLOVER_HEADER']);
1167 $tpl->assign(
'STR_ADMIN_SITES_ROLLOVER_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_ROLLOVER_EXPLAIN']);
1168 $tpl->assign(
'STR_ADMIN_SITES_ROLLOVER_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_ROLLOVER_DISPLAY']);
1169 $tpl->assign(
'STR_ADMIN_SITES_ROLLOVER_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_SITES_ROLLOVER_DISPLAY_MODE']);
1170 $tpl->assign(
'STR_ADMIN_SITES_ROLLOVER_DISPLAY_REPLACE',
$GLOBALS[
'STR_ADMIN_SITES_ROLLOVER_DISPLAY_REPLACE']);
1171 $tpl->assign(
'STR_ADMIN_SITES_ROLLOVER_DISPLAY_SCROLLING',
$GLOBALS[
'STR_ADMIN_SITES_ROLLOVER_DISPLAY_SCROLLING']);
1172 $tpl->assign(
'STR_ADMIN_SITES_CAPTCHA_ACTIVATION',
$GLOBALS[
'STR_ADMIN_SITES_CAPTCHA_ACTIVATION']);
1173 $tpl->assign(
'STR_ADMIN_SITES_CAPTCHA_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_CAPTCHA_EXPLAIN']);
1174 $tpl->assign(
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_ACTIVATION',
$GLOBALS[
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_ACTIVATION']);
1175 $tpl->assign(
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_ACTIVATION_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_ACTIVATION_EXPLAIN']);
1176 $tpl->assign(
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY',
$GLOBALS[
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY']);
1177 $tpl->assign(
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY_MODE']);
1178 $tpl->assign(
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY_DIRECT_PARENT',
$GLOBALS[
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY_DIRECT_PARENT']);
1179 $tpl->assign(
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY_ALL_PARENTS',
$GLOBALS[
'STR_ADMIN_SITES_PREVIOUS_NEXT_BUTTONS_DISPLAY_ALL_PARENTS']);
1180 $tpl->assign(
'STR_ADMIN_SITES_PRESENT_AND_ACTIVATED_BY_DEFAULT',
$GLOBALS[
'STR_ADMIN_SITES_PRESENT_AND_ACTIVATED_BY_DEFAULT']);
1181 $tpl->assign(
'STR_ADMIN_SITES_ALLOW_ORDERS_WITHOUT_STOCKS',
$GLOBALS[
'STR_ADMIN_SITES_ALLOW_ORDERS_WITHOUT_STOCKS']);
1182 $tpl->assign(
'STR_ADMIN_SITES_STOCKS_BOOKING_SECONDS',
$GLOBALS[
'STR_ADMIN_SITES_STOCKS_BOOKING_SECONDS']);
1183 $tpl->assign(
'STR_ADMIN_SITES_STOCKS_BOOKING_DEFAULT',
$GLOBALS[
'STR_ADMIN_SITES_STOCKS_BOOKING_DEFAULT']);
1184 $tpl->assign(
'STR_ADMIN_SITES_STOCKS_BOOKING_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_STOCKS_BOOKING_EXPLAIN']);
1185 $tpl->assign(
'STR_ADMIN_SITES_STOCKS_LIMIT_ALERT',
$GLOBALS[
'STR_ADMIN_SITES_STOCKS_LIMIT_ALERT']);
1186 $tpl->assign(
'STR_ADMIN_SITES_STOCKS_DECREMENT_BY_PAYMENT_STATUS',
$GLOBALS[
'STR_ADMIN_SITES_STOCKS_DECREMENT_BY_PAYMENT_STATUS']);
1187 $tpl->assign(
'STR_ADMIN_SITES_STOCKS_DECREMENT_BY_PAYMENT_STATUS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_STOCKS_DECREMENT_BY_PAYMENT_STATUS_EXPLAIN']);
1188 $tpl->assign(
'STR_ADMIN_SITES_RESELLER_MANAGE',
$GLOBALS[
'STR_ADMIN_SITES_RESELLER_MANAGE']);
1189 $tpl->assign(
'STR_ADMIN_SITES_RESELLER_MANAGE_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_RESELLER_MANAGE_EXPLAIN']);
1190 $tpl->assign(
'STR_ADMIN_SITES_AFFILIATION_COMMISSION',
$GLOBALS[
'STR_ADMIN_SITES_AFFILIATION_COMMISSION']);
1191 $tpl->assign(
'STR_ADMIN_SITES_AFFILIATION_LOGO',
$GLOBALS[
'STR_ADMIN_SITES_AFFILIATION_LOGO']);
1192 $tpl->assign(
'STR_ADMIN_SITES_SPONSOR_COMMISSION',
$GLOBALS[
'STR_ADMIN_SITES_SPONSOR_COMMISSION']);
1193 $tpl->assign(
'STR_ADMIN_SITES_MICROBUSINESS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_MICROBUSINESS_EXPLAIN']);
1194 $tpl->assign(
'STR_ADMIN_SITES_PRESENT_AND_ACTIVATED_BY_DEFAULT',
$GLOBALS[
'STR_ADMIN_SITES_PRESENT_AND_ACTIVATED_BY_DEFAULT']);
1195 $tpl->assign(
'STR_ADMIN_SITES_COMPARATOR_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_COMPARATOR_EXPLAIN']);
1196 $tpl->assign(
'STR_ADMIN_SITES_GOOGLE_FRIENDS_CONNECT_SITE_ID',
$GLOBALS[
'STR_ADMIN_SITES_GOOGLE_FRIENDS_CONNECT_SITE_ID']);
1197 $tpl->assign(
'STR_ADMIN_SITES_TWITTER_SIGN_IN',
$GLOBALS[
'STR_ADMIN_SITES_TWITTER_SIGN_IN']);
1198 $tpl->assign(
'STR_ADMIN_SITES_TWITTER_CONSUMER_KEY',
$GLOBALS[
'STR_ADMIN_SITES_TWITTER_CONSUMER_KEY']);
1199 $tpl->assign(
'STR_ADMIN_SITES_TWITTER_CONSUMER_SECRET',
$GLOBALS[
'STR_ADMIN_SITES_TWITTER_CONSUMER_SECRET']);
1200 $tpl->assign(
'STR_ADMIN_SITES_TWITTER_OAUTH_CALLBACK',
$GLOBALS[
'STR_ADMIN_SITES_TWITTER_OAUTH_CALLBACK']);
1201 $tpl->assign(
'STR_ADMIN_SITES_VACANCY_MODULE_TYPE',
$GLOBALS[
'STR_ADMIN_SITES_VACANCY_MODULE_TYPE']);
1202 $tpl->assign(
'STR_ADMIN_SITES_VACANCY_MODULE_TYPE_ADMIN',
$GLOBALS[
'STR_ADMIN_SITES_VACANCY_MODULE_TYPE_ADMIN']);
1203 $tpl->assign(
'STR_ADMIN_SITES_VACANCY_MODULE_TYPE_SUPPLIER',
$GLOBALS[
'STR_ADMIN_SITES_VACANCY_MODULE_TYPE_SUPPLIER']);
1204 $tpl->assign(
'STR_ADMIN_SITES_VACANCY_ADMIN_MESSAGE',
$GLOBALS[
'STR_ADMIN_SITES_VACANCY_ADMIN_MESSAGE']);
1205 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_FOID',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_FOID']);
1206 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_SHA1_KEY',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_SHA1_KEY']);
1207 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_URL_KO',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_URL_KO']);
1208 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_FORWARDINGCHARGES_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_FORWARDINGCHARGES_EXPLAIN']);
1209 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_PREPARATIONTIME',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_PREPARATIONTIME']);
1210 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_FORWARDINGCHARGES',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_FORWARDINGCHARGES']);
1211 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_FIRSTORDER',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_FIRSTORDER']);
1212 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_POINT_RELAIS',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_POINT_RELAIS']);
1213 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_DYFORWARDINGCHARGESCMT',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_DYFORWARDINGCHARGESCMT']);
1214 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_PREPARATIONTIME_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_PREPARATIONTIME_EXPLAIN']);
1215 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_FIRSTORDER_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_FIRSTORDER_EXPLAIN']);
1216 $tpl->assign(
'STR_ADMIN_SITES_SO_COLISSIMO_POINT_RELAIS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SO_COLISSIMO_POINT_RELAIS_EXPLAIN']);
1217 $tpl->assign(
'STR_ADMIN_SITES_TNT_USERNAME',
$GLOBALS[
'STR_ADMIN_SITES_TNT_USERNAME']);
1218 $tpl->assign(
'STR_ADMIN_SITES_TNT_PASSWORD',
$GLOBALS[
'STR_ADMIN_SITES_TNT_PASSWORD']);
1219 $tpl->assign(
'STR_ADMIN_SITES_TNT_ACCOUNT_NUMBER',
$GLOBALS[
'STR_ADMIN_SITES_TNT_ACCOUNT_NUMBER']);
1220 $tpl->assign(
'STR_ADMIN_SITES_TNT_EXPEDITION_DELAY',
$GLOBALS[
'STR_ADMIN_SITES_TNT_EXPEDITION_DELAY']);
1221 $tpl->assign(
'STR_ADMIN_SITES_SIPS_CERTIFICATE',
$GLOBALS[
'STR_ADMIN_SITES_SIPS_CERTIFICATE']);
1222 $tpl->assign(
'STR_ADMIN_SITES_SIPS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_SIPS_EXPLAIN']);
1223 $tpl->assign(
'STR_ADMIN_SITES_SPPLUS_EXTERNAL_URL',
$GLOBALS[
'STR_ADMIN_SITES_SPPLUS_EXTERNAL_URL']);
1224 $tpl->assign(
'STR_ADMIN_SITES_PAYBOX_CGI',
$GLOBALS[
'STR_ADMIN_SITES_PAYBOX_CGI']);
1225 $tpl->assign(
'STR_ADMIN_SITES_PAYBOX_SITE',
$GLOBALS[
'STR_ADMIN_SITES_PAYBOX_SITE']);
1226 $tpl->assign(
'STR_ADMIN_SITES_PAYBOX_RANG',
$GLOBALS[
'STR_ADMIN_SITES_PAYBOX_RANG']);
1227 $tpl->assign(
'STR_ADMIN_SITES_PAYBOX_ID',
$GLOBALS[
'STR_ADMIN_SITES_PAYBOX_ID']);
1228 $tpl->assign(
'STR_ADMIN_SITES_PAYBOX_TEST_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SITES_PAYBOX_TEST_EXPLAIN']);
1229 $tpl->assign(
'STR_ADMIN_SITES_SYSTEMPAY_CERTIFICATE',
$GLOBALS[
'STR_ADMIN_SITES_SYSTEMPAY_CERTIFICATE']);
1230 $tpl->assign(
'STR_ADMIN_SITES_SYSTEMPAY_TEST',
$GLOBALS[
'STR_ADMIN_SITES_SYSTEMPAY_TEST']);
1231 $tpl->assign(
'STR_ADMIN_SITES_SYSTEMPAY_ID',
$GLOBALS[
'STR_ADMIN_SITES_SYSTEMPAY_ID']);
1232 $tpl->assign(
'STR_ADMIN_SITES_SYSTEMPAY_OCCURENCES',
$GLOBALS[
'STR_ADMIN_SITES_SYSTEMPAY_OCCURENCES']);
1233 $tpl->assign(
'STR_ADMIN_SITES_SYSTEMPAY_DAYS_BETWEEN_OCCURENCES',
$GLOBALS[
'STR_ADMIN_SITES_SYSTEMPAY_DAYS_BETWEEN_OCCURENCES']);
1234 $tpl->assign(
'STR_ADMIN_SITES_SYSTEMPAY_TEST_MODE',
$GLOBALS[
'STR_ADMIN_SITES_SYSTEMPAY_TEST_MODE']);
1235 $tpl->assign(
'STR_ADMIN_SITES_PARTNERS_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_SITES_PARTNERS_DISPLAY_MODE']);
1236 $tpl->assign(
'STR_ADMIN_SITES_PARTNERS_INDIVIDUAL',
$GLOBALS[
'STR_ADMIN_SITES_PARTNERS_INDIVIDUAL']);
1237 $tpl->assign(
'STR_ADMIN_SITES_PARTNERS_GLOBAL',
$GLOBALS[
'STR_ADMIN_SITES_PARTNERS_GLOBAL']);
1238 $tpl->assign(
'STR_ADMIN_SITES_FACEBOOK_ADMIN',
$GLOBALS[
'STR_ADMIN_SITES_FACEBOOK_ADMIN']);
1239 $tpl->assign(
'STR_ADMIN_SITES_FACEBOOK_PAGE_LINK',
$GLOBALS[
'STR_ADMIN_SITES_FACEBOOK_PAGE_LINK']);
1240 $tpl->assign(
'STR_ADMIN_SITES_FACEBOOK_CONNECT',
$GLOBALS[
'STR_ADMIN_SITES_FACEBOOK_CONNECT']);
1241 $tpl->assign(
'STR_ADMIN_SITES_FACEBOOK_APPID',
$GLOBALS[
'STR_ADMIN_SITES_FACEBOOK_APPID']);
1242 $tpl->assign(
'STR_ADMIN_SITES_FACEBOOK_SECRET',
$GLOBALS[
'STR_ADMIN_SITES_FACEBOOK_SECRET']);
1243 $tpl->assign(
'STR_ADMIN_SITES_FACEBOOK_BASEURL',
$GLOBALS[
'STR_ADMIN_SITES_FACEBOOK_BASEURL']);
1244 $output .=
$tpl->fetch();
1258 $delete_table_array = array(
'admins_actions' ,
'commandes' ,
'codes_promos' ,
'articles' ,
'categories' ,
'configuration' ,
'html' ,
'produits' ,
'rubriques' ,
'tarifs' ,
'utilisateurs' ,
'utilisateur_connexions' ,
'zones' ,
'societe' ,
'langues' ,
'devises' ,
'marques' ,
'meta' ,
'cgv' ,
'contacts' ,
'legal' ,
'access_map' ,
'tailles' ,
'couleurs' ,
'banniere' ,
'nom_attributs' ,
'attributs' ,
'ecotaxes' ,
'email_template' ,
'email_template_cat' ,
'import_field' ,
'modules' ,
'newsletter' ,
'paiement' ,
'pays' ,
'profil' ,
'statut_livraison' ,
'statut_paiement' ,
'tva' ,
'types' ,
'webmail' ,
'commandes_articles');
1260 $delete_table_array[] =
'faq';
1263 $delete_table_array[] =
'groupes';
1266 $delete_table_array[] =
'lexique';
1269 $delete_table_array[] =
'quantites';
1272 $delete_table_array[] =
'parrain';
1275 $delete_table_array[] =
'alertes';
1278 $delete_table_array[] =
'affiliation';
1281 $delete_table_array[] =
'etatstock';
1284 $delete_table_array[] =
'carrousels';
1285 $delete_table_array[] =
'vignettes_carrousels';
1288 foreach ($delete_table_array as $this_table_short_name) {
1289 $qid =
query(
"DELETE
1292 if ($this_table_short_name ==
'configuration' &&
affected_rows()) {
1293 $site_erased =
true;
1296 if (!empty($site_erased)) {
1314 <table class="main_table">
1316 <td class="entete" colspan="4">' .
$GLOBALS[
'STR_ADMIN_SITES_LIST_TITLE'] .
'</td>
1318 if(empty(
$GLOBALS[
'site_parameters'][
'multisite_disable']) &&
$_SESSION[
'session_utilisateur'][
'site_id']==0) {
1322 <td colspan="4"><a href="' .
get_current_url(
false) .
'?mode=ajout">' .
$GLOBALS[
'STR_ADMIN_SITES_ADD_SITE'] .
'</a></td>
1330 if (count($all_sites_name_array) == 0) {
1332 $output .=
'<tr><td><b>' .
$GLOBALS[
'STR_ADMIN_SITES_LIST_NOTHING_FOUND'] .
'</b></td></tr>';
1337 <td class="menu" width="50">' .
$GLOBALS[
'STR_ADMIN_ACTION'] .
'</td>
1338 <td class="menu" width="80">' .
$GLOBALS[
'STR_ADMIN_ID'] .
'</td>
1339 <td class="menu">' .
$GLOBALS[
'STR_ADMIN_SITES_SITE_NAME'] .
'</td>
1340 <td class="menu">' .
$GLOBALS[
'STR_MODULE_PREMIUM_URL_WEBSITE'] .
'</td>
1343 foreach ($all_sites_name_array as $site_id => $nom) {
1346 $output .= tr_rollover(
$i,
true) .
'
1347 <td class="center">';
1351 <a onclick="bootbox.confirm(\''.filtre_javascript(sprintf(
$GLOBALS[
"STR_ADMIN_SITE_DUPLICATE_CONFIRM"], $nom),
true,
true,
true) .
'\',
function(result) {
if (result) {document.location = \
'' .
get_current_url(
false) .
'?mode=duplicate&id=' . $site_id .
'\'}} );
return false;
" title="' . $GLOBALS['STR_ADMIN_SITES_DUPLICATE
'] . '" href="' . get_current_url(false) . '?mode=duplicate&
id=
' . $site_id . '"><img src="' . $GLOBALS['administrer_url
'] . '/images/duplicate.png
" alt="' . $GLOBALS['STR_ADMIN_SITES_DUPLICATE
'] . '" /></a>';
1354 <a title="' . $GLOBALS['STR_ADMIN_SITES_LIST_MODIFY
'] . '" href="' . get_current_url(false) . '?mode=modif&
id=
' . $site_id . '"><img src="' . $GLOBALS['administrer_url
'] . '/images/b_edit.png
" alt="' . $GLOBALS['STR_ADMIN_SITES_LIST_MODIFY
'] . '" /></a>';
1355 if(empty($GLOBALS['site_parameters']['multisite_disable']) && $_SESSION['session_utilisateur']['site_id']==0) {
1356 // La suppression de site est réservé aux administrateurs multisite.
1358 <a onclick="bootbox.confirm(\
''.
filtre_javascript(sprintf(
$GLOBALS[
"STR_ADMIN_SITE_DELETE_CONFIRM"], $nom),
true,
true,
true) .
'\',
function(result) {
if (result) {document.location = \
'' .
get_current_url(
false) .
'?mode=suppr&id=' . $site_id .
'\'}});
return false;
" title="' . $GLOBALS['STR_DELETE
'] . '" href="' . get_current_url(false) . '?mode=suppr&
id=
' . $site_id . '"><img src="' . $GLOBALS['administrer_url
'] . '/images/b_drop.png
" alt="' . $GLOBALS['STR_DELETE
'] . '" /></a>';
1362 <td class="title_label center
">' . $site_id . '</td>
1363 <td class="center
" style="padding-left:10px
">' . get_site_name($site_id) . '</td>
1364 <td class="center
" style="padding-left:10px
">' . vb($sites_wwwroot_array[$site_id]) . '</td>
1366 // L'incrément est utile pour la fonction tr_rollover
1382 function supprime_favicon($id, $file)
1384 set_configuration_variable(array('technical_code' => 'favicon', 'string' => '', 'origin' => 'sites.php', 'site_id' => $id), true);
1385 return delete_uploaded_file_and_thumbs($file);
1395 function supprime_default_picture($id, $file)
1397 set_configuration_variable(array('technical_code' => 'default_picture', 'string' => '', 'origin' => 'sites.php', 'site_id' => $id), true);
1398 return delete_uploaded_file_and_thumbs($file);
get_sites_wwwroot_array()
Retourne un tableau des urls des sites configurés en fonction des droits de l'administrateur.
supprime_site($id)
Efface les paramètres du site spécifié par $id.
static strpos($haystack, $needle, $offset=0)
Returns the numeric position of the first occurrence of needle in the haystack string.
get_current_url($with_get=true, $get_short_url=false, $take_away_get_args_array=null)
get_current_url()
upload($field_name, $rename_file=true, $file_kind=null, $image_max_width=null, $image_max_height=null, $path=null, $new_file_name_without_extension=null, $default_return_value=null)
Fonction d'upload de fichiers.
static fopen_utf8($filename, $mode, $force_filename_in_iso_8859=false, $try_filename_in_iso_8859_if_file_not_found=true)
Ouvre un fichier.
redirect_and_die($url, $permanent_redirection=false, $avoid_loop=false)
Redirige vers l'URL demandée et arrête le programme.
static html_entity_decode_if_needed($string)
String::html_entity_decode_if_needed()
affected_rows($database_object=null)
affected_rows()
word_real_escape_string($value)
Applique real_escape_string dans le cas où on n'insère qu'un seul mot, de moins de 30 caractères...
create_or_update_site($frm, $update_module=true, $mode, $available_langs_array=null)
Créer ou mets à jour les paramètres du site $frm['site_id'].
affiche_formulaire_ajout_site(&$frm)
FONCTIONS.
static strtolower($string)
Returns string with all alphabetic characters converted to lowercase.
nohtml_real_escape_string($value, $allowed_tags=null)
Protège les données pour insertion dans MySQL ET supprime les tags HTML pour protéger de toute sorte ...
if(!empty($_GET['id'])) if(isset($_POST['form_name'], $_POST['form_subject'], $_POST['form_text'], $_POST['form_lang'])&&empty($_GET['id'])) if(empty($_GET['id'])) $tpl
necessite_priv($priv, $demo_allowed=true, $configuration_modification=false)
Cette fonction vérifie si l'utilisateur a les privilèges de $priv.
get_filter_site_cond($table_technical_code, $table_alias=null, $use_strict_rights_if_in_admin=false, $specific_site_id=null, $exclude_public_items=false, $admin_force_multisite_if_allowed=false)
Retourne la condition SQL permettant de filtrer les données pour une table.
query($query, $die_if_error=false, $database_object=null, $silent_if_error=false, $security_sql_filter=true)
The query() function is meant to be called anywhere you want to make a query.
execute_sql($file_path, $max_sql_lines_at_once=10000, $disable_echo=false, $site_id=0, $regular_display=100, $sql=null, $replace_tags=true)
execute_sql()
static str_form_value($value, $flags=ENT_COMPAT)
Encode une chaine de caractères pour affichage dans un value="".
affiche_liste_site()
Retourne la liste des sites configurés.
get_country_select_options($selected_country_name=null, $selected_country_id=null, $option_value= 'name', $display_inactive_country=false, $allowed_zone_id=null, $preselect_shop_country_if_none_selected=true, $selected_country_lang=null, $allowed_ids=null)
get_country_select_options()
supprime_favicon($id, $file)
Supprime une favicon.
if(strlen($date2)== '10') if($type== 'users-by-age'&&a_priv('admin_users', true)) elseif($type== 'forums-count'&&a_priv('admin_content', true)) elseif($type== 'forums-categories'&&a_priv('admin_content', true)) elseif($type== 'users-count'&&a_priv('admin_users', true)) elseif($type== 'product-categories'&&a_priv('admin_products', true)) elseif($type== 'users-by-sex'&&a_priv('admin_users', true)) elseif($type== 'users-by-country'&&a_priv('admin_users', true)) elseif($type== 'sales'&&a_priv('admin_sales', true))
necessite_identification()
Si l'utilisateur n'est pas connecté à un compte, on affiche une page d'identification et arrête le sc...
get_modules_array($only_active=false, $location=null, $technical_code=null, $force_update_cache_information=false, $specific_site_id=null, $exclude_public_items=false)
Retourne les modules sous forme de tableau.
affiche_formulaire_site(&$frm, $frm_modules)
Retourne le HTML du formulaire de modification/création de site.
fetch_assoc($query_result)
fetch_assoc()
get_all_sites_name_array($admin_force_multisite_if_allowed=false, $allow_null_site_id=false, $skip_rights_check=false)
Retourne un tableau des noms des sites configurés en fonction des droits de l'administrateur.
get_form_token_input($name= 'general', $use_existing_token=true, $return_as_input_form=true)
get_form_token_input()
get_site_wwwroot($site_id, $lang=null)
Renvoie l'URL d'un site donné
affiche_formulaire_modif_site($id, $frm)
Retourne le formulaire de modification pour le site sélectionné en paramétrant la fonction affiche_fo...
get_site_id_sql_set_value($site_ids)
Retourne la valeur SQL d'un champ INT ou SET suivant que ce soit un entier ou un tableau.
supprime_default_picture($id, $file)
Supprime l'image par défaut utilisée sur le site.
if(!empty($error_msg)) $modules_dir
set_configuration_variable($frm, $update_if_technical_code_exists=false, $allow_create=true)
Ajoute la zone HTML dans la table peel_configuration.
verify_token($name= 'general', $delay_in_minutes=60, $check_referer_if_set_by_server=true, $cancel_token=true, $minimum_wait_in_seconds_before_use=0)
Vérification de la validité d'un token Par défaut, un token est valide 1h, et utilisable 1 seule fois...
static substr($string, $start, $length=null)
Returns the portion of string specified by the start and length parameters.
check_if_module_active($module_name, $specific_file_name=null)
Renvoie si un module est présent et activé ou non - Peut être appelé avant ou après le chargement d'u...
static ucfirst($string)
Returns string with first letter uppercase.
if(defined('IN_PEEL_ADMIN')||IN_INSTALLATION) $_SESSION['session_langue']