From 4184c5ae8f852693a3085cfa9928b56ff72a17a4 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 10 Mar 2016 13:33:42 +0000 Subject: [PATCH] #simeox : Disable english version Put online Enable google & bing sitemaps @0:30 --- framework/application/configs/application.ini | 18 +++++++--------- framework/application/forms/Settings.php | 4 ++++ .../views/scripts/common/footer.phtml | 21 +++---------------- less/navigation.less | 10 +++------ 4 files changed, 18 insertions(+), 35 deletions(-) diff --git a/framework/application/configs/application.ini b/framework/application/configs/application.ini index f4b2f98..4890a58 100644 --- a/framework/application/configs/application.ini +++ b/framework/application/configs/application.ini @@ -1,5 +1,5 @@ [production] -dev = true +dev = false minify.js = true minify.css = true @@ -20,7 +20,7 @@ session.lifetime = 31536000 ;1 year session.adapter = cache session.domain = physioassist.com -webhost = www. +webhost = www.physioassist.com database.adapter = pdo_mysql @@ -29,10 +29,9 @@ database.params.username = physioastpwww database.params.password = IFuXxDtYqLZ6 database.params.dbname = physioastpwww - seo.universalAnalytics = UA-74498434-1 -seo.google = -seo.bing = +seo.google = google93c0129ef18a399d.html +seo.bing = 8986457D1D126C38A815027C839372DC navigation.containers[] = 0; navigation.containers[] = -2; @@ -41,7 +40,6 @@ navigation.containers[] = -3; locales.fr = www.physioassist.com locales.en = en.physioassist.com - acl.perpage = true acl.roles[] = superadmin acl.roles[] = admin @@ -53,9 +51,6 @@ compat_ie = 8 privacy.enabled = true privacy.analytics = true -httpauth.username = physio -httpauth.password = assist2016z - [testing : production] dev = true @@ -76,4 +71,7 @@ robots = false locales.fr = simeox.dev.cubedesigners.com locales.en = en.simeox.dev.cubedesigners.com -webhost = simeox.dev.cubedesigners.com \ No newline at end of file +webhost = simeox.dev.cubedesigners.com + +httpauth.username = physio +httpauth.password = assist2016z \ No newline at end of file diff --git a/framework/application/forms/Settings.php b/framework/application/forms/Settings.php index e9409e7..3dd3173 100644 --- a/framework/application/forms/Settings.php +++ b/framework/application/forms/Settings.php @@ -7,6 +7,10 @@ class Simeox_Form_Settings extends CubeIT_Form_Settings { $this->setTitle('Edition des paramètres du site'); + $locales = new CubeIT_Form_Element_LocalesMultiCheckbox('localesEnabled'); + $locales->setLabel('Langues actives'); + $this->addElement($locales); + $logo = new CubeIT_Form_Element_File_Image('site_logo'); $logo->setLabel('Logo principal'); $this->addElement($logo); diff --git a/framework/application/views/scripts/common/footer.phtml b/framework/application/views/scripts/common/footer.phtml index 40e13ea..2ffdc7a 100644 --- a/framework/application/views/scripts/common/footer.phtml +++ b/framework/application/views/scripts/common/footer.phtml @@ -1,23 +1,8 @@