';
// Print a link if it exists
$linkClass = array();
@@ -214,20 +214,20 @@ public function renderLevel($depth)
if ($this->_current->link != null && $this->_current->target != null)
{
- echo "_current->link . "\" target=\"" . $this->_current->target . "\" >"
- . $this->_current->title . $dropdownCaret . "";
+ echo ''
+ . $this->_current->title . $dropdownCaret . '';
}
elseif ($this->_current->link != null && $this->_current->target == null)
{
- echo "_current->link . "\">" . $this->_current->title . $dropdownCaret . "";
+ echo '' . $this->_current->title . $dropdownCaret . '';
}
elseif ($this->_current->title != null)
{
- echo "" . $this->_current->title . $dropdownCaret . "";
+ echo '' . $this->_current->title . $dropdownCaret . '';
}
else
{
- echo "";
+ echo '';
}
// Recurse through children if they exist
diff --git a/administrator/modules/mod_popular/helper.php b/administrator/modules/mod_popular/helper.php
index 8591798606892..1eac75a1f3202 100644
--- a/administrator/modules/mod_popular/helper.php
+++ b/administrator/modules/mod_popular/helper.php
@@ -122,6 +122,6 @@ public static function getTitle($params)
$title = '';
}
- return JText::plural('MOD_POPULAR_TITLE' . ($catid ? "_CATEGORY" : '') . ($who != '0' ? "_$who" : ''), (int) $params->get('count'), $title);
+ return JText::plural('MOD_POPULAR_TITLE' . ($catid ? '_CATEGORY' : '') . ($who != '0' ? "_$who" : ''), (int) $params->get('count'), $title);
}
}
diff --git a/administrator/templates/hathor/cpanel.php b/administrator/templates/hathor/cpanel.php
index 152f6b2c8b3d4..1b6e026e433ce 100644
--- a/administrator/templates/hathor/cpanel.php
+++ b/administrator/templates/hathor/cpanel.php
@@ -89,7 +89,7 @@
diff --git a/administrator/templates/hathor/html/com_banners/tracks/default.php b/administrator/templates/hathor/html/com_banners/tracks/default.php
index 4fd208b58f02e..961e1c2871fbd 100644
--- a/administrator/templates/hathor/html/com_banners/tracks/default.php
+++ b/administrator/templates/hathor/html/com_banners/tracks/default.php
@@ -131,10 +131,10 @@
'height' => '300px',
'footer' => ''
- . JText::_("COM_BANNERS_CANCEL") . ''
+ . JText::_('COM_BANNERS_CANCEL') . ''
. '',
+ . JText::_('COM_BANNERS_TRACKS_EXPORT') . '',
)
); ?>
diff --git a/administrator/templates/hathor/html/com_finder/maps/default.php b/administrator/templates/hathor/html/com_finder/maps/default.php
index 94355167de024..602fbf06bb787 100644
--- a/administrator/templates/hathor/html/com_finder/maps/default.php
+++ b/administrator/templates/hathor/html/com_finder/maps/default.php
@@ -120,7 +120,7 @@
num_children === 0) : ?>
- ">num_nodes; ?>
+ num_nodes; ?>
diff --git a/administrator/templates/hathor/html/com_menus/menus/default.php b/administrator/templates/hathor/html/com_menus/menus/default.php
index 1fd85bb9753f6..53ef61b9dbeea 100644
--- a/administrator/templates/hathor/html/com_menus/menus/default.php
+++ b/administrator/templates/hathor/html/com_menus/menus/default.php
@@ -23,7 +23,7 @@
$modMenuId = (int) $this->get('ModMenuId');
$script = array();
-$script[] = "jQuery(document).ready(function() {";
+$script[] = 'jQuery(document).ready(function() {';
foreach ($this->items as $item) :
if ($user->authorise('core.edit', 'com_menus')) :
@@ -39,7 +39,7 @@
$script[] = ' window.parent.location.reload();';
$script[] = ' },1000);';
$script[] = ' });';
-$script[] = "});";
+$script[] = '});';
JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
?>
@@ -162,10 +162,10 @@
'height' => '300px',
'width' => '800px',
'footer' => ''
- . JText::_("JLIB_HTML_BEHAVIOR_CLOSE") . ''
+ . JText::_('JLIB_HTML_BEHAVIOR_CLOSE') . ''
. ''
+ . JText::_('JSAVE') . ''
)
); ?>
@@ -182,7 +182,7 @@
'height' => '500px',
'width' => '800px',
'footer' => ''
- . JText::_("JLIB_HTML_BEHAVIOR_CLOSE") . ''
+ . JText::_('JLIB_HTML_BEHAVIOR_CLOSE') . ''
)
); ?>
diff --git a/administrator/templates/hathor/html/com_postinstall/messages/default.php b/administrator/templates/hathor/html/com_postinstall/messages/default.php
index 75ed564ea3b7f..b5d93f1ac71ad 100644
--- a/administrator/templates/hathor/html/com_postinstall/messages/default.php
+++ b/administrator/templates/hathor/html/com_postinstall/messages/default.php
@@ -12,15 +12,17 @@
$renderer = JFactory::getDocument()->loadRenderer('module');
$options = array('style' => 'raw');
$mod = JModuleHelper::getModule('mod_feed');
-$param = array("rssurl" => "https://www.joomla.org/announcements/release-news.feed?type=rss",
- "rsstitle" => 0,
- "rssdesc" => 0,
- "rssimage" => 1,
- "rssitems" => 5,
- "rssitemdesc" => 1,
- "word_count" => 200,
- "cache" => 0,
- "moduleclass_sfx" => ' list-striped');
+$param = array(
+ 'rssurl' => 'https://www.joomla.org/announcements/release-news.feed?type=rss',
+ 'rsstitle' => 0,
+ 'rssdesc' => 0,
+ 'rssimage' => 1,
+ 'rssitems' => 5,
+ 'rssitemdesc' => 1,
+ 'word_count' => 200,
+ 'cache' => 0,
+ 'moduleclass_sfx' => ' list-striped'
+);
$params = array('params' => json_encode($param));
?>
diff --git a/administrator/templates/hathor/html/com_templates/template/default.php b/administrator/templates/hathor/html/com_templates/template/default.php
index 490b4c2f9f4a9..1282d08e059d2 100644
--- a/administrator/templates/hathor/html/com_templates/template/default.php
+++ b/administrator/templates/hathor/html/com_templates/template/default.php
@@ -85,7 +85,7 @@ function clearCoords()
};
});");
}
-JFactory::getDocument()->addStyleDeclaration("
+JFactory::getDocument()->addStyleDeclaration('
/* Styles for modals */
.selected{
background: #08c;
@@ -112,7 +112,7 @@ function clearCoords()
.tree-holder{
overflow-x: auto;
}
-");
+');
if ($this->type == 'font')
{
JFactory::getDocument()->addStyleDeclaration(
diff --git a/administrator/templates/hathor/html/com_templates/template/default_tree.php b/administrator/templates/hathor/html/com_templates/template/default_tree.php
index 7cb55f94160b3..e67483f537df1 100644
--- a/administrator/templates/hathor/html/com_templates/template/default_tree.php
+++ b/administrator/templates/hathor/html/com_templates/template/default_tree.php
@@ -31,16 +31,16 @@
if ($count == count($keyArray))
{
- $class = "folder show";
+ $class = 'folder show';
}
else
{
- $class = "folder";
+ $class = 'folder';
}
}
else
{
- $class = "folder";
+ $class = 'folder';
}
?>
diff --git a/administrator/templates/hathor/html/modules.php b/administrator/templates/hathor/html/modules.php
index 8724c9427a70f..3112e486e0138 100644
--- a/administrator/templates/hathor/html/modules.php
+++ b/administrator/templates/hathor/html/modules.php
@@ -38,7 +38,7 @@ function modChrome_xhtmlid($module, &$params, &$attribs)
diff --git a/administrator/templates/hathor/html/pagination.php b/administrator/templates/hathor/html/pagination.php
index e245d81adcbad..a8e630b2ac2a4 100644
--- a/administrator/templates/hathor/html/pagination.php
+++ b/administrator/templates/hathor/html/pagination.php
@@ -73,16 +73,16 @@ function pagination_list_footer($list)
$fixlimit = $list['limitfield'];
$fixlimit = preg_replace('/onchange="Joomla.submitform\(\);"/', '', $fixlimit);
- $html = "';
return $html;
}
@@ -93,35 +93,35 @@ function pagination_list_render($list)
if ($list['start']['active'])
{
- $html .= "";
+ $html .= '';
} else {
- $html .= "";
+ $html .= '';
}
if ($list['previous']['active'])
{
- $html .= "";
+ $html .= '';
} else {
- $html .= "";
+ $html .= '';
}
- $html .= "\n';
if ($list['next']['active'])
{
- $html .= "";
+ $html .= '';
} else {
- $html .= "";
+ $html .= '';
}
if ($list['end']['active'])
{
- $html .= "";
+ $html .= '';
} else {
- $html .= "";
+ $html .= '';
}
return $html;
@@ -131,11 +131,11 @@ function pagination_item_active(&$item)
{
if ($item->base > 0)
{
- return "text."\" onclick=\"document.adminForm." . $item->prefix . "limitstart.value=".$item->base."; Joomla.submitform();return false;\">".$item->text."";
+ return ''.$item->text. '';
}
else
{
- return "text."\" onclick=\"document.adminForm." . $item->prefix . "limitstart.value=0; Joomla.submitform();return false;\">".$item->text."";
+ return ''.$item->text. '';
}
}
diff --git a/administrator/templates/hathor/index.php b/administrator/templates/hathor/index.php
index b9471fcb7d07e..cb235f717942d 100644
--- a/administrator/templates/hathor/index.php
+++ b/administrator/templates/hathor/index.php
@@ -105,7 +105,7 @@
@@ -132,7 +132,7 @@
input->getInt('hidemainmenu')) : ?>
-
+
diff --git a/administrator/templates/hathor/login.php b/administrator/templates/hathor/login.php
index 7e398d6473e8d..925f67aa8706d 100644
--- a/administrator/templates/hathor/login.php
+++ b/administrator/templates/hathor/login.php
@@ -55,7 +55,7 @@
if ($this->direction === 'rtl')
{
JHtml::_('stylesheet', 'template_rtl.css', array('version' => 'auto', 'relative' => true));
- JHtml::_('stylesheet', 'colour_' . $colour . '_rtl.css', array('version' => 'auto', 'relative' => true));;
+ JHtml::_('stylesheet', 'colour_' . $colour . '_rtl.css', array('version' => 'auto', 'relative' => true));
}
// Load additional CSS styles for bold Text
@@ -93,7 +93,7 @@
diff --git a/administrator/templates/isis/error.php b/administrator/templates/isis/error.php
index 636378de65e08..32b178c50ea1c 100644
--- a/administrator/templates/isis/error.php
+++ b/administrator/templates/isis/error.php
@@ -122,7 +122,7 @@
-" data-spy="scroll" data-target=".subhead" data-offset="87">
+
|