diff --git a/administrator/components/com_modules/views/module/tmpl/edit.php b/administrator/components/com_modules/views/module/tmpl/edit.php
index 78e3574b7285a..0e90feb028fca 100644
--- a/administrator/components/com_modules/views/module/tmpl/edit.php
+++ b/administrator/components/com_modules/views/module/tmpl/edit.php
@@ -199,10 +199,10 @@
$this->fieldset = 'description';
$long_description = JLayoutHelper::render('joomla.edit.fieldset', $this);
if (!$long_description) {
- $truncated = JHtmlString::truncate($short_description, 550, true, false);
+ $truncated = JHtml::_('string.truncate', $short_description, 550, true, false);
if (strlen($truncated) > 500) {
$long_description = $short_description;
- $short_description = JHtmlString::truncate($truncated, 250);
+ $short_description = JHtml::_('string.truncate', $truncated, 250);
if ($short_description == $long_description) {
$long_description = '';
}
diff --git a/administrator/components/com_plugins/views/plugin/tmpl/edit.php b/administrator/components/com_plugins/views/plugin/tmpl/edit.php
index 3b067386a0d34..c2e051eeb7e23 100644
--- a/administrator/components/com_plugins/views/plugin/tmpl/edit.php
+++ b/administrator/components/com_plugins/views/plugin/tmpl/edit.php
@@ -77,10 +77,10 @@
$this->fieldset = 'description';
$long_description = JLayoutHelper::render('joomla.edit.fieldset', $this);
if (!$long_description) {
- $truncated = JHtmlString::truncate($short_description, 550, true, false);
+ $truncated = JHtml::_('string.truncate', $short_description, 550, true, false);
if (strlen($truncated) > 500) {
$long_description = $short_description;
- $short_description = JHtmlString::truncate($truncated, 250);
+ $short_description = JHtml::_('string.truncate', $truncated, 250);
if ($short_description == $long_description) {
$long_description = '';
}
diff --git a/administrator/components/com_users/views/users/tmpl/default.php b/administrator/components/com_users/views/users/tmpl/default.php
index a23dc34040e54..76f1d5dcf2caa 100644
--- a/administrator/components/com_users/views/users/tmpl/default.php
+++ b/administrator/components/com_users/views/users/tmpl/default.php
@@ -127,15 +127,15 @@
$self = $loggeduser->id == $item->id;
if ($canChange) :
- echo JHtml::_('jgrid.state', JHtmlUsers::blockStates($self), $item->block, $i, 'users.', !$self);
+ echo JHtml::_('jgrid.state', JHtml::_('users.blockStates', $self), $item->block, $i, 'users.', !$self);
else :
- echo JHtml::_('jgrid.state', JHtmlUsers::blockStates($self), $item->block, $i, 'users.', false);
+ echo JHtml::_('jgrid.state', JHtml::_('users.blockStates', $self), $item->block, $i, 'users.', false);
endif; ?>
activation) ? 0 : 1;
- echo JHtml::_('jgrid.state', JHtmlUsers::activateStates(), $activated, $i, 'users.', (boolean) $activated);
+ echo JHtml::_('jgrid.state', JHtml::_('users.activateStates'), $activated, $i, 'users.', (boolean) $activated);
?>
|
diff --git a/administrator/templates/hathor/html/com_languages/installed/default.php b/administrator/templates/hathor/html/com_languages/installed/default.php
index 65e52f285edbb..74da92250c18f 100644
--- a/administrator/templates/hathor/html/com_languages/installed/default.php
+++ b/administrator/templates/hathor/html/com_languages/installed/default.php
@@ -9,7 +9,7 @@
defined('_JEXEC') or die;
-JHtmlBehavior::core();
+JHtml::_('behavior.core');
// Add specific helper files for html generation
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
$user = JFactory::getUser();
diff --git a/layouts/joomla/sidebars/submenu.php b/layouts/joomla/sidebars/submenu.php
index b358a25c328f5..8dd7a8157e478 100644
--- a/layouts/joomla/sidebars/submenu.php
+++ b/layouts/joomla/sidebars/submenu.php
@@ -10,7 +10,7 @@
defined('_JEXEC') or die;
JHtml::_('jquery.framework');
-JHtmlBehavior::core();
+JHtml::_('behavior.core');
JFactory::getDocument()->addScriptDeclaration('
jQuery(document).ready(function($)
diff --git a/templates/beez3/html/com_contact/contact/default.php b/templates/beez3/html/com_contact/contact/default.php
index a5c49d23e3a31..b4de7cb7c4c44 100644
--- a/templates/beez3/html/com_contact/contact/default.php
+++ b/templates/beez3/html/com_contact/contact/default.php
@@ -60,8 +60,8 @@
params->get('presentation_style') === 'tabs') : ?>
- '1')); ?>
-
+ '1')); ?>
+
params->get('presentation_style') === 'plain'):?>
@@ -97,7 +97,7 @@
params->get('presentation_style') === 'tabs') : ?>
-
+
params->get('presentation_style') === 'plain'):?>
'. JText::_('COM_CONTACT_EMAIL_FORM').''; ?>
@@ -116,7 +116,7 @@
echo JHtml::_('sliders.panel', JText::_('JGLOBAL_ARTICLES'), 'display-articles'); ?>
params->get('presentation_style') === 'tabs') : ?>
-
+
params->get('presentation_style') === 'plain'):?>
'. JText::_('JGLOBAL_ARTICLES').''; ?>
@@ -132,7 +132,7 @@
echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_PROFILE'), 'display-profile'); ?>
params->get('presentation_style') === 'tabs') : ?>
-
+
params->get('presentation_style') === 'plain'):?>
'. JText::_('COM_CONTACT_PROFILE').''; ?>
@@ -152,7 +152,7 @@
echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_OTHER_INFORMATION'), 'display-misc'); ?>
params->get('presentation_style') === 'tabs') : ?>
-
+
params->get('presentation_style') === 'plain'):?>
'. JText::_('COM_CONTACT_OTHER_INFORMATION').''; ?>
diff --git a/templates/beez3/html/com_contact/contact/default_links.php b/templates/beez3/html/com_contact/contact/default_links.php
index dbd5a9a847679..8495f3ead7c7c 100644
--- a/templates/beez3/html/com_contact/contact/default_links.php
+++ b/templates/beez3/html/com_contact/contact/default_links.php
@@ -13,7 +13,7 @@
params->get('presentation_style') === 'tabs') : ?>
-
+
params->get('presentation_style') === 'plain'):?>
'. JText::_('COM_CONTACT_LINKS').''; ?>
diff --git a/templates/beez3/html/com_contact/contact/default_user_custom_fields.php b/templates/beez3/html/com_contact/contact/default_user_custom_fields.php
index a490b28619fc6..c31ce7626c605 100644
--- a/templates/beez3/html/com_contact/contact/default_user_custom_fields.php
+++ b/templates/beez3/html/com_contact/contact/default_user_custom_fields.php
@@ -35,7 +35,7 @@
echo JHtml::_('sliders.panel', $groupTitle ?: JText::_('COM_CONTACT_USER_FIELDS'), 'display-' . $id); ?>
params->get('presentation_style') === 'tabs') : ?>
-
+
params->get('presentation_style') === 'plain'):?>
' . ($groupTitle ?: JText::_('COM_CONTACT_USER_FIELDS')) . ''; ?>
diff --git a/templates/protostar/component.php b/templates/protostar/component.php
index 59d529329c3dd..ff50184f3b385 100644
--- a/templates/protostar/component.php
+++ b/templates/protostar/component.php
@@ -29,7 +29,7 @@
JHtml::_('stylesheet', 'template.css', array('version' => 'auto', 'relative' => true));
// Load optional rtl Bootstrap css and Bootstrap bugfixes
-JHtmlBootstrap::loadCss($includeMaincss = false, $this->direction);
+JHtml::_('bootstrap.loadCss', $includeMaincss = false, $this->direction);
?>
|