Skip to content

Commit

Permalink
Sync. Merge branch 'master' into tinymce-scriptoptions
Browse files Browse the repository at this point in the history
Conflicts:
	plugins/editors/tinymce/tinymce.php
  • Loading branch information
Fedik committed Aug 23, 2016
2 parents bc785a3 + f10ab35 commit 1fb5519
Show file tree
Hide file tree
Showing 537 changed files with 28,069 additions and 1,160 deletions.
5 changes: 5 additions & 0 deletions administrator/components/com_admin/script.php
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,9 @@ public function deleteUnexistingFiles()
'/administrator/templates/isis/js/bootstrap.min.js',
'/media/system/js/permissions.min.js',
'/libraries/platform.php',
// Joomla! 3.6.3
'/media/editors/codemirror/mode/jade/jade.js',
'/media/editors/codemirror/mode/jade/jade.min.js',
);

// TODO There is an issue while deleting folders using the ftp mode
Expand Down Expand Up @@ -1523,6 +1526,8 @@ public function deleteUnexistingFiles()
// Joomla 3.6
'/libraries/simplepie/idn',
'/libraries/simplepie',
// Joomla! 3.6.3
'/media/editors/codemirror/mode/jade',
);

jimport('joomla.filesystem.file');
Expand Down
Original file line number Diff line number Diff line change
@@ -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, 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_BODY', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_ACTION', 'plg_system_updatenotification', 1, 'action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_condition', '3.6.3', 1);
Original file line number Diff line number Diff line change
@@ -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, 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_BODY', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_ACTION', 'plg_system_updatenotification', 1, 'action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_condition', '3.6.3', 1);
Original file line number Diff line number Diff line change
@@ -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, 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_BODY', 'PLG_SYSTEM_UPDATENOTIFICATION_POSTINSTALL_UPDATECACHETIME_ACTION', 'plg_system_updatenotification', 1, 'action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_action', 'site://plugins/system/updatenotification/postinstall/updatecachetime.php', 'updatecachetime_postinstall_condition', '3.6.3', 1;
14 changes: 7 additions & 7 deletions administrator/components/com_banners/views/banner/tmpl/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@
<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'details', JText::_('COM_BANNERS_BANNER_DETAILS')); ?>
<div class="row-fluid">
<div class="span9">
<?php echo $this->form->getControlGroup('type'); ?>
<?php echo $this->form->renderField('type'); ?>
<div id="image">
<?php echo $this->form->getControlGroups('image'); ?>
<?php echo $this->form->renderFieldset('image'); ?>
</div>
<div id="custom">
<?php echo $this->form->getControlGroup('custombannercode'); ?>
<?php echo $this->form->renderField('custombannercode'); ?>
</div>
<?php
echo $this->form->getControlGroup('clickurl');
echo $this->form->getControlGroup('description');
echo $this->form->renderField('clickurl');
echo $this->form->renderField('description');
?>
</div>
<div class="span3">
Expand All @@ -75,7 +75,7 @@
<?php echo JHtml::_('bootstrap.endTab'); ?>

<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'otherparams', JText::_('COM_BANNERS_GROUP_LABEL_BANNER_DETAILS')); ?>
<?php echo $this->form->getControlGroups('otherparams'); ?>
<?php echo $this->form->renderFieldset('otherparams'); ?>
<?php echo JHtml::_('bootstrap.endTab'); ?>

