added feature to remove site folder if not needed, also some linked to component tabs to fields, admin views, site views, and custom admin views

This commit is contained in:
Llewellyn van der Merwe 2017-01-20 02:16:50 +02:00
parent b02771762d
commit ea2b2ea4c4
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
397 changed files with 1433 additions and 2596 deletions

View File

@ -104,12 +104,12 @@ Component Builder is mapped as a component in itself on my local development env
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io)
+ *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 12th January, 2017
+ *Last Build*: 20th January, 2017
+ *Version*: 2.2.6
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **87400**
+ *File count*: **546**
+ *Line count*: **86216**
+ *File count*: **549**
+ *Folder count*: **100**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -104,12 +104,12 @@ Component Builder is mapped as a component in itself on my local development env
+ *Author*: [Llewellyn van der Merwe](mailto:info@vdm.io)
+ *Name*: [Component Builder](http://vdm.bz/component-builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 12th January, 2017
+ *Last Build*: 20th January, 2017
+ *Version*: 2.2.6
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **87400**
+ *File count*: **546**
+ *Line count*: **86216**
+ *File count*: **549**
+ *Folder count*: **100**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage component.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage components.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dashboard.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage field.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage fields.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage help_document.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage help_documents.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage layout.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage layouts.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage site_view.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage site_views.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage snippet.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage snippets.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage template.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage templates.css

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage controller.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage ajax.json.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage compiler.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage component.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage components.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage field.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage fields.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage help.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage help_document.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage help_documents.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage import.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage layout.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage layouts.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage site_view.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage site_views.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage snippet.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage snippets.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage template.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage templates.php

View File

@ -68,6 +68,19 @@ class Compiler extends Infusion
{
$this->gitPath = $this->params->get('git_folder_path', null);
}
// remove site folder
if ($this->removeSiteFolder)
{
// first remove the files and folders
$this->removeFolder($this->componentPath . '/site');
// clear form component xml
$xmlPath = $this->componentPath . '/'. $this->fileContentStatic['###component###']. '.xml';
$componentXML = JFile::read($xmlPath);
$textToSite = ComponentbuilderHelper::getBetween($componentXML,'<files folder="site">','</files>');
$textToSiteLang = ComponentbuilderHelper::getBetween($componentXML,'<languages folder="site">','</languages>');
$componentXML = str_replace(array('<files folder="site">'.$textToSite."</files>", '<languages folder="site">'.$textToSiteLang."</languages>"), array('',''), $componentXML);
$this->writeFile($xmlPath,$componentXML);
}
// now update the files
if ($this->updateFiles())
{

View File

@ -957,14 +957,10 @@ class Interpretation extends Fields
$method[] = "\t\t\t\$password = self::randomkey(8);";
$method[] = "\t\t\t\$password2 = \$password;";
$method[] = "\t\t}";
$method[] = "\t\t//".$this->setLine(__LINE__)." set username";
$method[] = "\t\tif (isset(\$new['username']) && self::checkString(\$new['username']))";
$method[] = "\t\t//".$this->setLine(__LINE__)." set username if not set";
$method[] = "\t\tif (!isset(\$new['username']) || !self::checkString(\$new['username']))";
$method[] = "\t\t{";
$method[] = "\t\t\t\$new['username'] = self::safeString(\$new['username']);";
$method[] = "\t\t}";
$method[] = "\t\telse";
$method[] = "\t\t{";
$method[] = "\t\t\t\$new['username'] = self::safeString(\$new['name']);\t\t\t";
$method[] = "\t\t\t\$new['username'] = self::safeString(\$new['name']);";
$method[] = "\t\t}";
$method[] = "\t\t//".$this->setLine(__LINE__)." linup new user data";
$method[] = "\t\t\$data = array(";
@ -6854,6 +6850,11 @@ class Interpretation extends Fields
$query .= "\n\t\t\t\t\t{";
$query .= "\n\t\t\t\t\t\t\$item->".$target." = json_decode(\$item->".$target.");";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t\telse";
$query .= "\n\t\t\t\t\t{";
$query .= "\n\t\t\t\t\t\tunset(\$items[\$nr]);";
$query .= "\n\t\t\t\t\t\tcontinue;";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t\tif (!in_array(\$".$globalKey.",\$item->".$target."))";
}
else
@ -6862,6 +6863,11 @@ class Interpretation extends Fields
$query .= "\n\t\t\t\t\t{";
$query .= "\n\t\t\t\t\t\t\$item->".$_key." = json_decode(\$item->".$_key.");";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t\telse";
$query .= "\n\t\t\t\t\t{";
$query .= "\n\t\t\t\t\t\tunset(\$items[\$nr]);";
$query .= "\n\t\t\t\t\t\tcontinue;";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t\tif (!in_array(\$".$globalKey.",\$item->".$_key."))";
}
$query .= "\n\t\t\t\t\t{";
@ -6894,6 +6900,11 @@ class Interpretation extends Fields
$query .= "\n\t\t\t\t\t\t\tcontinue;";
$query .= "\n\t\t\t\t\t\t}";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t\telse";
$query .= "\n\t\t\t\t\t{";
$query .= "\n\t\t\t\t\t\tunset(\$items[\$nr]);";
$query .= "\n\t\t\t\t\t\tcontinue;";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t}";
$query .= "\n\t\t\t}";
$query .= "\n\t\t\telse";
@ -6928,6 +6939,11 @@ class Interpretation extends Fields
$query .= "\n\t\t\t\t\t\t\tcontinue;";
$query .= "\n\t\t\t\t\t\t}";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t\telse";
$query .= "\n\t\t\t\t\t{";
$query .= "\n\t\t\t\t\t\tunset(\$items[\$nr]);";
$query .= "\n\t\t\t\t\t\tcontinue;";
$query .= "\n\t\t\t\t\t}";
$query .= "\n\t\t\t\t}";
$query .= "\n\t\t\t}";
$query .= "\n\t\t\telse";

