Skip to content

Commit 5e9bec3

Browse files
committed
merge with original branch
1 parent 411cbb6 commit 5e9bec3

File tree

100 files changed

+4664
-1843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+4664
-1843
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
<h2>Version: 2.6.7 (06/09/2017)</h2>
2+
<h3>Fix bugs</h3>
3+
- T3 Module Layout Problems with Joomla 3.7.3 | <a href="https://github.com/t3framework/t3/commit/463cfa53691493251c15964af6f561777c7a12db">Link</a><br/>
4+
- Remove auto switch tab | <a
5+
href="https://github.com/t3framework/t3/commit/876c564f891ebde3e4a00367382a5a20290762c0">Link</a><br/>
6+
- Create a menu type List contacts in a category to see the error | <a href="https://github.com/t3framework/t3/commit/fe92584bd909a915e9dba1a8846aa4a7238032f5">Link</a><br/>
7+
- Fix anchor error on mobile | <a href="https://github.com/t3framework/t3/commit/03d0be479ccfaac0b736e6de0be09a803a11d61c">Link</a><br/>
8+
- Got error when enable JS Compress Tool: Closure Compiler | <a href="https://github.com/t3framework/t3/commit/0332111ea17ecd7bcf8bf740dcfa519aaf279ac7">Link</a><br/>
9+
- Fix null date comparison | <a href="https://github.com/t3framework/t3/commit/01807fb80c38446bf4a1ea8230d728fed5511636">Link</a><br/>
10+
- Missing Field tab on the article editting page | <a href="https://github.com/t3framework/t3/commit/7012672c66deed5239f86d13c177117d4b2f41c7">Link</a><br/>
11+
- Improve style for custom field edit | <a href="https://github.com/t3framework/t3/commit/cfea53dc9554094e30b165bc614bfaba33f6a31d">Link</a><br/>
12+
113
<h2>Version: 2.6.6 (21/07/2017)</h2>
214
<h3>Fix bugs</h3>
315
- Got notice error in thememagic | <a href="https://github.com/t3framework/t3/commit/e1bf82506fa8a4ce3930fff537891775261728f8">Link</a><br/>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Have a bug or a feature request? Feel free to open an issue via this link https:
4545
Contribution & Developer Network
4646
----------
4747
With a desire to provide an unified responsive framework for the Joomla 3.x, we are looking forward to the contribution the collaboration from all
48-
Joomla developers. Feel free to post your comment and or question to our [T3v3 forum at JoomlArt] (http://www.joomlart.com/forums/forumdisplay.php?411-JA-T3V3-Framework "Add a question/comment"), we have a plan to open a Google Group when we have enough developers using this framework.
48+
Joomla developers. Feel free to post your comment and or question to our [T3v3 forum at JoomlArt](https://www.joomlart.com/forums/forum/joomlart-public-forums/t3-framework/ "Add a question/comment"), we have a plan to open a Google Group when we have enough developers using this framework.
4949

5050
Developer Network Update
5151
----------

pkg_t3.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<extension type="package" version="2.5" method="upgrade">
33
<name>T3 Framework Package</name>
44
<packagename>t3</packagename>
5-
<version>2.6.6</version>
5+
<version>2.6.7</version>
66
<url>http://www.t3-framework.org</url>
7-
<creationDate>July 21, 2017</creationDate>
7+
<creationDate>Sep 06, 2017</creationDate>
88
<copyright>(C) 2012 - 2017. All rights reserved.</copyright>
99
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
1010
<authorEmail>[email protected]</authorEmail>

source/plg_system_t3/admin/css/admin.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,10 @@ button.btn-primary:active {
15871587
border-radius: 0;
15881588
}
15891589

1590+
#tpl_positions_list_chzn {
1591+
margin-bottom: 10px;
1592+
}
1593+
15901594

15911595
/* -------------------------------------------------
15921596
/* Responsive

source/plg_system_t3/admin/js/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ var T3Admin = window.T3Admin || {};
720720
T3Admin.initChangeStyle();
721721
T3Admin.initT3ThemeExtras();
722722
//T3Admin.initCheckupdate();
723-
T3Admin.switchTab();
723+
//T3Admin.switchTab();
724724
T3Admin.fixValidate();
725725
T3Admin.noticeChange ();
726726
});

source/plg_system_t3/admin/layout/js/layout.js

100644100755
Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ T3AdminLayout = window.T3AdminLayout || {};
135135
var curspan = T3AdminLayout.curspan;
136136

137137
if(curspan){
138-
$(curspan).parent().removeClass('pos-off pos-active').find('h3').html(this.value || T3Admin.langs.emptyLayoutPosition);
138+
$optgroup = $(this).find('option:selected').parent().attr('label');
139+
$(curspan).parent().removeClass('pos-off pos-active').find('h3').html(this.value || T3Admin.langs.emptyLayoutPosition).parent().attr('data-optgroup', $optgroup);
139140
$(this).closest('.popover').hide();
140141

141142
var jspl = $(curspan).parent().parent().parent();
@@ -477,11 +478,13 @@ T3AdminLayout = window.T3AdminLayout || {};
477478
jblocks.not(jspls).not(jsplblocks).not('.t3-admin-layout-uneditable').each(function(){
478479
var name = $(this).attr('data-original'),
479480
val = $(this).find('.t3-admin-layout-posname').html(),
481+
optgroup = $(this).attr('data-optgroup'),
480482
vis = $(this).closest('[data-vis]').data('data-vis'),
481483
others = $(this).closest('[data-others]').data('data-others'),
482484
info = T3AdminLayout.t3emptydv();
483485

484486
info.position = val ? val : '';
487+
info.optgroup = optgroup ? optgroup : '';
485488

486489
if(vis){
487490
vis = T3AdminLayout.t3visible(0, vis.vals);
@@ -506,13 +509,15 @@ T3AdminLayout = window.T3AdminLayout || {};
506509
var jpos = $(this),
507510
//pname = jpos.find('.t3-admin-layout-pos').attr('data-original'),
508511
val = jpos.find('.t3-admin-layout-posname').html(),
512+
optgroup = jpos.find('.t3-admin-layout-pos').attr('data-optgroup'),
509513
info = T3AdminLayout.t3emptydv(),
510514
width = T3AdminLayout.t3getwidth(idx, widths),
511515
visible = T3AdminLayout.t3visible(idx, vis.vals),
512516
first = T3AdminLayout.t3first(idx, firsts),
513517
other = T3AdminLayout.t3others(idx, others);
514518

515519
info.position = val ? val : '';
520+
info.optgroup = optgroup ? optgroup : '';
516521

517522
T3AdminLayout.t3formatwidth(info, width);
518523
T3AdminLayout.t3formatvisible(info, visible);
@@ -1331,13 +1336,22 @@ T3AdminLayout = window.T3AdminLayout || {};
13311336
top = offs.top - jselect.outerHeight(true);
13321337
left = offs.left + (jspan.width() - jselect.width()) / 2;
13331338
}
1334-
1339+
var $optgroup = $(this).parent().attr('data-optgroup');
13351340
jselect.css({
13361341
top: top,
13371342
left: left
13381343
}).show()
13391344
.find('select')
13401345
.val(jspan.siblings('h3').html())
1346+
.trigger('liszt:updated')
1347+
.find('option').each(function(){
1348+
if ($(this).val() == jspan.siblings('h3').html() && $(this).parent().attr('label') == $optgroup) {
1349+
$(this).parents('select').val('');
1350+
$(this).attr('selected', true);
1351+
}
1352+
})
1353+
.parents('select')
1354+
.trigger('liszt:updated')
13411355
.next('.t3-admin-layout-rmvbtn').toggleClass('disabled', !jallpos.val())
13421356
.next('.t3-admin-layout-defbtn').toggleClass('disabled', jspan.siblings('h3').html() == jspan.closest('[data-original]').attr('data-original'));
13431357

source/plg_system_t3/base-bs3/html/com_contact/category/default.php

100644100755
Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,11 @@
33
* @package Joomla.Site
44
* @subpackage com_contact
55
*
6-
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
6+
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
77
* @license GNU General Public License version 2 or later; see LICENSE.txt
88
*/
99

1010
defined('_JEXEC') or die;
1111

12-
?>
13-
<div class="contact-category<?php echo $this->pageclass_sfx;?>">
14-
<?php if ($this->params->get('show_page_heading')) : ?>
15-
<h1>
16-
<?php echo $this->escape($this->params->get('page_heading')); ?>
17-
</h1>
18-
<?php endif; ?>
19-
<?php if($this->params->get('show_category_title', 1)) : ?>
20-
<h2>
21-
<?php echo JHtml::_('content.prepare', $this->category->title, '', 'com_contact.category'); ?>
22-
</h2>
23-
<?php endif; ?>
24-
<?php if ($this->params->def('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
25-
<div class="category-desc">
26-
<?php if ($this->params->get('show_description_image') && $this->category->getParams()->get('image')) : ?>
27-
<img src="<?php echo $this->category->getParams()->get('image'); ?>"/>
28-
<?php endif; ?>
29-
<?php if ($this->params->get('show_description') && $this->category->description) : ?>
30-
<?php echo JHtml::_('content.prepare', $this->category->description, '', 'com_contact.category'); ?>
31-
<?php endif; ?>
32-
<div class="clr"></div>
33-
</div>
34-
<?php endif; ?>
35-
36-
<?php echo $this->loadTemplate('items'); ?>
37-
38-
<?php if (!empty($this->children[$this->category->id])&& $this->maxLevel != 0) : ?>
39-
<div class="cat-children">
40-
<h3><?php echo JText::_('JGLOBAL_SUBCATEGORIES'); ?></h3>
41-
<?php echo $this->loadTemplate('children'); ?>
42-
</div>
43-
<?php endif; ?>
44-
</div>
12+
$this->subtemplatename = 'items';
13+
echo JLayoutHelper::render('joomla.content.category_default', $this);

source/plg_system_t3/base-bs3/html/com_contact/category/default_children.php

100644100755
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
* @package Joomla.Site
44
* @subpackage com_contact
55
*
6-
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
6+
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
77
* @license GNU General Public License version 2 or later; see LICENSE.txt
88
*/
99

1010
defined('_JEXEC') or die;
1111
$class = ' class="first"';
12-
if (count($this->children[$this->category->id]) > 0 && $this->maxLevel != 0) :
12+
if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) :
1313
?>
14-
<ul class="list-striped list-condensed list-unstyled">
15-
<?php foreach($this->children[$this->category->id] as $id => $child) : ?>
16-
<?php
17-
if($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) :
18-
if(!isset($this->children[$this->category->id][$id + 1]))
14+
<ul class="list-striped list-condensed">
15+
<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
16+
<?php
17+
if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) :
18+
if (!isset($this->children[$this->category->id][$id + 1]))
1919
{
2020
$class = ' class="last"';
2121
}
22-
?>
23-
<li<?php echo $class; ?>>
24-
<?php $class = ''; ?>
22+
?>
23+
<li<?php echo $class; ?>>
24+
<?php $class = ''; ?>
2525
<h4 class="item-title">
2626
<a href="<?php echo JRoute::_(ContactHelperRoute::getCategoryRoute($child->id)); ?>">
2727
<?php echo $this->escape($child->title); ?>
2828
</a>
2929

30-
<?php if ($this->params->get('show_cat_items') == 1) :?>
30+
<?php if ($this->params->get('show_cat_items') == 1) : ?>
3131
<span class="badge badge-info pull-right" title="<?php echo JText::_('COM_CONTACT_CAT_NUM'); ?>"><?php echo $child->numitems; ?></span>
3232
<?php endif; ?>
3333
</h4>
@@ -48,8 +48,8 @@
4848
$this->category = $child->getParent();
4949
$this->maxLevel++;
5050
endif; ?>
51-
</li>
52-
<?php endif; ?>
53-
<?php endforeach; ?>
51+
</li>
52+
<?php endif; ?>
53+
<?php endforeach; ?>
5454
</ul>
5555
<?php endif; ?>

0 commit comments

Comments
 (0)