<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'publishing', JText::_('JGLOBAL_FIELDSET_PUBLISHING')); ?>
Expand All @@ -84,7 +84,7 @@
<?php echo JLayoutHelper::render('joomla.edit.publishingdata', $this); ?>
</div>
<div class="span6">
<?php echo $this->form->getControlGroups('metadata'); ?>
<?php echo $this->form->renderFieldset('metadata'); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
Expand Down
14 changes: 7 additions & 7 deletions administrator/components/com_banners/views/client/tmpl/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
<div class="row-fluid">
<div class="span9">
<?php
echo $this->form->getControlGroup('contact');
echo $this->form->getControlGroup('email');
echo $this->form->getControlGroup('purchase_type');
echo $this->form->getControlGroup('track_impressions');
echo $this->form->getControlGroup('track_clicks');
echo $this->form->getControlGroups('extra');
echo $this->form->renderField('contact');
echo $this->form->renderField('email');
echo $this->form->renderField('purchase_type');
echo $this->form->renderField('track_impressions');
echo $this->form->renderField('track_clicks');
echo $this->form->renderFieldset('extra');
?>
</div>
<div class="span3">
Expand All @@ -50,7 +50,7 @@
<?php echo JHtml::_('bootstrap.endTab'); ?>

<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'metadata', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS')); ?>
<?php echo $this->form->getControlGroups('metadata'); ?>
<?php echo $this->form->renderFieldset('metadata'); ?>
<?php echo JHtml::_('bootstrap.endTab'); ?>

