diff --git a/README.md b/README.md
index e1075348130d5..8528a8f26475e 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Is Joomla! for you?
---------------------
* Joomla is [the right solution for most content web projects](https://docs.joomla.org/Joomla_Is_it_for_me%3F).
* View Joomla's core [features here](http://www.joomla.org/core-features.html).
-* Try it out for yourself in our [online demo](http://demo.joomla.org).
+* Try it out for yourself in our [online demo](https://demo.joomla.org).
How to find a Joomla! translation?
---------------------
diff --git a/README.txt b/README.txt
index fe24add8e3815..527ea986ac87e 100644
--- a/README.txt
+++ b/README.txt
@@ -13,7 +13,7 @@
3- Is Joomla for you?
* Joomla is the right solution for any content web project: https://docs.joomla.org/Joomla_Is_it_for_me%3F
* See Features - http://www.joomla.org/core-features.html
- * Try out our online demo: http://demo.joomla.org/
+ * Try out our online demo: https://demo.joomla.org/
4- How to find a Joomla! translation?
* Repository of accredited language packs: http://community.joomla.org/translations.html
diff --git a/administrator/components/com_admin/sql/updates/mysql/3.4.0-2014-12-03.sql b/administrator/components/com_admin/sql/updates/mysql/3.4.0-2014-12-03.sql
new file mode 100644
index 0000000000000..1b272c13a6678
--- /dev/null
+++ b/administrator/components/com_admin/sql/updates/mysql/3.4.0-2014-12-03.sql
@@ -0,0 +1 @@
+UPDATE `#__extensions` SET `protected` = '0' WHERE `name` = 'plg_editors-xtd_article' AND `type` = "plugin" AND `element` = "article" AND `folder` = "editors-xtd";
diff --git a/administrator/components/com_admin/sql/updates/mysql/3.4.0-2015-01-21.sql b/administrator/components/com_admin/sql/updates/mysql/3.4.0-2015-01-21.sql
new file mode 100644
index 0000000000000..96adfe3d927fa
--- /dev/null
+++ b/administrator/components/com_admin/sql/updates/mysql/3.4.0-2015-01-21.sql
@@ -0,0 +1,2 @@
+INSERT INTO `#__postinstall_messages` (`extension_id`, `title_key`, `description_key`, `action_key`, `language_extension`, `language_client_id`, `type`, `action_file`, `action`, `condition_file`, `condition_method`, `version_introduced`, `enabled`) VALUES
+(700, 'COM_CPANEL_MSG_ROBOTS_TITLE', 'COM_CPANEL_MSG_ROBOTS_BODY', '', 'com_cpanel', 1, 'message', '', '', '', '', '3.3.0', 1);
\ No newline at end of file
diff --git a/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2014-12-02.sql b/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2014-12-02.sql
deleted file mode 100644
index 0cc3bd1fd3c5d..0000000000000
--- a/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2014-12-02.sql
+++ /dev/null
@@ -1,4 +0,0 @@
-ALTER TABLE "#__content" ALTER COLUMN "images" SET DEFAULT '{}';
-ALTER TABLE "#__content" ALTER COLUMN "urls" SET DEFAULT '{}';
-ALTER TABLE "#__content" ALTER COLUMN "attribs" SET DEFAULT '{}';
-ALTER TABLE "#__content" ALTER COLUMN "metadata" SET DEFAULT '{}';
diff --git a/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2014-12-03.sql b/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2014-12-03.sql
new file mode 100644
index 0000000000000..dca06cc1242be
--- /dev/null
+++ b/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2014-12-03.sql
@@ -0,0 +1 @@
+UPDATE "#__extensions" SET "protected" = '0' WHERE "name" = 'plg_editors-xtd_article' AND "type" = 'plugin' AND "element" = 'article' AND "folder" = 'editors-xtd';
diff --git a/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2015-01-21.sql b/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2015-01-21.sql
new file mode 100644
index 0000000000000..1e855e0c7b364
--- /dev/null
+++ b/administrator/components/com_admin/sql/updates/postgresql/3.4.0-2015-01-21.sql
@@ -0,0 +1,2 @@
+INSERT INTO "#__postinstall_messages" ("extension_id", "title_key", "description_key", "action_key", "language_extension", "language_client_id", "type", "action_file", "action", "condition_file", "condition_method", "version_introduced", "enabled") VALUES
+(700, 'COM_CPANEL_MSG_ROBOTS_TITLE', 'COM_CPANEL_MSG_ROBOTS_BODY', '', 'com_cpanel', 1, 'message', '', '', '', '', '3.3.0', 1);
\ No newline at end of file
diff --git a/administrator/components/com_admin/sql/updates/sqlazure/3.4.0-2014-12-03.sql b/administrator/components/com_admin/sql/updates/sqlazure/3.4.0-2014-12-03.sql
new file mode 100644
index 0000000000000..b22321e76ce64
--- /dev/null
+++ b/administrator/components/com_admin/sql/updates/sqlazure/3.4.0-2014-12-03.sql
@@ -0,0 +1 @@
+UPDATE [#__extensions] SET [protected] = '0' WHERE [name] = 'plg_editors-xtd_article' AND [type] = "plugin" AND [element] = "article" AND [folder] = "editors-xtd";
diff --git a/administrator/components/com_admin/sql/updates/sqlazure/3.4.0-2015-01-21.sql b/administrator/components/com_admin/sql/updates/sqlazure/3.4.0-2015-01-21.sql
new file mode 100644
index 0000000000000..345442d98bc64
--- /dev/null
+++ b/administrator/components/com_admin/sql/updates/sqlazure/3.4.0-2015-01-21.sql
@@ -0,0 +1,2 @@
+INSERT INTO [#__postinstall_messages] ([extension_id], [title_key], [description_key], [action_key], [language_extension], [language_client_id], [type], [action_file], [action], [condition_file], [condition_method], [version_introduced], [enabled])
+SELECT 700, 'COM_CPANEL_MSG_ROBOTS_TITLE', 'COM_CPANEL_MSG_ROBOTS_BODY', '', 'com_cpanel', 1, 'message', '', '', '', '', '3.3.0', 1;
\ No newline at end of file
diff --git a/administrator/components/com_admin/views/sysinfo/tmpl/default_phpsettings.php b/administrator/components/com_admin/views/sysinfo/tmpl/default_phpsettings.php
index 5d946ed8e59fe..7e0096c1c59d7 100644
--- a/administrator/components/com_admin/views/sysinfo/tmpl/default_phpsettings.php
+++ b/administrator/components/com_admin/views/sysinfo/tmpl/default_phpsettings.php
@@ -137,7 +137,7 @@
|
-
+ |
php_settings['disable_functions']); ?>
|
diff --git a/administrator/components/com_banners/views/banners/tmpl/default.php b/administrator/components/com_banners/views/banners/tmpl/default.php
index 557fac6cc0dc1..55f61e4fc701b 100644
--- a/administrator/components/com_banners/views/banners/tmpl/default.php
+++ b/administrator/components/com_banners/views/banners/tmpl/default.php
@@ -71,7 +71,7 @@
|
-
+ |
|
@@ -137,7 +137,7 @@
value="ordering; ?>" class="width-20 text-area-order " />
- |
+ |
id); ?>
|
diff --git a/administrator/components/com_banners/views/clients/tmpl/default.php b/administrator/components/com_banners/views/clients/tmpl/default.php
index 6b0e465b9bb6b..997a80a6f4197 100644
--- a/administrator/components/com_banners/views/clients/tmpl/default.php
+++ b/administrator/components/com_banners/views/clients/tmpl/default.php
@@ -60,7 +60,7 @@
- |
+ |
|
@@ -99,7 +99,7 @@
$canChange = $user->authorise('core.edit.state', 'com_banners') && $canCheckin;
?>
|
- |
+ |
id); ?>
|
diff --git a/administrator/components/com_banners/views/download/tmpl/default.php b/administrator/components/com_banners/views/download/tmpl/default.php
index 1318ea9471478..31d061cc43c03 100644
--- a/administrator/components/com_banners/views/download/tmpl/default.php
+++ b/administrator/components/com_banners/views/download/tmpl/default.php
@@ -25,8 +25,8 @@ class="form-validate">
input; ?>
-
-
+
+
diff --git a/administrator/components/com_banners/views/tracks/tmpl/default.php b/administrator/components/com_banners/views/tracks/tmpl/default.php
index 0c6c8d9b377ba..0305edfa0dce5 100644
--- a/administrator/components/com_banners/views/tracks/tmpl/default.php
+++ b/administrator/components/com_banners/views/tracks/tmpl/default.php
@@ -72,7 +72,7 @@
- |
-
+ |
id); ?>
|
diff --git a/administrator/components/com_config/view/application/tmpl/default.php b/administrator/components/com_config/view/application/tmpl/default.php
index 237bdec6ae16a..3ffef1d492810 100644
--- a/administrator/components/com_config/view/application/tmpl/default.php
+++ b/administrator/components/com_config/view/application/tmpl/default.php
@@ -19,7 +19,7 @@
JFactory::getDocument()->addScriptDeclaration('
Joomla.submitbutton = function(task)
{
- if (task == "application.cancel" || document.formvalidator.isValid(document.getElementById("application-form")))
+ if (task === "config.cancel.application" || document.formvalidator.isValid(document.getElementById("application-form")))
{
Joomla.submitform(task, document.getElementById("application-form"));
}
diff --git a/administrator/components/com_config/view/component/tmpl/default.php b/administrator/components/com_config/view/component/tmpl/default.php
index a498ecc1b22a9..73d91780d3667 100644
--- a/administrator/components/com_config/view/component/tmpl/default.php
+++ b/administrator/components/com_config/view/component/tmpl/default.php
@@ -20,7 +20,7 @@
JFactory::getDocument()->addScriptDeclaration('
Joomla.submitbutton = function(task)
{
- if (task == "config.cancel.component" || document.formvalidator.isValid(document.getElementById("component-form")))
+ if (task === "config.cancel.component" || document.formvalidator.isValid(document.getElementById("component-form")))
{
Joomla.submitform(task, document.getElementById("component-form"));
}
diff --git a/administrator/components/com_contact/config.xml b/administrator/components/com_contact/config.xml
index 1c452e7e42448..4221b0e580074 100644
--- a/administrator/components/com_contact/config.xml
+++ b/administrator/components/com_contact/config.xml
@@ -532,13 +532,14 @@
>
-
+
array('disabled.png', 'contacts.featured', 'COM_CONTACT_UNFEATURED', 'COM_CONTACT_TOGGLE_TO_FEATURE'),
- 1 => array('featured.png', 'contacts.unfeatured', 'JFEATURED', 'COM_CONTACT_TOGGLE_TO_UNFEATURE'),
+ 0 => array('disabled.png', 'contacts.featured', 'COM_CONTACT_UNFEATURED', 'JGLOBAL_TOGGLE_FEATURED'),
+ 1 => array('featured.png', 'contacts.unfeatured', 'JFEATURED', 'JGLOBAL_TOGGLE_FEATURED'),
);
$state = JArrayHelper::getValue($states, (int) $value, $states[1]);
$html = JHtml::_('image', 'admin/' . $state[0], JText::_($state[2]), null, true);
if ($canChange)
{
- $html = ''
+ $html = ''
. $html . '';
}
diff --git a/administrator/components/com_contact/models/fields/modal/contact.php b/administrator/components/com_contact/models/fields/modal/contact.php
index bac88e84a0df7..32f5b59c8f28c 100644
--- a/administrator/components/com_contact/models/fields/modal/contact.php
+++ b/administrator/components/com_contact/models/fields/modal/contact.php
@@ -62,7 +62,7 @@ protected function getInput()
$script[] = ' jQuery("#' . $this->id . '_clear").removeClass("hidden");';
}
- $script[] = ' SqueezeBox.close();';
+ $script[] = ' jModalClose();';
$script[] = ' }';
// Clear button script
diff --git a/administrator/components/com_contact/views/contacts/tmpl/default.php b/administrator/components/com_contact/views/contacts/tmpl/default.php
index a5e34911f94fc..27f25c1c360f4 100644
--- a/administrator/components/com_contact/views/contacts/tmpl/default.php
+++ b/administrator/components/com_contact/views/contacts/tmpl/default.php
@@ -103,7 +103,7 @@
|
', 'a.ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?>
|
-
+ |
|
@@ -168,7 +168,7 @@
value="ordering; ?>" class="width-20 text-area-order " />
| |
-
+ |
id); ?>
|
diff --git a/administrator/components/com_content/config.xml b/administrator/components/com_content/config.xml
index 15c8fabf2e085..a2ed3950473ae 100644
--- a/administrator/components/com_content/config.xml
+++ b/administrator/components/com_content/config.xml
@@ -403,7 +403,7 @@
-
+
- JHIDE
+
+
+
+
+
+
|
-
+ |
id); ?>
|
@@ -162,7 +162,7 @@
|
-
+
checked_out) : ?>
editor, $item->checked_out_time, 'articles.', $canCheckin); ?>
@@ -177,7 +177,7 @@
escape($item->title); ?>
-
+
escape($item->alias)); ?>
@@ -215,7 +215,7 @@
created, JText::_('DATE_FORMAT_LC4')); ?>
|
-
+ |
hits; ?>
|
diff --git a/administrator/components/com_content/views/featured/tmpl/default.php b/administrator/components/com_content/views/featured/tmpl/default.php
index 74df0b88adf6a..aa283ebb68440 100644
--- a/administrator/components/com_content/views/featured/tmpl/default.php
+++ b/administrator/components/com_content/views/featured/tmpl/default.php
@@ -46,7 +46,7 @@
- |
+ |
|
@@ -97,7 +97,7 @@
$canChange = $user->authorise('core.edit.state', 'com_content.article.' . $item->id) && $canCheckin;
?>
|
- |
+ |
id); ?>
|
diff --git a/administrator/components/com_contenthistory/views/history/tmpl/modal.php b/administrator/components/com_contenthistory/views/history/tmpl/modal.php
index e5ce8e3f2d46d..056ef8238099d 100644
--- a/administrator/components/com_contenthistory/views/history/tmpl/modal.php
+++ b/administrator/components/com_contenthistory/views/history/tmpl/modal.php
@@ -148,7 +148,7 @@
|
- save_date; ?>
+ save_date, 'Y-m-d H:i:s'); ?>
sha1_hash == $hash) :?>
@@ -163,11 +163,13 @@
onclick="return listItemTask('cb','history.keep')"
data-original-title="">
+
+
|
@@ -188,5 +190,3 @@
-
-
diff --git a/administrator/components/com_finder/helpers/indexer/parser/html.php b/administrator/components/com_finder/helpers/indexer/parser/html.php
index f9f08ca2a0f82..8237bbab3d1e0 100644
--- a/administrator/components/com_finder/helpers/indexer/parser/html.php
+++ b/administrator/components/com_finder/helpers/indexer/parser/html.php
@@ -35,8 +35,19 @@ public function parse($input)
// Strip invalid UTF-8 characters.
$input = iconv("utf-8", "utf-8//IGNORE", $input);
- // Convert , |
review_time) : ?>
- escape($item->review_time); ?>
+ review_time, JText::_('DATE_FORMAT_LC4')); ?>
diff --git a/administrator/templates/hathor/html/com_users/user/edit.php b/administrator/templates/hathor/html/com_users/user/edit.php
index e9e3b08e59ffc..aa4a11253c6e6 100644
--- a/administrator/templates/hathor/html/com_users/user/edit.php
+++ b/administrator/templates/hathor/html/com_users/user/edit.php
@@ -92,7 +92,7 @@
diff --git a/administrator/templates/hathor/html/mod_menu/default_enabled.php b/administrator/templates/hathor/html/mod_menu/default_enabled.php
index c8eafe7bd6319..e2732d8439a85 100644
--- a/administrator/templates/hathor/html/mod_menu/default_enabled.php
+++ b/administrator/templates/hathor/html/mod_menu/default_enabled.php
@@ -130,7 +130,10 @@
$menu->addSeparator();
// Menu Types
- foreach (ModMenuHelper::getMenus() as $menuType)
+ $menuTypes = ModMenuHelper::getMenus();
+ $menuTypes = JArrayHelper::sortObjects($menuTypes, 'title', 1, false);
+
+ foreach ($menuTypes as $menuType)
{
$alt = '*' .$menuType->sef. '*';
if ($menuType->home == 0)
@@ -317,7 +320,7 @@
}
$lang->setDebug($debug);
$menu->addChild(
- new JMenuNode(JText::_('MOD_MENU_HELP_DOCUMENTATION'), 'http://docs.joomla.org', 'class:help-docs', false, '_blank')
+ new JMenuNode(JText::_('MOD_MENU_HELP_DOCUMENTATION'), 'https://docs.joomla.org', 'class:help-docs', false, '_blank')
);
$menu->addSeparator();
diff --git a/administrator/templates/hathor/less/template.less b/administrator/templates/hathor/less/template.less
index fa164c1726c49..9cdcdef09d68b 100644
--- a/administrator/templates/hathor/less/template.less
+++ b/administrator/templates/hathor/less/template.less
@@ -61,6 +61,8 @@ body {
font-size: 62.5%;
line-height: 1.5em;
height: 100%;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
}
body, td, th, span, a {
@@ -487,6 +489,15 @@ input#mm_subject {
textarea#mm_message {
width: 100%;
}
+textarea {
+ resize:both;
+}
+textarea.vert {
+ resize:vertical;
+}
+textarea.noResize {
+ resize:none;
+}
/**
* Pane Slider pane Toggler styles
@@ -3509,4 +3520,11 @@ div.toggle-editor {
}
.module-edit {
display: inline-block;
-}
\ No newline at end of file
+}
+.break-word {
+ word-break: break-all;
+ word-wrap: break-word;
+}
+.muted {
+ color: #999;
+}
diff --git a/administrator/templates/isis/css/template-rtl.css b/administrator/templates/isis/css/template-rtl.css
index 3d332062b313c..848c3f238c570 100644
--- a/administrator/templates/isis/css/template-rtl.css
+++ b/administrator/templates/isis/css/template-rtl.css
@@ -6993,6 +6993,8 @@ html {
}
body {
height: 100%;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
}
a:hover,
a:active,
@@ -7847,6 +7849,7 @@ th .tooltip-inner {
}
input.input-large-text {
font-size: 18px;
+ line-height: 22px;
height: auto;
}
.info-labels {
@@ -8102,6 +8105,19 @@ a.grid_true {
margin: 0;
}
}
+.break-word {
+ word-break: break-all;
+ word-wrap: break-word;
+}
+textarea {
+ resize: both;
+}
+textarea.vert {
+ resize: vertical;
+}
+textarea.noResize {
+ resize: none;
+}
.pull-right {
float: left;
}
diff --git a/administrator/templates/isis/css/template.css b/administrator/templates/isis/css/template.css
index 0e69067d22d01..79f0202b3f508 100644
--- a/administrator/templates/isis/css/template.css
+++ b/administrator/templates/isis/css/template.css
@@ -6993,6 +6993,8 @@ html {
}
body {
height: 100%;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
}
a:hover,
a:active,
@@ -8103,3 +8105,16 @@ a.grid_true {
margin: 0;
}
}
+.break-word {
+ word-break: break-all;
+ word-wrap: break-word;
+}
+textarea {
+ resize: both;
+}
+textarea.vert {
+ resize: vertical;
+}
+textarea.noResize {
+ resize: none;
+}
diff --git a/administrator/templates/isis/less/template.less b/administrator/templates/isis/less/template.less
index 12fad22ed06d8..b8b367c31b34c 100644
--- a/administrator/templates/isis/less/template.less
+++ b/administrator/templates/isis/less/template.less
@@ -91,6 +91,8 @@ html {
}
body {
height: 100%;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
}
a:hover,
a:active,
@@ -1168,3 +1170,17 @@ a.grid_true {
margin: 0;
}
}
+.break-word {
+ word-break: break-all;
+ word-wrap: break-word;
+}
+/* Customize Textarea Resizing */
+textarea {
+ resize:both;
+}
+textarea.vert {
+ resize:vertical;
+}
+textarea.noResize {
+ resize:none;
+}
diff --git a/build/helpTOC.php b/build/helpTOC.php
index adb67f6b188b4..689fd47c371bc 100644
--- a/build/helpTOC.php
+++ b/build/helpTOC.php
@@ -57,7 +57,7 @@ public function doExecute()
// Set up options for JMediawiki
$options = new JRegistry;
- $options->set('api.url', 'http://docs.joomla.org');
+ $options->set('api.url', 'https://docs.joomla.org');
$mediawiki = new JMediawiki($options);
diff --git a/build/indexmaker.php b/build/indexmaker.php
index e8a356a2e577e..311d5264d1bed 100644
--- a/build/indexmaker.php
+++ b/build/indexmaker.php
@@ -1,6 +1,10 @@
#!/usr/bin/php
params->get('show_telephone_headings') AND !empty($item->telephone)) : ?>
- telephone); ?>
+ telephone); ?>
params->get('show_mobile_headings') AND !empty ($item->mobile)) : ?>
- mobile); ?>
+ mobile); ?>
params->get('show_fax_headings') AND !empty($item->fax) ) : ?>
- fax); ?>
+ fax); ?>
@@ -72,7 +72,7 @@
params->get('show_position_headings')) : ?>
- con_position; ?>
+ con_position; ?>
params->get('show_email_headings')) : ?>
email_to; ?>
@@ -86,7 +86,7 @@
params->get('show_country_headings') AND !empty($item->country)) : ?>
- country; ?>
+ country; ?>
diff --git a/components/com_contact/views/contact/tmpl/default_address.php b/components/com_contact/views/contact/tmpl/default_address.php
index e2dd198235061..712831caccf7c 100644
--- a/components/com_contact/views/contact/tmpl/default_address.php
+++ b/components/com_contact/views/contact/tmpl/default_address.php
@@ -28,7 +28,7 @@
contact->address && $this->params->get('show_street_address')) : ?>
- contact->address . ' '; ?>
+ contact->address . ' '; ?>
@@ -36,28 +36,28 @@
contact->suburb && $this->params->get('show_suburb')) : ?>
- contact->suburb . ' '; ?>
+ contact->suburb . ' '; ?>
contact->state && $this->params->get('show_state')) : ?>
- contact->state . ' '; ?>
+ contact->state . ' '; ?>
contact->postcode && $this->params->get('show_postcode')) : ?>
- contact->postcode . ' '; ?>
+ contact->postcode . ' '; ?>
contact->country && $this->params->get('show_country')) : ?>
- contact->country . ' '; ?>
+ contact->country . ' '; ?>
diff --git a/components/com_content/helpers/icon.php b/components/com_content/helpers/icon.php
index 38f53990f431d..3b56cc5e05490 100644
--- a/components/com_content/helpers/icon.php
+++ b/components/com_content/helpers/icon.php
@@ -189,7 +189,7 @@ public static function edit($article, $params, $attribs = array(), $legacy = fal
$icon = $article->state ? 'edit.png' : 'edit_unpublished.png';
if (strtotime($article->publish_up) > strtotime(JFactory::getDate())
- || ((strtotime($article->publish_down) < strtotime(JFactory::getDate())) && $article->publish_down != '0000-00-00 00:00:00'))
+ || ((strtotime($article->publish_down) < strtotime(JFactory::getDate())) && $article->publish_down != JFactory::getDbo()->getNullDate()))
{
$icon = 'edit_unpublished.png';
}
@@ -201,7 +201,7 @@ public static function edit($article, $params, $attribs = array(), $legacy = fal
$icon = $article->state ? 'edit' : 'eye-close';
if (strtotime($article->publish_up) > strtotime(JFactory::getDate())
- || ((strtotime($article->publish_down) < strtotime(JFactory::getDate())) && $article->publish_down != '0000-00-00 00:00:00'))
+ || ((strtotime($article->publish_down) < strtotime(JFactory::getDate())) && $article->publish_down != JFactory::getDbo()->getNullDate()))
{
$icon = 'eye-close';
}
diff --git a/components/com_content/models/category.php b/components/com_content/models/category.php
index 5f75b028c0b7d..91a97494aebbd 100644
--- a/components/com_content/models/category.php
+++ b/components/com_content/models/category.php
@@ -215,6 +215,9 @@ protected function populateState($ordering = null, $direction = null)
$this->setState('filter.language', JLanguageMultilang::isEnabled());
$this->setState('layout', $app->input->getString('layout'));
+
+ // Set the featured articles state
+ $this->setState('filter.featured', $params->get('show_featured'));
}
/**
@@ -236,6 +239,7 @@ public function getItems()
$model->setState('filter.published', $this->getState('filter.published'));
$model->setState('filter.access', $this->getState('filter.access'));
$model->setState('filter.language', $this->getState('filter.language'));
+ $model->setState('filter.featured', $this->getState('filter.featured'));
$model->setState('list.ordering', $this->_buildContentOrderBy());
$model->setState('list.start', $this->getState('list.start'));
$model->setState('list.limit', $limit);
diff --git a/components/com_content/views/article/tmpl/default.php b/components/com_content/views/article/tmpl/default.php
index 9b18c3edb08ff..e5dc14092abbe 100644
--- a/components/com_content/views/article/tmpl/default.php
+++ b/components/com_content/views/article/tmpl/default.php
@@ -56,7 +56,7 @@
item->publish_up) > strtotime(JFactory::getDate())) : ?>
- item->publish_down) < strtotime(JFactory::getDate())) && $this->item->publish_down != '0000-00-00 00:00:00') : ?>
+ item->publish_down) < strtotime(JFactory::getDate())) && $this->item->publish_down != JFactory::getDbo()->getNullDate()) : ?>
diff --git a/components/com_content/views/category/tmpl/blog.xml b/components/com_content/views/category/tmpl/blog.xml
index 75959c1e1fe01..01c5714631860 100644
--- a/components/com_content/views/category/tmpl/blog.xml
+++ b/components/com_content/views/category/tmpl/blog.xml
@@ -141,7 +141,6 @@
label="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL"
/>
-
JSHOW
+
+
+
+
+
+
| | | |