diff --git a/administrator/modules/mod_status/tmpl/default.php b/administrator/modules/mod_status/tmpl/default.php
index ce94a45af747c..6f62b144031f9 100644
--- a/administrator/modules/mod_status/tmpl/default.php
+++ b/administrator/modules/mod_status/tmpl/default.php
@@ -16,8 +16,12 @@
// Print the Preview link to Main site.
if ($params->get('show_viewsite', 1))
{
+ // Gets the FrontEnd Main page Uri
+ $frontEndUri = JUri::getInstance(JUri::root());
+ $frontEndUri->setScheme(((int) JFactory::getApplication()->get('force_ssl', 0) === 2) ? 'https' : 'http');
+
$output[] = '
'
diff --git a/administrator/templates/hathor/login.php b/administrator/templates/hathor/login.php
index 851bf9a153c0d..c1c39964fa571 100644
--- a/administrator/templates/hathor/login.php
+++ b/administrator/templates/hathor/login.php
@@ -13,6 +13,10 @@
$lang = JFactory::getLanguage();
$doc = JFactory::getDocument();
+// Gets the FrontEnd Main page Uri
+$frontEndUri = JUri::getInstance(JUri::root());
+$frontEndUri->setScheme(((int) JFactory::getApplication()->get('force_ssl', 0) === 2) ? 'https' : 'http');
+
// jQuery needed by template.js
JHtml::_('jquery.framework');
@@ -112,7 +116,7 @@
diff --git a/administrator/templates/isis/error.php b/administrator/templates/isis/error.php
index e5c6bd7f89d74..34c2a336482c7 100644
--- a/administrator/templates/isis/error.php
+++ b/administrator/templates/isis/error.php
@@ -22,6 +22,11 @@
$input = $app->input;
$user = JFactory::getUser();
+// Gets the FrontEnd Main page Uri
+$frontEndUri = JUri::getInstance(JUri::root());
+$frontEndUri->setScheme(((int) JFactory::getApplication()->get('force_ssl', 0) === 2) ? 'https' : 'http');
+$mainPageUri = $frontEndUri->toString();
+
// Detecting Active Variables
$option = $input->get('option', '');
$view = $input->get('view', '');
@@ -135,7 +140,7 @@
-
+
get('admin_menus') != '0') : ?>
@@ -173,7 +178,7 @@
-
+
diff --git a/administrator/templates/isis/index.php b/administrator/templates/isis/index.php
index ed73b3b23dc9c..7bb6f4a643095 100644
--- a/administrator/templates/isis/index.php
+++ b/administrator/templates/isis/index.php
@@ -17,6 +17,11 @@
$input = $app->input;
$user = JFactory::getUser();
+// Gets the FrontEnd Main page Uri
+$frontEndUri = JUri::getInstance(JUri::root());
+$frontEndUri->setScheme(((int) JFactory::getApplication()->get('force_ssl', 0) === 2) ? 'https' : 'http');
+$mainPageUri = $frontEndUri->toString();
+
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
@@ -178,7 +183,7 @@ function colorIsLight($color)
baseurl . '/index.php"'); ?>>
-
+
params->get('admin_menus') != '0') ? ' class="nav-collapse collapse"' : ''; ?>>
@@ -207,7 +212,7 @@ function colorIsLight($color)
-
+
diff --git a/administrator/templates/isis/login.php b/administrator/templates/isis/login.php
index 50caffda18f03..9422cdb33e1bf 100644
--- a/administrator/templates/isis/login.php
+++ b/administrator/templates/isis/login.php
@@ -13,6 +13,10 @@
$doc = JFactory::getDocument();
$lang = JFactory::getLanguage();
+// Gets the FrontEnd Main page Uri
+$frontEndUri = JUri::getInstance(JUri::root());
+$frontEndUri->setScheme(((int) JFactory::getApplication()->get('force_ssl', 0) === 2) ? 'https' : 'http');
+
// Color Params
$background_color = $this->params->get('loginBackgroundColor') ? $this->params->get('loginBackgroundColor') : '';
$color_is_light = ($background_color && colorIsLight($background_color));
@@ -128,7 +132,7 @@ function colorIsLight($color)
©
-
+