mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
Remove chrome frame toggler
This commit is contained in:
@@ -52,7 +52,6 @@ class Login implements ControllerProviderInterface
|
||||
return array(
|
||||
'instance_title' => $app['phraseanet.registry']->get('GV_homeTitle'),
|
||||
'has_terms_of_use' => $app->hasTermsOfUse(),
|
||||
'display_google_chrome_frame' => $app['phraseanet.registry']->get('GV_display_gcf'),
|
||||
'meta_description' => $app['phraseanet.registry']->get('GV_metaDescription'),
|
||||
'meta_keywords' => $app['phraseanet.registry']->get('GV_metakeywords'),
|
||||
'browser_name' => $app['browser']->getBrowser(),
|
||||
|
@@ -366,7 +366,6 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
'webServices' => array(
|
||||
'googleApi' => $app['phraseanet.registry']->get('GV_google_api'),
|
||||
'googleAnalyticsId' => $app['phraseanet.registry']->get('GV_googleAnalytics'),
|
||||
'googleChromeFrameDisclaimer' => $app['phraseanet.registry']->get('GV_display_gcf'),
|
||||
'i18nWebService' => $app['phraseanet.registry']->get('GV_i18n_service'),
|
||||
'recaptacha' => array(
|
||||
'active' => $app['phraseanet.registry']->get('GV_captchas'),
|
||||
|
@@ -662,12 +662,6 @@ return call_user_func_array(function(Application $app) {
|
||||
'comment' => _('Allow the website to be indexed by search engines like Google'),
|
||||
'default' => true
|
||||
),
|
||||
array(
|
||||
'type' => \registry::TYPE_BOOLEAN,
|
||||
'name' => 'GV_display_gcf',
|
||||
'comment' => _('Enable Google Chrome frame'),
|
||||
'default' => true
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@@ -48,7 +48,6 @@
|
||||
</head>
|
||||
<body>
|
||||
{% block google_chrome_frame %}
|
||||
{% if display_google_chrome_frame %}
|
||||
<!--[if lt IE 7]>
|
||||
{% set browserLink = "<a href='http://browsehappy.com/'>" ~ browser_name ~ "</a>"|raw %}
|
||||
{% set GCFLink = "<a href='http://www.google.com/chromeframe/?redirect=true'>Google Chrome Frame</a>"|raw %}
|
||||
@@ -57,7 +56,6 @@
|
||||
{% trans %}Please upgrade {{ browserLink }} or activate {{ GCFLink }} to improve your experience.{% endtrans %}
|
||||
</p>
|
||||
<![endif]-->
|
||||
{% endif %}
|
||||
{% endblock google_chrome_frame %}
|
||||
|
||||
<div class="container full-height">
|
||||
|
Reference in New Issue
Block a user