View File

@ -34,6 +34,7 @@ class Infusion extends Interpretation
public $eximportView = array();
public $importCustomScripts = array();
public $removeSiteFolder = false;
/**
* Constructor
@ -1004,6 +1005,11 @@ class Infusion extends Interpretation
// setup the layouts
$this->setCustomViewLayouts();
}
else
{
// clear all site folder since none is needed
$this->removeSiteFolder = true;
}
// ###LANG_ADMIN###
$this->fileContentStatic['###LANG_ADMIN###'] = $this->setLangAdmin();

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage batch_.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage indenter.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage js.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage minify.php

View File

@ -354,6 +354,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_LAST="Last"
COM_COMPONENTBUILDER_ADMIN_VIEW_LEFT_IN_TAB="Left in Tab"
COM_COMPONENTBUILDER_ADMIN_VIEW_LEFT_OF_TABS="Left of Tabs"
COM_COMPONENTBUILDER_ADMIN_VIEW_LINK="Link"
COM_COMPONENTBUILDER_ADMIN_VIEW_LINKED_COMPONENTS="Linked - Components"
COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_DESCRIPTION="Select if the field is to be used as a link to a single record, if shown."
COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_LABEL="Link"
COM_COMPONENTBUILDER_ADMIN_VIEW_LIST="List"
@ -1674,6 +1675,7 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_KEY="Key"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAMP="Lamp"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAST="Last"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LINK="Link"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LINKED_COMPONENTS="Linked - Components"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIST="List"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIST_TWO="List 2"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LOCATION="Location"
@ -2979,6 +2981,7 @@ COM_COMPONENTBUILDER_SITE_VIEW_KEY="Key"
COM_COMPONENTBUILDER_SITE_VIEW_LAMP="Lamp"
COM_COMPONENTBUILDER_SITE_VIEW_LAST="Last"
COM_COMPONENTBUILDER_SITE_VIEW_LINK="Link"
COM_COMPONENTBUILDER_SITE_VIEW_LINKED_COMPONENTS="Linked - Components"
COM_COMPONENTBUILDER_SITE_VIEW_LIST="List"
COM_COMPONENTBUILDER_SITE_VIEW_LIST_TWO="List 2"
COM_COMPONENTBUILDER_SITE_VIEW_LOCATION="Location"

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage css_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_import_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage fields_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage javascript_fullwidth.php

View File

@ -0,0 +1,138 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage linked_components_fullwidth.php
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Builds Complex Joomla Components
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->vxulinked_components;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=components&task=component.edit";
?>
<div class="form-vertical">
<?php if (ComponentbuilderHelper::checkArray($items)): ?>
<table class="footable table data components" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
<thead>
<tr>
<th data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_LABEL'); ?>
</th>
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_LABEL'); ?>
</th>
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_LABEL'); ?>
</th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_LABEL'); ?>
</th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_LABEL'); ?>
</th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_AUTHOR_LABEL'); ?>
</th>
<th width="10" data-breakpoints="xs sm md">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_STATUS'); ?>
</th>
<th width="5" data-type="number" data-breakpoints="xs sm md">
<?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_ID'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($items as $i => $item): ?>
<?php
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
$userChkOut = JFactory::getUser($item->checked_out);
$canDo = ComponentbuilderHelper::getActions('component',$item,'components');
?>
<tr>
<td class="nowrap">
<?php if ($canDo->get('core.edit')): ?>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=admin_view&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->system_name); ?></a>
<?php if ($item->checked_out): ?>
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'components.', $canCheckin); ?>
<?php endif; ?>
<?php else: ?>
<div class="name"><?php echo $displayData->escape($item->system_name); ?></div>
<?php endif; ?>
</td>
<td>
<?php echo $displayData->escape($item->name_code); ?>
</td>
<td>
<?php echo $displayData->escape($item->component_version); ?>
</td>
<td>
<?php echo $displayData->escape($item->short_description); ?>
</td>
<td>
<?php echo $displayData->escape($item->companyname); ?>
</td>
<td>
<?php echo $displayData->escape($item->author); ?>
</td>
<?php if ($item->published == 1):?>
<td class="center" data-sort-value="1">
<span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>">
<?php echo JText::_('PUBLISHED'); ?>
</span>
</td>
<?php elseif ($item->published == 0):?>
<td class="center" data-sort-value="2">
<span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>">
<?php echo JText::_('INACTIVE'); ?>
</span>
</td>
<?php elseif ($item->published == 2):?>
<td class="center" data-sort-value="3">
<span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
</span>
</td>
<?php elseif ($item->published == -2):?>
<td class="center" data-sort-value="4">
<span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>">
<?php echo JText::_('ARCHIVED'); ?>
</span>
</td>
<?php endif; ?>
<td class="nowrap center hidden-phone">
<?php echo $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="alert alert-no-items">
<?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php endif; ?>
</div>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage mysql_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage mysql_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage php_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage settings_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage settings_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage settings_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage settings_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage batchselection.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin_views_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_build_beta_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_integration_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage libs_helpers_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage mysql_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage php_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage readme_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage readme_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage settings_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage settings_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage site_views_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 12th January, 2017
@build 20th January, 2017
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_fullwidth.php

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