<?php echo JHtml::_('bootstrap.endTabSet'); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ public function save($data)
if ($assoc)
{
// Adding self to the association
$associations = $data['associations'];
$associations = isset($data['associations']) ? $data['associations'] : array();

// Unset any invalid associations
$associations = Joomla\Utilities\ArrayHelper::toInteger($associations);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ protected function getInput()
{
$linkCategories .= '&amp;forcedLanguage=' . $this->element['language'];
$linkCategory .= '&amp;forcedLanguage=' . $this->element['language'];
$modalTitle = JText::_('COM_CATEGORIES_CHANGE_CATEGORY') . ' &#8212; ' . $this->element['label'];
}
else
{
$modalTitle = JText::_('COM_CATEGORIES_CHANGE_CATEGORY');
}

$urlSelect = $linkCategories . '&amp;' . JSession::getFormToken() . '=1';
Expand All @@ -144,7 +149,7 @@ protected function getInput()

if (empty($title))
{
$title = JText::_('COM_CATEGORIES_SELECT_A_CATEGORY');
$title = JText::_('COM_CATEGORIES_SELECT_A_CATEGORY', true);
}

$title = htmlspecialchars($title, ENT_QUOTES, 'UTF-8');
Expand Down Expand Up @@ -195,7 +200,7 @@ protected function getInput()
'bootstrap.renderModal',
'categorySelect' . $this->id . 'Modal',
array(
'title' => JText::_('COM_CATEGORIES_SELECT_A_CATEGORY'),
'title' => $modalTitle,
'url' => $urlSelect,
'height' => '400px',
'width' => '800px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@
<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'images', JText::_('COM_CONTENT_FIELDSET_URLS_AND_IMAGES')); ?>
<div class="row-fluid form-horizontal-desktop">
<div class="span6">
<?php echo $this->form->getControlGroup('images'); ?>
<?php echo $this->form->renderField('images'); ?>
<?php foreach ($this->form->getGroup('images') as $field) : ?>
<?php echo $field->getControlGroup(); ?>
<?php echo $field->renderField(); ?>
<?php endforeach; ?>
</div>
<div class="span6">
<?php foreach ($this->form->getGroup('urls') as $field) : ?>
<?php echo $field->getControlGroup(); ?>
<?php echo $field->renderField(); ?>
<?php endforeach; ?>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion administrator/components/com_finder/finder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
</files>
<media destination="com_finder" folder="media">
<folder>js</folder>
<folder>images</folder>
<folder>css</folder>
</media>
<install>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
Joomla.submitform(task, document.getElementById("adminForm"));
}
};
jQuery(document).ready(function($) {
$("#rightbtn").on("click", function() {
if($(this).text() == "' . JText::_('COM_FINDER_FILTER_SHOW_ALL') . '") {
Expand Down Expand Up @@ -70,7 +70,7 @@
<div class="span9">
<?php if ($this->total > 0) : ?>
<div class="well">
<?php echo $this->form->getControlGroup('map_count'); ?>
<?php echo $this->form->renderField('map_count'); ?>
</div>
<button class="btn btn-default" type="button" class="jform-rightbtn" onclick="jQuery('.filter-node').each(function () { this.click(); });">
<span class="icon-checkbox-partial"></span> <?php echo JText::_('JGLOBAL_SELECTION_INVERT'); ?></button>
Expand Down
3 changes: 1 addition & 2 deletions administrator/components/com_menus/helpers/menus.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ public static function getMenuLinks($menuType = null, $parentId = 0, $mode = 0,
a.checked_out,
a.language,
a.lft')
->from('#__menu AS a')
->join('LEFT', $db->quoteName('#__menu') . ' AS b ON a.lft > b.lft AND a.rgt < b.rgt');
->from('#__menu AS a');

if (JLanguageMultilang::isEnabled())
{
Expand Down
1 change: 0 additions & 1 deletion administrator/components/com_menus/models/forms/item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
id="access"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
default="1"
filter="integer"/>


Expand Down
2 changes: 1 addition & 1 deletion administrator/components/com_menus/models/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ protected function loadFormData()
$filters = JFactory::getApplication()->getUserState('com_menus.items.filter');
$data['published'] = (isset($filters['published']) ? $filters['published'] : null);
$data['language'] = (isset($filters['language']) ? $filters['language'] : null);
$data['access'] = (isset($filters['access']) ? $filters['access'] : null);
$data['access'] = (isset($filters['access']) ? $filters['access'] : JFactory::getConfig()->get('access'));
}

if (isset($data['menutype']) && !$this->getState('item.menutypeid'))
Expand Down
12 changes: 6 additions & 6 deletions administrator/components/com_menus/views/item/tmpl/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,24 +94,24 @@
<div class="row-fluid">
<div class="span9">
<?php
echo $this->form->getControlGroup('type');
echo $this->form->renderField('type');

if ($this->item->type == 'alias')
{
echo $this->form->getControlGroups('aliasoptions');
echo $this->form->renderFieldset('aliasoptions');
}

echo $this->form->getControlGroups('request');
echo $this->form->renderFieldset('request');

if ($this->item->type == 'url')
{
$this->form->setFieldAttribute('link', 'readonly', 'false');
}

echo $this->form->getControlGroup('link');
echo $this->form->renderField('link');

echo $this->form->getControlGroup('browserNav');
echo $this->form->getControlGroup('template_style_id');
echo $this->form->renderField('browserNav');
echo $this->form->renderField('template_style_id');
?>
</div>
<div class="span3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
</div>
<div class="span3">
<fieldset class="form-vertical">
<?php echo $this->form->getControlGroup('showtitle'); ?>
<?php echo $this->form->renderField('showtitle'); ?>
<div class="control-group">
<div class="control-label">
<?php echo $this->form->getLabel('position'); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<div class="row-fluid">
<div class="span9">
<div class="form-vertical">
<?php echo $this->form->getControlGroup('link'); ?>
<?php echo $this->form->getControlGroup('description'); ?>
<?php echo $this->form->renderField('link'); ?>
<?php echo $this->form->renderField('description'); ?>
</div>
</div>
<div class="span3">
Expand All @@ -68,9 +68,9 @@
<?php echo JHtml::_('bootstrap.addTab', 'myTab', 'images', JText::_('JGLOBAL_FIELDSET_IMAGE_OPTIONS')); ?>
<div class="row-fluid">
<div class="span6">
<?php echo $this->form->getControlGroup('images'); ?>
<?php echo $this->form->renderField('images'); ?>
<?php foreach ($this->form->getGroup('images') as $field) : ?>
<?php echo $field->getControlGroup(); ?>
<?php echo $field->renderField(); ?>
<?php endforeach; ?>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion administrator/components/com_tags/views/tag/tmpl/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div class="row-fluid">
<div class="span9">
<div class="form-vertical">
<?php echo $this->form->getControlGroup('description'); ?>
<?php echo $this->form->renderField('description'); ?>
</div>
</div>
<div class="span3">
Expand Down
2 changes: 1 addition & 1 deletion administrator/language/en-GB/en-GB.com_categories.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COM_CATEGORIES_CATEGORY_BASE_ADD_TITLE="Categories: New Category"
COM_CATEGORIES_CATEGORY_BASE_EDIT_TITLE="Categories: Edit Category"
COM_CATEGORIES_CATEGORY_EDIT_TITLE="%s: Edit Category"
COM_CATEGORIES_CATEGORY_OPTIONS="Category"
COM_CATEGORIES_CHANGE_CATEGORY="Change Category"
COM_CATEGORIES_CHANGE_CATEGORY="Select or Change Category"
COM_CATEGORIES_DELETE_NOT_ALLOWED="Delete not allowed for category %s."
COM_CATEGORIES_DESCRIPTION_DESC="Enter an optional category description in the text area."
COM_CATEGORIES_EDIT_CATEGORY="Edit Category"
Expand Down
1 change: 1 addition & 0 deletions administrator/language/en-GB/en-GB.ini
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ JERROR_CORE_DELETE_NOT_PERMITTED="Delete not permitted."
JERROR_COULD_NOT_FIND_TEMPLATE="Could not find template "_QQ_"%s"_QQ_"."
JERROR_INVALID_CONTROLLER="Invalid controller"
JERROR_INVALID_CONTROLLER_CLASS="Invalid controller class"
JERROR_LAYOUT_PREVIOUS_ERROR="Previous Error"
JERROR_LOADFILE_FAILED="Error loading form file"
JERROR_LOADING_MENUS="Error loading Menus: %s"
JERROR_LOGIN_DENIED="You do not have access to the Administrator section of this site."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

PLG_SYSTEM_LANGUAGEFILTER="System - Language Filter"
PLG_SYSTEM_LANGUAGEFILTER_BROWSER_SETTINGS="Browser Settings"
PLG_SYSTEM_LANGUAGEFILTER_FIELD_ALTERNATE_META_DESC="Add alternative meta tags for menu items with associated menu items in other languages."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_ALTERNATE_META_DESC="Add alternative meta tags for items with associated items in other languages."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_ALTERNATE_META_LABEL="Add Alternate Meta Tags"
PLG_SYSTEM_LANGUAGEFILTER_FIELD_AUTOMATIC_CHANGE_DESC="This option will automatically change the content language used in the Frontend when a user site language is changed."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_AUTOMATIC_CHANGE_LABEL="Automatic Language Change"
PLG_SYSTEM_LANGUAGEFILTER_FIELD_COOKIE_DESC="Language cookies can be set to expire at the end of the session or after a year. Default is session."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_COOKIE_LABEL="Cookie Lifetime"
PLG_SYSTEM_LANGUAGEFILTER_FIELD_DETECT_BROWSER_DESC="Choose site default language or try to detect the browser settings language. It will default to site language if browser settings can't be found."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_DETECT_BROWSER_LABEL="Language Selection for new Visitors"
PLG_SYSTEM_LANGUAGEFILTER_FIELD_ITEM_ASSOCIATIONS_DESC="This option will allow item associations when switching from one language to another."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_ITEM_ASSOCIATIONS_DESC="This option will allow item associations when switching from one language to another. Default home menu items are always associated."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_ITEM_ASSOCIATIONS_LABEL="Item Associations"
PLG_SYSTEM_LANGUAGEFILTER_FIELD_XDEFAULT_DESC="This option will add x-default meta tag to improve SEO."
PLG_SYSTEM_LANGUAGEFILTER_FIELD_XDEFAULT_LABEL="Add x-default Meta Tag"
Expand Down
Loading

0 comments on commit 1fb5519

Please sign in to comment.