Changed over to V3 of footable, fixed icon display in the repeatable icon selections.

This commit is contained in:
2016-05-07 02:12:30 +01:00
parent e21980bbea
commit c9150e930d
416 changed files with 8121 additions and 3991 deletions

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
@ -200,27 +200,13 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
// Add Ajax Token
$document->addScriptDeclaration("var token = '".JSession::getFormToken()."';");
// Add the CSS for Footable.
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.core.min.css');
// Add the CSS for Footable
$document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
// Add the JavaScript for Footable (adding all funtions)
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.min.js');
// Use the Metro Style
if (!isset($this->fooTableStyle) || 0 == $this->fooTableStyle)
{
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.metro.min.css');
}
// Use the Legacy Style.
elseif (isset($this->fooTableStyle) && 1 == $this->fooTableStyle)
{
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
}
// Add the JavaScript for Footable
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.sort.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.filter.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.paginate.js');
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable(); }); jQuery('.nav-tabs').on('click', 'li', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('.footable').trigger('footable_resize'); }";
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable();});});";
$document->addScriptDeclaration($footable);
$document->addScript(JURI::root() . $this->script);

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php
@ -342,33 +342,54 @@ jQuery('#adminForm').on('change', '#jform_add_php_dashboard_methods',function (e
<?php $fieldNrs = range(1,10,1); ?>
<?php foreach($fieldNrs as $nr): ?>jQuery('body').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) {
<?php $fieldNrs = range(1,50,1); ?>
<?php foreach($fieldNrs as $nr): ?>jQuery('#jform_addadmin_views_modal').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) {
// update the icon if changed
var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val();
var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-');
var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn';
var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>);
var vala_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val();
// build new span
var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>';
var span = '<span id="icon_addadmin_views_fields_icomoon_<?php echo $nr; ?>" class="icon-'+vala_<?php echo $nr; ?>+'"></span>';
// remove old one
jQuery('#icon_'+target_<?php echo $nr; ?>).remove();
jQuery('#icon_addadmin_views_fields_icomoon_<?php echo $nr; ?>').remove();
// add the new icon
div_<?php echo $nr; ?>.closest("td").append(span);
jQuery('#jform_addadmin_views_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
});
jQuery(document).ready(function() {
// get type value
var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val();
var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-');
var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn';
var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>);
jQuery('input.form-field-repeatable').on('row-add', function (e) {
// show the icon if set
var vala_<?php echo $nr; ?> = jQuery('#jform_addadmin_views_fields_icomoon-<?php echo $nr; ?>').val();
// build new span
var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>';
var span = '<span id="icon_addadmin_views_fields_icomoon_<?php echo $nr; ?>" class="icon-'+vala_<?php echo $nr; ?>+'"></span>';
// remove old one
jQuery('#icon_'+target_<?php echo $nr; ?>).remove();
jQuery('#icon_addadmin_views_fields_icomoon_<?php echo $nr; ?>').remove();
// add the new icon
div_<?php echo $nr; ?>.closest("td").append(span);
jQuery('#jform_addadmin_views_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
});
});
<?php endforeach; ?>
<?php $fieldNrs = range(1,50,1); ?>
<?php foreach($fieldNrs as $nr): ?>jQuery('#jform_addcustom_admin_views_modal').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) {
// update the icon if changed
var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val();
// build new span
var span = '<span id="icon_addcustom_admin_views_fields_icomoon_<?php echo $nr; ?>" class="icon-'+val_<?php echo $nr; ?>+'"></span>';
// remove old one
jQuery('#icon_addcustom_admin_views_fields_icomoon_<?php echo $nr; ?>').remove();
// add the new icon
jQuery('#jform_addcustom_admin_views_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
});
jQuery(document).ready(function() {
jQuery('input.form-field-repeatable').on('row-add', function (e) {
// show the icon if set
var val_<?php echo $nr; ?> = jQuery('#jform_addcustom_admin_views_fields_icomoon-<?php echo $nr; ?>').val();
// build new span
var span = '<span id="icon_addcustom_admin_views_fields_icomoon_<?php echo $nr; ?>" class="icon-'+val_<?php echo $nr; ?>+'"></span>';
// remove old one
jQuery('#icon_addcustom_admin_views_fields_icomoon_<?php echo $nr; ?>').remove();
// add the new icon
jQuery('#jform_addcustom_admin_views_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
});
});
<?php endforeach; ?>
</script>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
@ -196,27 +196,13 @@ class ComponentbuilderViewComponent extends JViewLegacy
$document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_EDIT'));
$document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component.css");
// Add the CSS for Footable.
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.core.min.css');
// Add the CSS for Footable
$document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
// Add the JavaScript for Footable (adding all funtions)
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.min.js');
// Use the Metro Style
if (!isset($this->fooTableStyle) || 0 == $this->fooTableStyle)
{
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.metro.min.css');
}
// Use the Legacy Style.
elseif (isset($this->fooTableStyle) && 1 == $this->fooTableStyle)
{
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
}
// Add the JavaScript for Footable
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.sort.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.filter.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.paginate.js');
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable(); }); jQuery('.nav-tabs').on('click', 'li', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('.footable').trigger('footable_resize'); }";
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable();});});";
$document->addScriptDeclaration($footable);
$document->addScript(JURI::root() . $this->script);

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_main.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_vdm.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php
@ -249,7 +249,32 @@ jQuery('#adminForm').on('change', '#jform_add_css',function (e)
});
jQuery(function() {
<?php $fieldNrs = range(1,7,1); ?>
<?php foreach($fieldNrs as $nr): ?>jQuery('#jform_custom_button_modal').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) {
// update the icon if changed
var vala_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val();
// build new span
var span = '<span id="icon_custom_button_fields_icomoon_<?php echo $nr; ?>" class="icon-'+vala_<?php echo $nr; ?>+'"></span>';
// remove old one
jQuery('#icon_custom_button_fields_icomoon_<?php echo $nr; ?>').remove();
// add the new icon
jQuery('#jform_custom_button_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
});
jQuery(document).ready(function() {
jQuery('input.form-field-repeatable').on('row-add', function (e) {
// show the icon if set
var vala_<?php echo $nr; ?> = jQuery('#jform_custom_button_fields_icomoon-<?php echo $nr; ?>').val();
// build new span
var span = '<span id="icon_custom_button_fields_icomoon_<?php echo $nr; ?>" class="icon-'+vala_<?php echo $nr; ?>+'"></span>';
// remove old one
jQuery('#icon_custom_button_fields_icomoon_<?php echo $nr; ?>').remove();
// add the new icon
jQuery('#jform_custom_button_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
});
});
<?php endforeach; ?>jQuery(function() {
jQuery("code").click(function() {
jQuery(this).selText().addClass("selected");
});

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
@ -198,27 +198,13 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
$document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_FIELDTYPE_NEW' : 'COM_COMPONENTBUILDER_FIELDTYPE_EDIT'));
$document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/fieldtype.css");
// Add the CSS for Footable.
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.core.min.css');
// Add the CSS for Footable
$document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
// Add the JavaScript for Footable (adding all funtions)
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.min.js');
// Use the Metro Style
if (!isset($this->fooTableStyle) || 0 == $this->fooTableStyle)
{
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.metro.min.css');
}
// Use the Legacy Style.
elseif (isset($this->fooTableStyle) && 1 == $this->fooTableStyle)
{
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
}
// Add the JavaScript for Footable
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.sort.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.filter.js');
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.paginate.js');
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable(); }); jQuery('.nav-tabs').on('click', 'li', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('.footable').trigger('footable_resize'); }";
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable();});});";
$document->addScriptDeclaration($footable);
$document->addScript(JURI::root() . $this->script);

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.7
@build 6th May, 2016
@version 2.1.8
@build 7th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php

Some files were not shown because too many files have changed in this diff Show More