"
COM_COMPONENTBUILDER_DASHBOARD_SITE_VIEW_ADD="Add Site View
"
@@ -4391,7 +4398,7 @@ COM_COMPONENTBUILDER_DISPLAY_SWITCH_FOR_DYNAMIC_PLACEMENT_IN_RELATION_TO_THE_USE
COM_COMPONENTBUILDER_DIVERGED="Diverged"
COM_COMPONENTBUILDER_DIVERGED_MEANS_YOUR_BLOCAL_SNIPPETB_WITH_THE_SAME_NAME_LIBRARY_AND_TYPE_HAS_A_BDIVERGEDB_FROM_THE_COMMUNITY_SNIPPET_WITH_THE_SAME_NAME_LIBRARY_AND_TYPE_IN_THAT_IT_DOES_NOT_HAVE_THE_SAME_BCREATIONB_OR_BMODIFIED_DATEB="Diverged means your local snippet (with the same name, library and type) has a diverged from the community snippet (with the same name, library and type) in that it does not have the same creation or modified date."
COM_COMPONENTBUILDER_DOES_THIS_PACKAGE_REQUIRE_A_KEY_TO_INSTALL="Does this package require a key to install."
-COM_COMPONENTBUILDER_DOWNLOAD="download"
+COM_COMPONENTBUILDER_DOWNLOAD_UPDATE="Download Update"
COM_COMPONENTBUILDER_DO_NOT_ADD="Do not add"
COM_COMPONENTBUILDER_DTCOMPANYDTDDSDD="
Company
%s
"
COM_COMPONENTBUILDER_DTCOPYRIGHTDTDDSDD="
Copyright
%s
"
@@ -4734,6 +4741,7 @@ COM_COMPONENTBUILDER_EXPORT_DATA_DESC="Allows users in this group to export data
COM_COMPONENTBUILDER_EXPORT_FAILED="Export Failed"
COM_COMPONENTBUILDER_EXPORT_FAILED_PLEASE_TRY_AGAIN_LATTER="Export failed, please try again latter!"
COM_COMPONENTBUILDER_EXPORT_JCB_PACKAGES="Export JCB Packages"
+COM_COMPONENTBUILDER_EXTENDS="Extends"
COM_COMPONENTBUILDER_EXTRA_PROPERTIES_LIKE_LISTCLASS_ESCAPE_DISPLAY_VALIDATEBR_SMALLHERE_YOU_CAN_SET_THE_EXTRA_PROPERTIES_FOR_THIS_FIELDSMALL="Extra properties like (listclass, escape, display, validate) Here you can set the extra properties for this field"
COM_COMPONENTBUILDER_FADE_IN="Fade In"
COM_COMPONENTBUILDER_FIELD="Field"
@@ -4746,6 +4754,8 @@ COM_COMPONENTBUILDER_FIELDS_BATCH_USE="Fields Batch Use"
COM_COMPONENTBUILDER_FIELDS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch fields"
COM_COMPONENTBUILDER_FIELDS_CREATE="Fields Create"
COM_COMPONENTBUILDER_FIELDS_CREATE_DESC="Allows the users in this group to create create fields"
+COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD="Fields Dashboard Add"
+COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD_DESC="Allows the users in this group to dashboard add of field"
COM_COMPONENTBUILDER_FIELDS_DASHBOARD_LIST="Fields Dashboard List"
COM_COMPONENTBUILDER_FIELDS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of field"
COM_COMPONENTBUILDER_FIELDS_DELETE="Fields Delete"
@@ -5251,6 +5261,8 @@ COM_COMPONENTBUILDER_FILTER_MODELING_METHOD_ASCENDING="Modeling Method ascending
COM_COMPONENTBUILDER_FILTER_MODELING_METHOD_DESCENDING="Modeling Method descending"
COM_COMPONENTBUILDER_FILTER_MODIFIED_DATE_ASCENDING="Modified Date ascending"
COM_COMPONENTBUILDER_FILTER_MODIFIED_DATE_DESCENDING="Modified Date descending"
+COM_COMPONENTBUILDER_FILTER_NAMESPACE_ASCENDING="Namespace ascending"
+COM_COMPONENTBUILDER_FILTER_NAMESPACE_DESCENDING="Namespace descending"
COM_COMPONENTBUILDER_FILTER_NAME_ASCENDING="Name ascending"
COM_COMPONENTBUILDER_FILTER_NAME_DESCENDING="Name descending"
COM_COMPONENTBUILDER_FILTER_NAME_IN_CODE_NAMING_CONVENTIONS_ASCENDING="Name in Code
@@ -5307,6 +5319,7 @@ COM_COMPONENTBUILDER_FILTER_PUBLISHED_LIBRARIES="Status options for libraries"
COM_COMPONENTBUILDER_FILTER_PUBLISHED_LIBRARIES_CONFIG="Status options for libraries config"
COM_COMPONENTBUILDER_FILTER_PUBLISHED_LIBRARIES_FILES_FOLDERS_URLS="Status options for libraries files folders urls"
COM_COMPONENTBUILDER_FILTER_PUBLISHED_PLACEHOLDERS="Status options for placeholders"
+COM_COMPONENTBUILDER_FILTER_PUBLISHED_POWERS="Status options for powers"
COM_COMPONENTBUILDER_FILTER_PUBLISHED_SERVERS="Status options for servers"
COM_COMPONENTBUILDER_FILTER_PUBLISHED_SITE_VIEWS="Status options for site views"
COM_COMPONENTBUILDER_FILTER_PUBLISHED_SNIPPETS="Status options for snippets"
@@ -5355,6 +5368,7 @@ COM_COMPONENTBUILDER_FILTER_SEARCH_LIBRARIES="Search the library items. Prefix w
COM_COMPONENTBUILDER_FILTER_SEARCH_LIBRARIES_CONFIG="Search the library config items. Prefix with ID: to search for an item by ID."
COM_COMPONENTBUILDER_FILTER_SEARCH_LIBRARIES_FILES_FOLDERS_URLS="Search the library files folders urls items. Prefix with ID: to search for an item by ID."
COM_COMPONENTBUILDER_FILTER_SEARCH_PLACEHOLDERS="Search the placeholder items. Prefix with ID: to search for an item by ID."
+COM_COMPONENTBUILDER_FILTER_SEARCH_POWERS="Search the power items. Prefix with ID: to search for an item by ID."
COM_COMPONENTBUILDER_FILTER_SEARCH_SERVERS="Search the server items. Prefix with ID: to search for an item by ID."
COM_COMPONENTBUILDER_FILTER_SEARCH_SITE_VIEWS="Search the site view items. Prefix with ID: to search for an item by ID."
COM_COMPONENTBUILDER_FILTER_SEARCH_SNIPPETS="Search the snippet items. Prefix with ID: to search for an item by ID."
@@ -5396,6 +5410,8 @@ COM_COMPONENTBUILDER_FILTER_SELECT_TARGET_AREA="Select Target Area"
COM_COMPONENTBUILDER_FILTER_SELECT_TARGET_FOLDER="Select Target Folder"
COM_COMPONENTBUILDER_FILTER_SELECT_TYPE="Select Type"
COM_COMPONENTBUILDER_FILTER_SELECT_TYPE_BEHAVIOR="Select Type Behavior"
+COM_COMPONENTBUILDER_FILTER_SELECT_TYPE_OF_POWER="Select Type of Power"
+COM_COMPONENTBUILDER_FILTER_SELECT_VERSION="Select Version"
COM_COMPONENTBUILDER_FILTER_SELECT_VISIBILITY="Select Visibility"
COM_COMPONENTBUILDER_FILTER_SET_STRING_VALUE_ASCENDING="Set String Value ascending"
COM_COMPONENTBUILDER_FILTER_SET_STRING_VALUE_DESCENDING="Set String Value descending"
@@ -5419,8 +5435,12 @@ COM_COMPONENTBUILDER_FILTER_TYPE_ASCENDING="Type ascending"
COM_COMPONENTBUILDER_FILTER_TYPE_BEHAVIOR_ASCENDING="Type Behavior ascending"
COM_COMPONENTBUILDER_FILTER_TYPE_BEHAVIOR_DESCENDING="Type Behavior descending"
COM_COMPONENTBUILDER_FILTER_TYPE_DESCENDING="Type descending"
+COM_COMPONENTBUILDER_FILTER_TYPE_OF_POWER_ASCENDING="Type of Power ascending"
+COM_COMPONENTBUILDER_FILTER_TYPE_OF_POWER_DESCENDING="Type of Power descending"
COM_COMPONENTBUILDER_FILTER_URL_ASCENDING="URL ascending"
COM_COMPONENTBUILDER_FILTER_URL_DESCENDING="URL descending"
+COM_COMPONENTBUILDER_FILTER_VERSION_ASCENDING="Version ascending"
+COM_COMPONENTBUILDER_FILTER_VERSION_DESCENDING="Version descending"
COM_COMPONENTBUILDER_FILTER_VISIBILITY_ASCENDING="Visibility ascending"
COM_COMPONENTBUILDER_FILTER_VISIBILITY_DESCENDING="Visibility descending"
COM_COMPONENTBUILDER_FOLDER="Folder"
@@ -5462,6 +5482,8 @@ COM_COMPONENTBUILDER_GET_SNIPPETS_TEMPLATES_BUTTON_ACCESS="Get Snippets Template
COM_COMPONENTBUILDER_GET_SNIPPETS_TEMPLATES_BUTTON_ACCESS_DESC="Allows the users in this group to access the templates button."
COM_COMPONENTBUILDER_GET_THE_SNIPPET_FROM_GITHUB_AND_INSTALL_IT_LOCALLY="Get the snippet from gitHub and install it locally"
COM_COMPONENTBUILDER_GET_THE_SNIPPET_FROM_GITHUB_AND_UPDATE_THE_LOCAL_VERSION="Get the snippet from gitHub and update the local version"
+COM_COMPONENTBUILDER_GET_TOKEN="Get Token"
+COM_COMPONENTBUILDER_GET_TOKEN_FROM_VDM_FOR_UPDATES_AND_ADD_IT_TO_YOUR_GLOBAL_OPTIONS="Get token from VDM for updates, and add it to your global options"
COM_COMPONENTBUILDER_GLOBAL="Global"
COM_COMPONENTBUILDER_GLUECODE="Glue/Code"
COM_COMPONENTBUILDER_GREAT_THIS_FUNCTION_NAME_WILL_WORK="Great, this function name will work!"
@@ -5627,6 +5649,7 @@ COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDS="Select the file to import da
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDTYPES="Select the file to import data to fieldtypes."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_HELP_DOCUMENTS="Select the file to import data to help_documents."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_COMPONENTS="Select the file to import data to joomla_components."
+COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_JOOMLA_MODULES="Select the file to import data to joomla_modules."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGES="Select the file to import data to languages."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LANGUAGE_TRANSLATIONS="Select the file to import data to language_translations."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LAYOUTS="Select the file to import data to layouts."
@@ -5646,7 +5669,6 @@ COM_COMPONENTBUILDER_IMPORT_UPLOAD_BOTTON="Upload File"
COM_COMPONENTBUILDER_INACTIVE="Inactive"
COM_COMPONENTBUILDER_IN_SYNC="In Sync"
COM_COMPONENTBUILDER_ISOLATE="Isolate"
-COM_COMPONENTBUILDER_ISSUE="issue"
COM_COMPONENTBUILDER_IS_BEING_COMPILED="is being compiled"
COM_COMPONENTBUILDER_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES="Is Not (only 4 list/radio/checkboxes)"
COM_COMPONENTBUILDER_IS_ONLY_FOUR_LISTRADIOCHECKBOXES="Is (only 4 list/radio/checkboxes)"
@@ -6140,6 +6162,8 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE="Joomla Modules Edit State"
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module"
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION="Joomla Modules Edit Version"
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla modules"
+COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT="Joomla Modules Export"
+COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT_DESC="Allows the users in this group to export export joomla modules"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS="Joomla Modules Files, Folders & URLs"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS="Joomla Modules Files Folders Urls Access"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla modules files folders urls"
@@ -6182,6 +6206,8 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNFEATURED="%s Jo
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNFEATURED_1="%s Joomla Module Files, Folders & URLs unfeatured."
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNPUBLISHED="%s Joomla Modules Files, Folders & URLs unpublished."
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNPUBLISHED_1="%s Joomla Module Files, Folders & URLs unpublished."
+COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT="Joomla Modules Import"
+COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT_DESC="Allows the users in this group to import import joomla modules"
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_ARCHIVED="%s Joomla Modules archived."
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_ARCHIVED_1="%s Joomla Module archived."
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_CHECKED_IN_0="No Joomla Module successfully checked in."
@@ -7216,8 +7242,6 @@ COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_DESC="A count of the number of
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATION_VERSION_LABEL="Version"
COM_COMPONENTBUILDER_LANGUAGE_VERSION_DESC="A count of the number of times this Language has been revised."
COM_COMPONENTBUILDER_LANGUAGE_VERSION_LABEL="Version"
-COM_COMPONENTBUILDER_LAST_FEW_RELEASES_FROM_GITHUB_IS_LOADING="Last few releases from Github is loading"
-COM_COMPONENTBUILDER_LATEST_RELEASE="Latest Release"
COM_COMPONENTBUILDER_LAYOUT="Layout"
COM_COMPONENTBUILDER_LAYOUTS="Layouts"
COM_COMPONENTBUILDER_LAYOUTS_ACCESS="Layouts Access"
@@ -7740,12 +7764,12 @@ COM_COMPONENTBUILDER_NAME_DESC="Name (Desc)"
COM_COMPONENTBUILDER_NAME_OF_DYNAMICGET="Name of dynamicGet"
COM_COMPONENTBUILDER_NEED_HELP="Need help?"
COM_COMPONENTBUILDER_NEW="New"
-COM_COMPONENTBUILDER_NEW_ISSUE="New Issue"
COM_COMPONENTBUILDER_NEW_MEANS_THAT_WE_COULD_NOT_FIND_A_LOCAL_SNIPPET_WITH_THE_SAME_NAME_LIBRARY_AND_TYPE_AND_SO_HAVE_MARKED_THIS_SNIPPET_AS_NEW="New means that we could not find a local snippet with the same name, library and type, and so have marked this snippet as new."
COM_COMPONENTBUILDER_NEW_NOTICE="New Notice"
COM_COMPONENTBUILDER_NO="No"
COM_COMPONENTBUILDER_NONE="None"
COM_COMPONENTBUILDER_NONE_DB="None DB"
+COM_COMPONENTBUILDER_NONE_FOUND="None found"
COM_COMPONENTBUILDER_NONE_SELECTED="None selected"
COM_COMPONENTBUILDER_NOTICE_BOARD="Notice Board"
COM_COMPONENTBUILDER_NOTRANSLATION="no-translation"
@@ -7781,12 +7805,7 @@ COM_COMPONENTBUILDER_ONLY_IN_LINKED_LIST_VIEWS="Only in Linked List Views"
COM_COMPONENTBUILDER_ONLY_ONE_COMPONENT_CAN_BE_CLONED_AT_A_TIME_PLEASE_SELECT_ONE_AND_TRY_AGAIN="Only one component can be cloned at a time, please select one and try again!"
COM_COMPONENTBUILDER_ONLY_SZIP_FILE_WAS_REMOVED_THE_FROM_TMP_FOLDER_DURING_INSTALLATION="Only (%s.zip) file was removed the from tmp folder during installation!"
COM_COMPONENTBUILDER_ONLY_USE_THE_BNONE_DBB_OPTION_IF_YOU_ARE_PLANNING_ON_TARGETING_THIS_FIELD_WITH_JAVASCRIPTCUSTOM_PHP_TO_MOVE_ITS_VALUE_INTO_ANOTHER_FIELD_THAT_DOES_GET_SAVED_TO_THE_DATABASE="Only use the None DB option if you are planning on targeting this field with JavaScript/Custom PHP to move its value into another field that does get saved to the database."
-COM_COMPONENTBUILDER_ON_GITHUB="on Github"
-COM_COMPONENTBUILDER_OPEN="Open"
-COM_COMPONENTBUILDER_OPENED="opened"
-COM_COMPONENTBUILDER_OPENED_THIS="opened this"
COM_COMPONENTBUILDER_OPEN_LIBRARY_SNIPPETS="Open Library Snippets"
-COM_COMPONENTBUILDER_OPEN_ON_GITHUB="Open on Github"
COM_COMPONENTBUILDER_OPTIONS="Options"
COM_COMPONENTBUILDER_ORDER_BEFORE="Order Before"
COM_COMPONENTBUILDER_ORDER_IN_EDIT="Order in Edit"
@@ -7923,6 +7942,172 @@ COM_COMPONENTBUILDER_PLEASE_WAIT="Please wait!"
COM_COMPONENTBUILDER_PLEASE_WAIT_LOADING="Please wait, loading"
COM_COMPONENTBUILDER_PLUGIN="Plugin"
COM_COMPONENTBUILDER_PLUGINS="Plugins"
+COM_COMPONENTBUILDER_POWER="Power"
+COM_COMPONENTBUILDER_POWERS="Powers"
+COM_COMPONENTBUILDER_POWERS_ACCESS="Powers Access"
+COM_COMPONENTBUILDER_POWERS_ACCESS_DESC="Allows the users in this group to access access powers"
+COM_COMPONENTBUILDER_POWERS_A_HREFS_TARGET_BLANK_TITLEOPEN_POWERSA_WITH_VERSION_S_ALREADY_EXIST="Power:%s [%s] with version (%s) already exist."
+COM_COMPONENTBUILDER_POWERS_BATCH_OPTIONS="Batch process the selected Powers"
+COM_COMPONENTBUILDER_POWERS_BATCH_TIP="All changes will be applied to all selected Powers"
+COM_COMPONENTBUILDER_POWERS_BATCH_USE="Powers Batch Use"
+COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch powers"
+COM_COMPONENTBUILDER_POWERS_CREATE="Powers Create"
+COM_COMPONENTBUILDER_POWERS_CREATE_DESC="Allows the users in this group to create create powers"
+COM_COMPONENTBUILDER_POWERS_DASHBOARD_LIST="Powers Dashboard List"
+COM_COMPONENTBUILDER_POWERS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of power"
+COM_COMPONENTBUILDER_POWERS_DELETE="Powers Delete"
+COM_COMPONENTBUILDER_POWERS_DELETE_DESC="Allows the users in this group to delete delete powers"
+COM_COMPONENTBUILDER_POWERS_DETAILS="Details"
+COM_COMPONENTBUILDER_POWERS_EDIT="Powers Edit"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_BY="Powers Edit Created By"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by powers"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_DATE="Powers Edit Created Date"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created powers"
+COM_COMPONENTBUILDER_POWERS_EDIT_DESC="Allows the users in this group to edit the power"
+COM_COMPONENTBUILDER_POWERS_EDIT_OWN="Powers Edit Own"
+COM_COMPONENTBUILDER_POWERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own powers created by them"
+COM_COMPONENTBUILDER_POWERS_EDIT_STATE="Powers Edit State"
+COM_COMPONENTBUILDER_POWERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the power"
+COM_COMPONENTBUILDER_POWERS_EDIT_VERSION="Powers Edit Version"
+COM_COMPONENTBUILDER_POWERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version powers"
+COM_COMPONENTBUILDER_POWERS_NAME="Name"
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_ARCHIVED="%s Powers archived."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_ARCHIVED_1="%s Power archived."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_CHECKED_IN_0="No Power successfully checked in."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_CHECKED_IN_1="%d Power successfully checked in."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_CHECKED_IN_MORE="%d Powers successfully checked in."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_DELETED="%s Powers deleted."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_DELETED_1="%s Power deleted."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_FAILED_PUBLISHING="%s Powers failed publishing."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_FAILED_PUBLISHING_1="%s Power failed publishing."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_FEATURED="%s Powers featured."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_FEATURED_1="%s Power featured."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_PUBLISHED="%s Powers published."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_PUBLISHED_1="%s Power published."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_TRASHED="%s Powers trashed."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_TRASHED_1="%s Power trashed."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_UNFEATURED="%s Powers unfeatured."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_UNFEATURED_1="%s Power unfeatured."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_UNPUBLISHED="%s Powers unpublished."
+COM_COMPONENTBUILDER_POWERS_N_ITEMS_UNPUBLISHED_1="%s Power unpublished."
+COM_COMPONENTBUILDER_POWERS_SUBMENU="Powers Submenu"
+COM_COMPONENTBUILDER_POWERS_SUBMENU_DESC="Allows the users in this group to submenu of power"
+COM_COMPONENTBUILDER_POWER_ABSTRACT_CLASS="abstract class"
+COM_COMPONENTBUILDER_POWER_ADD_HEAD_DESCRIPTION="You can add your own custom header script, combined with the default header script that make the extended class work."
+COM_COMPONENTBUILDER_POWER_ADD_HEAD_LABEL="Add Custom Class Header"
+COM_COMPONENTBUILDER_POWER_AS_LABEL="as"
+COM_COMPONENTBUILDER_POWER_CLASS="class"
+COM_COMPONENTBUILDER_POWER_CODE="Code"
+COM_COMPONENTBUILDER_POWER_CREATED_BY_DESC="The user that created this Power."
+COM_COMPONENTBUILDER_POWER_CREATED_BY_LABEL="Created By"
+COM_COMPONENTBUILDER_POWER_CREATED_DATE_DESC="The date this Power was created."
+COM_COMPONENTBUILDER_POWER_CREATED_DATE_LABEL="Created Date"
+COM_COMPONENTBUILDER_POWER_DESCRIPTION_DESCRIPTION="Add Description Here"
+COM_COMPONENTBUILDER_POWER_DESCRIPTION_HINT="Add Description Here"
+COM_COMPONENTBUILDER_POWER_DESCRIPTION_LABEL="Description"
+COM_COMPONENTBUILDER_POWER_EDIT="Editing the Power"
+COM_COMPONENTBUILDER_POWER_ERROR_UNIQUE_ALIAS="Another Power has the same alias."
+COM_COMPONENTBUILDER_POWER_EXTENDS_CUSTOM_DESCRIPTION="The custom class, this class should extend"
+COM_COMPONENTBUILDER_POWER_EXTENDS_CUSTOM_LABEL="Extends - Custom"
+COM_COMPONENTBUILDER_POWER_EXTENDS_CUSTOM_MESSAGE="Error! Please add the custom class, this class should extend."
+COM_COMPONENTBUILDER_POWER_EXTENDS_DESCRIPTION="The class, this class should extend"
+COM_COMPONENTBUILDER_POWER_EXTENDS_LABEL="Extends"
+COM_COMPONENTBUILDER_POWER_FINAL_CLASS="final class"
+COM_COMPONENTBUILDER_POWER_GUID_DESCRIPTION="Globally Unique Identifier"
+COM_COMPONENTBUILDER_POWER_GUID_HINT="Auto Generated"
+COM_COMPONENTBUILDER_POWER_GUID_LABEL="GUID"
+COM_COMPONENTBUILDER_POWER_HEAD_DESCRIPTION="The class header to add any header values can be added."
+COM_COMPONENTBUILDER_POWER_HEAD_LABEL="Class Header"
+COM_COMPONENTBUILDER_POWER_ID="Id"
+COM_COMPONENTBUILDER_POWER_IMPLEMENTS_CUSTOM_DESCRIPTION="Add the custom interface(s) this class must implement. Comma separate them, and remember to manually add their use statements to the header area."
+COM_COMPONENTBUILDER_POWER_IMPLEMENTS_CUSTOM_LABEL="Implements interface(s) - Custom"
+COM_COMPONENTBUILDER_POWER_IMPLEMENTS_CUSTOM_MESSAGE="Error! Please add the custom interface(s) this class must implement."
+COM_COMPONENTBUILDER_POWER_IMPLEMENTS_DESCRIPTION="The interface(s), this class should implement."
+COM_COMPONENTBUILDER_POWER_IMPLEMENTS_LABEL="Implements interface(s)"
+COM_COMPONENTBUILDER_POWER_INTERFACE="interface"
+COM_COMPONENTBUILDER_POWER_LOAD="Load"
+COM_COMPONENTBUILDER_POWER_LOAD_LABEL="load"
+COM_COMPONENTBUILDER_POWER_LOAD_POWERS_NOTE_DESCRIPTION="
When you would like to load a power to the project, but you do not want that power to be part of the use namespace declarations in the header of this power.
+
You do not need to again select any power that is already selected in the Extends, Implements, or Use Selection fields, since they are already being loaded.
"
+COM_COMPONENTBUILDER_POWER_LOAD_POWERS_NOTE_LABEL="When to Load Powers Here?"
+COM_COMPONENTBUILDER_POWER_LOAD_SELECTION_DESCRIPTION="Select powers that you want to make sure also load when this power is loaded."
+COM_COMPONENTBUILDER_POWER_LOAD_SELECTION_LABEL="Load Powers"
+COM_COMPONENTBUILDER_POWER_MAIN_CLASS_CODE_DESCRIPTION="Add the properties & methods here."
+COM_COMPONENTBUILDER_POWER_MAIN_CLASS_CODE_LABEL="Properties & Methods"
+COM_COMPONENTBUILDER_POWER_METHOD="Method"
+COM_COMPONENTBUILDER_POWER_METHOD_LABEL="Methods"
+COM_COMPONENTBUILDER_POWER_METHOD_SELECTION_DESCRIPTION="Select methods you want to use in your power."
+COM_COMPONENTBUILDER_POWER_METHOD_SELECTION_LABEL="Method Selection"
+COM_COMPONENTBUILDER_POWER_MODIFIED_BY_DESC="The last user that modified this Power."
+COM_COMPONENTBUILDER_POWER_MODIFIED_BY_LABEL="Modified By"
+COM_COMPONENTBUILDER_POWER_MODIFIED_DATE_DESC="The date this Power was modified."
+COM_COMPONENTBUILDER_POWER_MODIFIED_DATE_LABEL="Modified Date"
+COM_COMPONENTBUILDER_POWER_NAMESPACE_DESCRIPTION="Add the namespace of this class."
+COM_COMPONENTBUILDER_POWER_NAMESPACE_DETAILS_DESCRIPTION="
+
We will use the namespace value to build the folder structure and filename. This namespace will also directly be used as the use declaration wherever you link this power. Therefore the namespace declared here must end with the filename, and this file name must match the case of the terminating class name.
+Example (namespace): ComponentName\Sub\ClassName
+JCB will build the following file path
+Example (filepath): root/libraries/jcb_powers/ComponentName.Sub/src/ClassName.php
+With a four section namespace
+Example (namespace): ComponentName\Sub\Type\ClassName
+JCB will build the following file path
+Example (filepath): root/libraries/jcb_powers/ComponentName.Sub.Type/src/ClassName.php
+To add a folder inside the src folder use [.] in class name
+Example (namespace): ComponentName\Sub\Util.ClassName
+Example (JCB builds this namespace): ComponentName\Sub\Util\ClassName
+JCB will build the following file path
+Example (filepath): root/libraries/jcb_powers/ComponentName.Sub/src/Util/ClassName.php
+
+
The component placeholder also works in namespacing, as well as normal placeholders:
+Example: [[[Component]]]\SubNamespaceNames\ClassName
+
+
We will also use the namespacing for auto loading in your project wherever you link this power.
+
The jcb_powers can be changed globally and per/component (soon). Make your powers load system wide with a plugin (soon).
+
+
For more info on how all this works: https://www.php-fig.org/psr/psr-4/
+
"
+COM_COMPONENTBUILDER_POWER_NAMESPACE_DETAILS_LABEL="Namespacing in JCB"
+COM_COMPONENTBUILDER_POWER_NAMESPACE_HINT="ComponentName\Powers\ClassName"
+COM_COMPONENTBUILDER_POWER_NAMESPACE_LABEL="Namespace"
+COM_COMPONENTBUILDER_POWER_NAMESPACE_MESSAGE="Error! Please add namespace here."
+COM_COMPONENTBUILDER_POWER_NAME_DESCRIPTION="Enter Name Here"
+COM_COMPONENTBUILDER_POWER_NAME_HINT="Name Here"
+COM_COMPONENTBUILDER_POWER_NAME_LABEL="Name"
+COM_COMPONENTBUILDER_POWER_NAME_MESSAGE="Error! Please add name here."
+COM_COMPONENTBUILDER_POWER_NEW="A New Power"
+COM_COMPONENTBUILDER_POWER_NO="No"
+COM_COMPONENTBUILDER_POWER_NOTE_LINKED_TO_NOTICE_DESCRIPTION="
Searching the database.
"
+COM_COMPONENTBUILDER_POWER_NOTE_LINKED_TO_NOTICE_LABEL="Linked To"
+COM_COMPONENTBUILDER_POWER_NOT_REQUIRED="Not Required"
+COM_COMPONENTBUILDER_POWER_ORDERING_LABEL="Ordering"
+COM_COMPONENTBUILDER_POWER_PERMISSION="Permissions"
+COM_COMPONENTBUILDER_POWER_POWER_VERSION_DESCRIPTION="Add Version Number Here"
+COM_COMPONENTBUILDER_POWER_POWER_VERSION_HINT="1.0.0"
+COM_COMPONENTBUILDER_POWER_POWER_VERSION_LABEL="Version"
+COM_COMPONENTBUILDER_POWER_POWER_VERSION_MESSAGE="Error! Please add version here."
+COM_COMPONENTBUILDER_POWER_PROPERTY="Property"
+COM_COMPONENTBUILDER_POWER_PROPERTY_LABEL="Properties"
+COM_COMPONENTBUILDER_POWER_PROPERTY_SELECTION_DESCRIPTION="Select properties you want to use in your power."
+COM_COMPONENTBUILDER_POWER_PROPERTY_SELECTION_LABEL="Property Selection"
+COM_COMPONENTBUILDER_POWER_PUBLISHING="Publishing"
+COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS="Power Run Expansion Button Access"
+COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
+COM_COMPONENTBUILDER_POWER_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Power to customise the alias."
+COM_COMPONENTBUILDER_POWER_STATUS="Status"
+COM_COMPONENTBUILDER_POWER_SYSTEM_NAME_DESCRIPTION="Used only in the system."
+COM_COMPONENTBUILDER_POWER_SYSTEM_NAME_HINT="The System Name Here"
+COM_COMPONENTBUILDER_POWER_SYSTEM_NAME_LABEL="System Name"
+COM_COMPONENTBUILDER_POWER_SYSTEM_NAME_MESSAGE="Error! Please add some text here."
+COM_COMPONENTBUILDER_POWER_TRAIT="trait"
+COM_COMPONENTBUILDER_POWER_TYPE_DESCRIPTION="The type of power being build"
+COM_COMPONENTBUILDER_POWER_TYPE_LABEL="Type of Power"
+COM_COMPONENTBUILDER_POWER_USE="Use"
+COM_COMPONENTBUILDER_POWER_USE_LABEL="use"
+COM_COMPONENTBUILDER_POWER_USE_SELECTION_DESCRIPTION="Select namespace you want to use in your power."
+COM_COMPONENTBUILDER_POWER_USE_SELECTION_LABEL="Use Selection"
+COM_COMPONENTBUILDER_POWER_VERSION_DESC="A count of the number of times this Power has been revised."
+COM_COMPONENTBUILDER_POWER_VERSION_LABEL="Version"
+COM_COMPONENTBUILDER_POWER_YES="Yes"
COM_COMPONENTBUILDER_PROPERTIES="Properties"
COM_COMPONENTBUILDER_PROPERTIESBR_SMALLHERE_YOU_CAN_SET_THE_PROPERTIES_FOR_THIS_FIELDSMALL="Properties Here you can set the properties for this field."
COM_COMPONENTBUILDER_PROPERTY="Property"
@@ -7934,7 +8119,6 @@ COM_COMPONENTBUILDER_PUBLISHED="Published"
COM_COMPONENTBUILDER_PUBLISHING="Publishing"
COM_COMPONENTBUILDER_READY_TO_COMPILE_A_COMPONENT="Ready to compile a component"
COM_COMPONENTBUILDER_REFRESH="Refresh"
-COM_COMPONENTBUILDER_RELEASED_THIS="released this"
COM_COMPONENTBUILDER_REMOVE="Remove"
COM_COMPONENTBUILDER_REMOVING_ALL_ZIP_PACKAGES_FROM_THE_TEMPORARY_FOLDER_OF_THE_JOOMLA_INSTALL="Removing all zip packages from the temporary folder of the Joomla install"
COM_COMPONENTBUILDER_RENAME="Rename"
@@ -7942,9 +8126,7 @@ COM_COMPONENTBUILDER_REPORT_AN_ISSUE_BSB="Report an issue: %s"
COM_COMPONENTBUILDER_REQUIRES_THE_VALUE_ENTERED_BE_ONE_OF_THE_OPTIONS_IN_AN_ELEMENT_OF_TYPEQUOTLISTQUOT_THAT_IS_THAT_THE_ELEMENT_IS_A_SELECT_LIST="Requires the value entered be one of the options in an element of type="list": that is, that the element is a select list."
COM_COMPONENTBUILDER_REQUIRES_THE_VALUE_TO_BE_A_TELEPHONE_NUMBER_COMPLYING_WITH_THE_STANDARDS_OF_NANPA_ITUT_TRECEONE_HUNDRED_AND_SIXTY_FOUR_OR_IETF_RFCFOUR_THOUSAND_NINE_HUNDRED_AND_THIRTY_THREE="Requires the value to be a Telephone number complying with the standards of nanpa, ITU-T T-REC-E.164 or ietf rfc4933."
COM_COMPONENTBUILDER_REQUIRES_THE_VALUE_TO_BE_THE_SAME_AS_THAT_HELD_IN_THE_FIELD_NAMED_QUOTFIELDQUOT_EGS="Requires the value to be the same as that held in the field named "field", eg:%s"
-COM_COMPONENTBUILDER_RESPOND_TO_THIS_ISSUE_ON_GITHUB="Respond to this issue on Github"
COM_COMPONENTBUILDER_REVERT_ALL_AHEAD_SNIPPETS="Revert All Ahead Snippets"
-COM_COMPONENTBUILDER_REVIEW_THIS_ISSUE_ON_GITHUB="Review this issue on Github"
COM_COMPONENTBUILDER_RIGHT_IN_TAB="Right in Tab"
COM_COMPONENTBUILDER_RIGHT_OF_TABS="Right of Tabs"
COM_COMPONENTBUILDER_RUN_EXPANSION="Run Expansion"
@@ -8104,6 +8286,7 @@ COM_COMPONENTBUILDER_SERVER_USERNAME_MESSAGE="Error! Please add the username her
COM_COMPONENTBUILDER_SERVER_VERSION_DESC="A count of the number of times this Server has been revised."
COM_COMPONENTBUILDER_SERVER_VERSION_LABEL="Version"
COM_COMPONENTBUILDER_SET_A_CLASS_VALUE_FOR_THE_LIST_VIEW_OF_THIS_FIELD="Set a class value for the list view of this field."
+COM_COMPONENTBUILDER_SET_CUSTOM="Set Custom"
COM_COMPONENTBUILDER_SHARE_SNIPPETS="Share Snippets"
COM_COMPONENTBUILDER_SHOULD_JCB_ADD_ANY_POWERS_THAT_ARE_CONNECTED_TO_THIS_COMPONENT_THIS_MAY_BE_HELPFUL_IF_YOU_ARE_LOADING_POWERS_VIA_ANOTHER_COMPONENT_AND_WOULD_LIKE_TO_AVOID_ADDING_IT_TO_BOTH_JUST_REMEMBER_THAT_IN_THIS_CASE_YOU_NEED_TO_LOAD_THE_POWERS_VIA_A_PLUGIN="Should JCB add any powers that are connected to this component? This may be helpful if you are loading powers via another component, and would like to avoid adding it to both, just remember that in this case you need to load the powers via a plugin."
COM_COMPONENTBUILDER_SHOULD_JCB_INSERT_THE_CUSTOM_CODE_PLACEHOLDERS_THIS_IS_ONLY_APPLICABLE_IF_THIS_COMPONENT_HAS_CUSTOM_CODE="Should JCB insert the custom code placeholders? This is only applicable if this component has custom code."
@@ -8768,6 +8951,7 @@ COM_COMPONENTBUILDER_SUBMENU_LANGUAGE_TRANSLATIONS="Language Translations"
COM_COMPONENTBUILDER_SUBMENU_LAYOUTS="Layouts"
COM_COMPONENTBUILDER_SUBMENU_LIBRARIES="Libraries"
COM_COMPONENTBUILDER_SUBMENU_PLACEHOLDERS="Placeholders"
+COM_COMPONENTBUILDER_SUBMENU_POWERS="Powers"
COM_COMPONENTBUILDER_SUBMENU_SERVERS="Servers"
COM_COMPONENTBUILDER_SUBMENU_SITE_VIEWS="Site Views"
COM_COMPONENTBUILDER_SUBMENU_SNIPPETS="Snippets"
@@ -8971,13 +9155,13 @@ COM_COMPONENTBUILDER_THE_URL_S_SET_TO_RETRIEVE_THE_PACKAGES_DID_NOT_RETURN_S_DAT
COM_COMPONENTBUILDER_THE_URL_S_SET_TO_RETRIEVE_THE_PACKAGES_DID_NOT_RETURN_VALID_DATA="The url (%s) set to retrieve the packages did not return valid data!"
COM_COMPONENTBUILDER_THE_URL_S_SET_TO_RETRIEVE_THE_PACKAGES_DOES_NOT_EXIST="The url (%s) set to retrieve the packages does not exist!"
COM_COMPONENTBUILDER_THE_URL_S_SET_TO_RETRIEVE_THE_PACKAGES_DOES_NOT_RETURN_ANY_DATA="The url (%s) set to retrieve the packages does not return any data!"
+COM_COMPONENTBUILDER_THE_WIKI_CAN_ONLY_BE_LOADED_WHEN_YOUR_JCB_SYSTEM_HAS_INTERNET_CONNECTION="The wiki can only be loaded when your JCB system has internet connection."
COM_COMPONENTBUILDER_THE_WIKI_IS_LOADING="The wiki is loading"
COM_COMPONENTBUILDER_THIS_BSB_IS_NOT_LINKED_TO_ANY_OTHER_AREAS_OF_JCB_AT_THIS_TIME="This %s is not linked to any other areas of JCB at this time!"
COM_COMPONENTBUILDER_THIS_MAY_TAKE_A_WHILE_DEPENDING_ON_THE_SIZE_OF_YOUR_PROJECT="This may take a while depending on the size of your project."
COM_COMPONENTBUILDER_THIS_PACKAGE_BPASSEDB_THE_CHECKSUM_VALIDATIONBR_BR_SMALLMANUALLY_ALSO_VALIDATE_THAT_THE_CORRECT_CHECKSUM_WAS_USEDSMALLBR_THIS_CHECKSUM_BSB_MUST_BE_THE_SAME_AS_THE_ONE_FOUND_A_S_SA="This package PASSED the checksum validation!
Manually also validate that the correct checksum was used. This checksum: %s must be the same as the one found @ "
COM_COMPONENTBUILDER_THIS_PACKAGE_HAS_NO_KEY="This package has no key."
COM_COMPONENTBUILDER_TITLE="Title"
-COM_COMPONENTBUILDER_TOTAL_DOWNLOADS="total downloads"
COM_COMPONENTBUILDER_TO_ADD_SIMPLY_COPY_AND_PAST_THE_SNIPPET_INTO_YOUR_CODE="To add simply copy and past the snippet into your code."
COM_COMPONENTBUILDER_TO_ADD_VALIDATION_TO_A_FIELD_IF_VALIDATION_IS_NOT_PART_OF_FIELD_TYPE_PROPERTIES_LOADED_ABOVE_SO_IF_YOU_HAVE_VALIDATION_SET_AS_A_FIELD_PROPERTY_THIS_EXTRA_PROPERTY_WILL_NOT_BE_NEEDED="To add validation to a field if validation is not part of field type properties loaded above. So if you have validation set as a field property this extra property will not be needed."
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_BJCB_GLOBAL_OPTIONSB_GO_TO_THE_BCOMPANYB_TAB_AND_ADD_THE_CORRECT_COMPANY_DETAILS_THERE="To change the package owner defaults. Open the JCB Global Options, go to the Company tab and add the correct company details there."
@@ -9039,6 +9223,7 @@ COM_COMPONENTBUILDER_TYPE_LIBRARY_FILES_FOLDERS_URLS="Library Files, Folders & U
COM_COMPONENTBUILDER_TYPE_NAME="Type - Name"
COM_COMPONENTBUILDER_TYPE_OR_SELECT_SOME_OPTIONS="Type or select some options"
COM_COMPONENTBUILDER_TYPE_PLACEHOLDER="Placeholder"
+COM_COMPONENTBUILDER_TYPE_POWER="Power"
COM_COMPONENTBUILDER_TYPE_SERVER="Server"
COM_COMPONENTBUILDER_TYPE_SITE_VIEW="Site View"
COM_COMPONENTBUILDER_TYPE_SNIPPET="Snippet"
@@ -9149,8 +9334,6 @@ COM_COMPONENTBUILDER_VIEW="View"
COM_COMPONENTBUILDER_VIEWS="Views"
COM_COMPONENTBUILDER_VIEW_BLAME="View Blame"
COM_COMPONENTBUILDER_VIEW_DESCRIPTION_OF_COMMUNITY_VERSION="View Description of community version"
-COM_COMPONENTBUILDER_VIEW_MORE_ISSUES_ON_GITHUB="View more issues on Github"
-COM_COMPONENTBUILDER_VIEW_MORE_RELEASES_ON_GITHUB="View more releases on Github"
COM_COMPONENTBUILDER_VIEW_SNIPPET_OF_COMMUNITY_VERSION="View Snippet of community version"
COM_COMPONENTBUILDER_VIEW_SNIPPET_REFERENCE_URL="View Snippet Reference URL"
COM_COMPONENTBUILDER_VIEW_THE_CONTRIBUTOR_DETAILS="View the contributor details"
@@ -9169,6 +9352,7 @@ COM_COMPONENTBUILDER_YOUR_DATA_IS_ENCRYPTED_WITH_A_AES_ONE_HUNDRED_AND_TWENTY_EI
COM_COMPONENTBUILDER_YOUR_DATA_IS_ENCRYPTED_WITH_A_AES_ONE_HUNDRED_AND_TWENTY_EIGHT_BIT_ENCRYPTION_USING_THE_ABOVE_THIRTY_TWO_CHARACTER_KEY_WITHOUT_THIS_KEY_IT_WILL_TAKE_THE_CURRENT_TECHNOLOGY_WITH_A_BRUTE_FORCE_ATTACK_METHOD_MORE_THEN_A_HREFHTTPRANDOMIZECOMHOWLONGTOHACKPASS_TARGET_BLANK_TITLEHOW_LONG_TO_HACK_PASSSEVEN_HUNDRED_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZEROA_YEARS_TO_CRACK_THEORETICALLY_UNLESS_THEY_HAVE_THIS_KEY_ABOVE_SO_DO_KEEP_IT_SAFE="Your data is encrypted with a AES 128 bit encryption using the above 32 character key. Without this key it will take the current technology with a brute force attack method more then 700 000 000 000 000 000 000 000 000 000 000 years to crack theoretically. Unless they have this key above, so do keep it safe."
COM_COMPONENTBUILDER_YOU_ARE_CURRENTLY_VIEWING_THE_TRASHED_ITEMS="You are currently viewing the trashed items."
COM_COMPONENTBUILDER_YOU_ARE_CURRENTLY_VIEWING_THE_TRASH_AREA_AND_YOU_DONT_HAVE_ANY_ITEMS_IN_TRASH_AT_THE_MOMENT="You are currently viewing the trash area, and you don't have any items in trash at the moment!"
+COM_COMPONENTBUILDER_YOU_CAN_DIRECTLY_DOWNLOAD_THE_LATEST_UPDATE_OR_USE_THE_JOOMLA_UPDATE_AREA="You can directly download the latest update, or use the Joomla update area."
COM_COMPONENTBUILDER_YOU_CAN_NOW_SELECT_THE_COMPONENT_BZIPB_PACKAGE_YOU_WOULD_LIKE_TO_IMPORTBR_SMALLPLEASE_NOTE_THAT_SMART_COMPONENT_IMPORT_ONLY_WORKS_WITH_THE_FOLLOWING_FORMAT_BZIPBSMALL="You can now select the component zip package you would like to import. Please note that smart component import only works with the following format: (.zip)"
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_ACCESS_THE_SERVER_DETAILS_BS_DENIEDB_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_INFO="You do not have permission to access the server details (%s - denied), please contact your system administrator for more info."
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_CLONE_A_COMPONENT_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to clone a component, please contact your system administrator for more help."
diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini
index 2586687a3..4e7b3ff77 100644
--- a/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini
+++ b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini
@@ -534,6 +534,8 @@ COM_COMPONENTBUILDER_FIELDS_BATCH_USE="Fields Batch Use"
COM_COMPONENTBUILDER_FIELDS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch fields"
COM_COMPONENTBUILDER_FIELDS_CREATE="Fields Create"
COM_COMPONENTBUILDER_FIELDS_CREATE_DESC="Allows the users in this group to create create fields"
+COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD="Fields Dashboard Add"
+COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD_DESC="Allows the users in this group to dashboard add of field"
COM_COMPONENTBUILDER_FIELDS_DASHBOARD_LIST="Fields Dashboard List"
COM_COMPONENTBUILDER_FIELDS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of field"
COM_COMPONENTBUILDER_FIELDS_DELETE="Fields Delete"
@@ -680,6 +682,8 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE="Joomla Modules Edit State"
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module"
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION="Joomla Modules Edit Version"
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla modules"
+COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT="Joomla Modules Export"
+COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT_DESC="Allows the users in this group to export export joomla modules"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS="Joomla Modules Files Folders Urls Access"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla modules files folders urls"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_USE="Joomla Modules Files Folders Urls Batch Use"
@@ -700,6 +704,8 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE="Joomla Module
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module files folders urls"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION="Joomla Modules Files Folders Urls Edit Version"
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla modules files folders urls"
+COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT="Joomla Modules Import"
+COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT_DESC="Allows the users in this group to import import joomla modules"
COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU="Joomla Modules Submenu"
COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU_DESC="Allows the users in this group to submenu of joomla module"
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS="Joomla Modules Updates Access"
@@ -956,6 +962,7 @@ COM_COMPONENTBUILDER_MENU_LANGUAGE_TRANSLATIONS="Language Translations"
COM_COMPONENTBUILDER_MENU_LAYOUTS="Layouts"
COM_COMPONENTBUILDER_MENU_LIBRARIES="Libraries"
COM_COMPONENTBUILDER_MENU_PLACEHOLDERS="Placeholders"
+COM_COMPONENTBUILDER_MENU_POWERS="Powers"
COM_COMPONENTBUILDER_MENU_SITE_VIEWS="Site Views"
COM_COMPONENTBUILDER_MENU_SNIPPETS="Snippets"
COM_COMPONENTBUILDER_MENU_TEMPLATES="Templates"
@@ -984,6 +991,32 @@ COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT="Placeholders Import"
COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT_DESC="Allows the users in this group to import import placeholders"
COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU="Placeholders Submenu"
COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU_DESC="Allows the users in this group to submenu of placeholder"
+COM_COMPONENTBUILDER_POWERS_ACCESS="Powers Access"
+COM_COMPONENTBUILDER_POWERS_ACCESS_DESC="Allows the users in this group to access access powers"
+COM_COMPONENTBUILDER_POWERS_BATCH_USE="Powers Batch Use"
+COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch powers"
+COM_COMPONENTBUILDER_POWERS_CREATE="Powers Create"
+COM_COMPONENTBUILDER_POWERS_CREATE_DESC="Allows the users in this group to create create powers"
+COM_COMPONENTBUILDER_POWERS_DASHBOARD_LIST="Powers Dashboard List"
+COM_COMPONENTBUILDER_POWERS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of power"
+COM_COMPONENTBUILDER_POWERS_DELETE="Powers Delete"
+COM_COMPONENTBUILDER_POWERS_DELETE_DESC="Allows the users in this group to delete delete powers"
+COM_COMPONENTBUILDER_POWERS_EDIT="Powers Edit"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_BY="Powers Edit Created By"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by powers"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_DATE="Powers Edit Created Date"
+COM_COMPONENTBUILDER_POWERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created powers"
+COM_COMPONENTBUILDER_POWERS_EDIT_DESC="Allows the users in this group to edit the power"
+COM_COMPONENTBUILDER_POWERS_EDIT_OWN="Powers Edit Own"
+COM_COMPONENTBUILDER_POWERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own powers created by them"
+COM_COMPONENTBUILDER_POWERS_EDIT_STATE="Powers Edit State"
+COM_COMPONENTBUILDER_POWERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the power"
+COM_COMPONENTBUILDER_POWERS_EDIT_VERSION="Powers Edit Version"
+COM_COMPONENTBUILDER_POWERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version powers"
+COM_COMPONENTBUILDER_POWERS_SUBMENU="Powers Submenu"
+COM_COMPONENTBUILDER_POWERS_SUBMENU_DESC="Allows the users in this group to submenu of power"
+COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS="Power Run Expansion Button Access"
+COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
COM_COMPONENTBUILDER_SERVERS_ACCESS="Servers Access"
COM_COMPONENTBUILDER_SERVERS_ACCESS_DESC="Allows the users in this group to access access servers"
COM_COMPONENTBUILDER_SERVERS_BATCH_USE="Servers Batch Use"
diff --git a/admin/layouts/power/code_above.php b/admin/layouts/power/code_above.php
new file mode 100644
index 000000000..9075940fd
--- /dev/null
+++ b/admin/layouts/power/code_above.php
@@ -0,0 +1,47 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// get the form
+$form = $displayData->getForm();
+
+// get the layout fields override method name (from layout path/ID)
+$layout_path_array = explode('.', $this->getLayoutId());
+// Since we cannot pass the layout and tab names as parameters to the model method
+// this name combination of tab and layout in the method name is the only work around
+// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
+// example of layout name: details_left.php
+// example of method name: getFields_details_left()
+$fields_tab_layout = 'fields_' . $layout_path_array[1];
+
+// get the fields
+$fields = $displayData->get($fields_tab_layout) ?: array(
+ 'system_name',
+ 'type',
+ 'power_version'
+);
+
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
+?>
+
+
+
diff --git a/admin/layouts/power/code_fullwidth.php b/admin/layouts/power/code_fullwidth.php
new file mode 100644
index 000000000..7d2b9e74c
--- /dev/null
+++ b/admin/layouts/power/code_fullwidth.php
@@ -0,0 +1,51 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// get the form
+$form = $displayData->getForm();
+
+// get the layout fields override method name (from layout path/ID)
+$layout_path_array = explode('.', $this->getLayoutId());
+// Since we cannot pass the layout and tab names as parameters to the model method
+// this name combination of tab and layout in the method name is the only work around
+// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
+// example of layout name: details_left.php
+// example of method name: getFields_details_left()
+$fields_tab_layout = 'fields_' . $layout_path_array[1];
+
+// get the fields
+$fields = $displayData->get($fields_tab_layout) ?: array(
+ 'head',
+ 'use_selection',
+ 'main_class_code',
+ 'load_powers_note',
+ 'load_selection',
+ 'note_linked_to_notice',
+ 'not_required'
+);
+
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
+?>
+
+
+
diff --git a/admin/layouts/power/code_left.php b/admin/layouts/power/code_left.php
new file mode 100644
index 000000000..630bf6414
--- /dev/null
+++ b/admin/layouts/power/code_left.php
@@ -0,0 +1,50 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// get the form
+$form = $displayData->getForm();
+
+// get the layout fields override method name (from layout path/ID)
+$layout_path_array = explode('.', $this->getLayoutId());
+// Since we cannot pass the layout and tab names as parameters to the model method
+// this name combination of tab and layout in the method name is the only work around
+// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
+// example of layout name: details_left.php
+// example of method name: getFields_details_left()
+$fields_tab_layout = 'fields_' . $layout_path_array[1];
+
+// get the fields
+$fields = $displayData->get($fields_tab_layout) ?: array(
+ 'name',
+ 'description',
+ 'extends',
+ 'implements_custom',
+ 'implements',
+ 'namespace',
+ 'extends_custom',
+ 'add_head'
+);
+
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
+?>
+
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
+
diff --git a/admin/layouts/power/code_right.php b/admin/layouts/power/code_right.php
new file mode 100644
index 000000000..d128e4dec
--- /dev/null
+++ b/admin/layouts/power/code_right.php
@@ -0,0 +1,45 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// get the form
+$form = $displayData->getForm();
+
+// get the layout fields override method name (from layout path/ID)
+$layout_path_array = explode('.', $this->getLayoutId());
+// Since we cannot pass the layout and tab names as parameters to the model method
+// this name combination of tab and layout in the method name is the only work around
+// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
+// example of layout name: details_left.php
+// example of method name: getFields_details_left()
+$fields_tab_layout = 'fields_' . $layout_path_array[1];
+
+// get the fields
+$fields = $displayData->get($fields_tab_layout) ?: array(
+ 'property_selection',
+ 'method_selection',
+ 'namespace_details'
+);
+
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
+?>
+
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
+
diff --git a/admin/layouts/power/index.html b/admin/layouts/power/index.html
new file mode 100644
index 000000000..fa6d84e80
--- /dev/null
+++ b/admin/layouts/power/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/admin/layouts/power/publishing.php b/admin/layouts/power/publishing.php
new file mode 100644
index 000000000..0f6c89856
--- /dev/null
+++ b/admin/layouts/power/publishing.php
@@ -0,0 +1,48 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// get the form
+$form = $displayData->getForm();
+
+// get the layout fields override method name (from layout path/ID)
+$layout_path_array = explode('.', $this->getLayoutId());
+// Since we cannot pass the layout and tab names as parameters to the model method
+// this name combination of tab and layout in the method name is the only work around
+// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
+// example of layout name: details_left.php
+// example of method name: getFields_details_left()
+$fields_tab_layout = 'fields_' . $layout_path_array[1];
+
+// get the fields
+$fields = $displayData->get($fields_tab_layout) ?: array(
+ 'guid',
+ 'title',
+ 'created',
+ 'created_by',
+ 'modified',
+ 'modified_by'
+);
+
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
+?>
+
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
+
diff --git a/admin/layouts/power/publlshing.php b/admin/layouts/power/publlshing.php
new file mode 100644
index 000000000..27cf89597
--- /dev/null
+++ b/admin/layouts/power/publlshing.php
@@ -0,0 +1,48 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// get the form
+$form = $displayData->getForm();
+
+// get the layout fields override method name (from layout path/ID)
+$layout_path_array = explode('.', $this->getLayoutId());
+// Since we cannot pass the layout and tab names as parameters to the model method
+// this name combination of tab and layout in the method name is the only work around
+// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
+// example of layout name: details_left.php
+// example of method name: getFields_details_left()
+$fields_tab_layout = 'fields_' . $layout_path_array[1];
+
+// get the fields
+$fields = $displayData->get($fields_tab_layout) ?: array(
+ 'published',
+ 'ordering',
+ 'access',
+ 'version',
+ 'hits',
+ 'id'
+);
+
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
+?>
+
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
+
diff --git a/admin/models/ajax.php b/admin/models/ajax.php
index 39b3d2dca..f87a2578f 100644
--- a/admin/models/ajax.php
+++ b/admin/models/ajax.php
@@ -15,6 +15,8 @@ defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper;
+use Joomla\Registry\Registry;
+use VDM\Gitea\Gitea;
/**
* Componentbuilder Ajax List Model
@@ -278,6 +280,60 @@ class ComponentbuilderModelAjax extends ListModel
protected function hasCurl()
{
return function_exists('curl_version');
+ }
+
+ public function getWiki($name = 'Home')
+ {
+ // get the token if set
+ $token = JComponentHelper::getParams('com_componentbuilder')->get('gitea_token', false);
+
+ // setup a registry
+ $options = new Registry;
+
+ // only add if token is set
+ if ($token)
+ {
+ $options->set('access.token', $token);
+ }
+
+ try
+ {
+ // get gitea object
+ $gitea = new Gitea($options);
+
+ // get the gitea wiki page TODO: we hard coded the page name
+ $page = $gitea->repo->wiki->getHtml('joomla', 'Component-Builder', 'Home');
+ }
+ catch (DomainException $e)
+ {
+ return $this->getTokenFromVDM($e->getMessage());
+ }
+ catch (InvalidArgumentException $e)
+ {
+ return $this->getTokenFromVDM($e->getMessage());
+ }
+ catch (Exception $e)
+ {
+ return $this->getTokenFromVDM($e->getMessage());
+ }
+
+ // get the html
+ if (isset($page))
+ {
+ return ['page' => $page];
+ }
+
+ return $this->getTokenFromVDM();
+ }
+
+ protected function getTokenFromVDM($message = null)
+ {
+ if ($message)
+ {
+ return ['error' => $message];
+ }
+
+ return ['error' => JText::_('COM_COMPONENTBUILDER_THE_WIKI_CAN_ONLY_BE_LOADED_WHEN_YOUR_JCB_SYSTEM_HAS_INTERNET_CONNECTION')];
}
// Used in joomla_module
diff --git a/admin/models/componentbuilder.php b/admin/models/componentbuilder.php
index cb2bbd14e..852cb0ee1 100644
--- a/admin/models/componentbuilder.php
+++ b/admin/models/componentbuilder.php
@@ -15,6 +15,8 @@ defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper;
+use Joomla\Registry\Registry;
+use VDM\Gitea\Gitea;
/**
* Componentbuilder List Model
@@ -29,7 +31,7 @@ class ComponentbuilderModelComponentbuilder extends ListModel
$icons = array();
// view groups array
$viewGroups = array(
- 'main' => array('png.compiler', 'png.joomla_components', 'png.joomla_modules', 'png.joomla_plugins', 'png||importjcbpackages||index.php?option=com_componentbuilder&view=joomla_components&task=joomla_components.smartImport', 'png.admin_view.add', 'png.admin_views', 'png.custom_admin_view.add', 'png.custom_admin_views', 'png.site_view.add', 'png.site_views', 'png.template.add', 'png.templates', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.custom_codes', 'png.placeholders', 'png.libraries', 'png.snippets', 'png.get_snippets', 'png.validation_rules', 'png.fields', 'png.fields.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_field', 'png.fieldtypes', 'png.fieldtypes.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_fieldtype', 'png.language_translations', 'png.servers', 'png.help_documents')
+ 'main' => array('png.compiler', 'png.joomla_components', 'png.joomla_modules', 'png.joomla_plugins', 'png.powers', 'png||importjcbpackages||index.php?option=com_componentbuilder&view=joomla_components&task=joomla_components.smartImport', 'png.admin_view.add', 'png.admin_views', 'png.custom_admin_view.add', 'png.custom_admin_views', 'png.site_view.add', 'png.site_views', 'png.template.add', 'png.templates', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.custom_codes', 'png.placeholders', 'png.libraries', 'png.snippets', 'png.get_snippets', 'png.validation_rules', 'png.field.add', 'png.fields', 'png.fields.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_field', 'png.fieldtypes', 'png.fieldtypes.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_fieldtype', 'png.language_translations', 'png.servers', 'png.help_documents')
);
// view access array
$viewAccess = array(
@@ -52,6 +54,11 @@ class ComponentbuilderModelComponentbuilder extends ListModel
'joomla_plugin.access' => 'joomla_plugin.access',
'joomla_plugins.submenu' => 'joomla_plugin.submenu',
'joomla_plugins.dashboard_list' => 'joomla_plugin.dashboard_list',
+ 'power.create' => 'power.create',
+ 'powers.access' => 'power.access',
+ 'power.access' => 'power.access',
+ 'powers.submenu' => 'power.submenu',
+ 'powers.dashboard_list' => 'power.dashboard_list',
'admin_view.create' => 'admin_view.create',
'admin_views.access' => 'admin_view.access',
'admin_view.access' => 'admin_view.access',
@@ -118,6 +125,7 @@ class ComponentbuilderModelComponentbuilder extends ListModel
'field.access' => 'field.access',
'fields.submenu' => 'field.submenu',
'fields.dashboard_list' => 'field.dashboard_list',
+ 'field.dashboard_add' => 'field.dashboard_add',
'fieldtype.create' => 'fieldtype.create',
'fieldtypes.access' => 'fieldtype.access',
'fieldtype.access' => 'fieldtype.access',
@@ -403,118 +411,95 @@ class ComponentbuilderModelComponentbuilder extends ListModel
}
- public function getGithub()
- {
- // load jquery (not sure why... but else the timeago breaks)
- JHtml::_('jquery.framework');
- // get the document to load the scripts
- $document = JFactory::getDocument();
- $document->addScript(JURI::root() . "media/com_componentbuilder/js/timeago.js");
- $document->addScriptDeclaration('
- var urlToGetAllOpenIssues = "https://api.github.com/repos/vdm-io/Joomla-Component-Builder/issues?state=open&page=1&per_page=5";
- var urlToGetAllClosedIssues = "https://api.github.com/repos/vdm-io/Joomla-Component-Builder/issues?state=closed&page=1&per_page=5";
- var urlToGetAllReleases = "https://api.github.com/repos/vdm-io/Joomla-Component-Builder/releases?page=1&per_page=5";
- jQuery(document).ready(function () {
- jQuery.getJSON(urlToGetAllOpenIssues, function (openissues) {
- jQuery("#openissues").html("");
- jQuery.each(openissues, function (i, issue) {
- // set time ago
- var timeago = jQuery.timeago(new Date(issue.created_at));
- jQuery("#openissues")
- .append("
+
\ No newline at end of file
diff --git a/admin/views/componentbuilder/tmpl/default_issues_the_closed_issues_on_github.php b/admin/views/powers/tmpl/default_foot.php
similarity index 87%
rename from admin/views/componentbuilder/tmpl/default_issues_the_closed_issues_on_github.php
rename to admin/views/powers/tmpl/default_foot.php
index e680967be..e334c948a 100644
--- a/admin/views/componentbuilder/tmpl/default_issues_the_closed_issues_on_github.php
+++ b/admin/views/powers/tmpl/default_foot.php
@@ -14,4 +14,6 @@
defined('_JEXEC') or die('Restricted access');
?>
-github->closedissues; ?>
+
+
pagination->getListFooter(); ?>
+
\ No newline at end of file
diff --git a/admin/views/powers/tmpl/default_head.php b/admin/views/powers/tmpl/default_head.php
new file mode 100644
index 000000000..2497a6c39
--- /dev/null
+++ b/admin/views/powers/tmpl/default_head.php
@@ -0,0 +1,57 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+?>
+
\ No newline at end of file
diff --git a/admin/views/powers/tmpl/default_toolbar.php b/admin/views/powers/tmpl/default_toolbar.php
new file mode 100644
index 000000000..819baf8dd
--- /dev/null
+++ b/admin/views/powers/tmpl/default_toolbar.php
@@ -0,0 +1,46 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+?>
+
+
+
+
+
+
+
+
+
+
+
+ pagination->getLimitBox(); ?>
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/views/powers/tmpl/index.html b/admin/views/powers/tmpl/index.html
new file mode 100644
index 000000000..fa6d84e80
--- /dev/null
+++ b/admin/views/powers/tmpl/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/admin/views/powers/view.html.php b/admin/views/powers/view.html.php
new file mode 100644
index 000000000..1d2fba317
--- /dev/null
+++ b/admin/views/powers/view.html.php
@@ -0,0 +1,290 @@
+
+ * @gitea Joomla Component Builder
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+use Joomla\CMS\MVC\View\HtmlView;
+
+/**
+ * Componentbuilder Html View class for the Powers
+ */
+class ComponentbuilderViewPowers extends HtmlView
+{
+ /**
+ * Powers view display method
+ * @return void
+ */
+ function display($tpl = null)
+ {
+ if ($this->getLayout() !== 'modal')
+ {
+ // Include helper submenu
+ ComponentbuilderHelper::addSubmenu('powers');
+ }
+
+ // Assign data to the view
+ $this->items = $this->get('Items');
+ $this->pagination = $this->get('Pagination');
+ $this->state = $this->get('State');
+ $this->user = JFactory::getUser();
+ // Load the filter form from xml.
+ $this->filterForm = $this->get('FilterForm');
+ // Load the active filters.
+ $this->activeFilters = $this->get('ActiveFilters');
+ // Add the list ordering clause.
+ $this->listOrder = $this->escape($this->state->get('list.ordering', 'a.id'));
+ $this->listDirn = $this->escape($this->state->get('list.direction', 'desc'));
+ $this->saveOrder = $this->listOrder == 'a.ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
+ // get global action permissions
+ $this->canDo = ComponentbuilderHelper::getActions('power');
+ $this->canEdit = $this->canDo->get('power.edit');
+ $this->canState = $this->canDo->get('power.edit.state');
+ $this->canCreate = $this->canDo->get('power.create');
+ $this->canDelete = $this->canDo->get('power.delete');
+ $this->canBatch = $this->canDo->get('core.batch');
+
+ // We don't need toolbar in the modal window.
+ if ($this->getLayout() !== 'modal')
+ {
+ $this->addToolbar();
+ $this->sidebar = JHtmlSidebar::render();
+ // load the batch html
+ if ($this->canCreate && $this->canEdit && $this->canState)
+ {
+ $this->batchDisplay = JHtmlBatch_::render();
+ }
+ }
+
+ // Check for errors.
+ if (count($errors = $this->get('Errors')))
+ {
+ throw new Exception(implode("\n", $errors), 500);
+ }
+
+ // Display the template
+ parent::display($tpl);
+
+ // Set the document
+ $this->setDocument();
+ }
+
+ /**
+ * Setting the toolbar
+ */
+ protected function addToolBar()
+ {
+ JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_POWERS'), 'flash');
+ JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=powers');
+ JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields');
+
+ if ($this->canCreate)
+ {
+ JToolBarHelper::addNew('power.add');
+ }
+
+ // Only load if there are items
+ if (ComponentbuilderHelper::checkArray($this->items))
+ {
+ if ($this->canEdit)
+ {
+ JToolBarHelper::editList('power.edit');
+ }
+
+ if ($this->canState)
+ {
+ JToolBarHelper::publishList('powers.publish');
+ JToolBarHelper::unpublishList('powers.unpublish');
+ JToolBarHelper::archiveList('powers.archive');
+
+ if ($this->canDo->get('core.admin'))
+ {
+ JToolBarHelper::checkin('powers.checkin');
+ }
+ }
+
+ // Add a batch button
+ if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState)
+ {
+ // Get the toolbar object instance
+ $bar = JToolBar::getInstance('toolbar');
+ // set the batch button name
+ $title = JText::_('JTOOLBAR_BATCH');
+ // Instantiate a new JLayoutFile instance and render the batch button
+ $layout = new JLayoutFile('joomla.toolbar.batch');
+ // add the button to the page
+ $dhtml = $layout->render(array('title' => $title));
+ $bar->appendButton('Custom', $dhtml, 'batch');
+ }
+
+ if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete))
+ {
+ JToolbarHelper::deleteList('', 'powers.delete', 'JTOOLBAR_EMPTY_TRASH');
+ }
+ elseif ($this->canState && $this->canDelete)
+ {
+ JToolbarHelper::trash('powers.trash');
+ }
+ }
+ if ($this->user->authorise('power.run_expansion', 'com_componentbuilder'))
+ {
+ // add Run Expansion button.
+ JToolBarHelper::custom('powers.runExpansion', 'expand-2 custom-button-runexpansion', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
+ }
+
+ // set help url for this view if found
+ $this->help_url = ComponentbuilderHelper::getHelpUrl('powers');
+ if (ComponentbuilderHelper::checkString($this->help_url))
+ {
+ JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
+ }
+
+ // add the options comp button
+ if ($this->canDo->get('core.admin') || $this->canDo->get('core.options'))
+ {
+ JToolBarHelper::preferences('com_componentbuilder');
+ }
+
+ // Only load published batch if state and batch is allowed
+ if ($this->canState && $this->canBatch)
+ {
+ JHtmlBatch_::addListSelection(
+ JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'),
+ 'batch[published]',
+ JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true)
+ );
+ }
+
+ // Only load access batch if create, edit and batch is allowed
+ if ($this->canBatch && $this->canCreate && $this->canEdit)
+ {
+ JHtmlBatch_::addListSelection(
+ JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'),
+ 'batch[access]',
+ JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text')
+ );
+ }
+
+ // Only load Type batch if create, edit, and batch is allowed
+ if ($this->canBatch && $this->canCreate && $this->canEdit)
+ {
+ // Set Type Selection
+ $this->typeOptions = JFormHelper::loadFieldType('powersfiltertype')->options;
+ // We do some sanitation for Type filter
+ if (ComponentbuilderHelper::checkArray($this->typeOptions) &&
+ isset($this->typeOptions[0]->value) &&
+ !ComponentbuilderHelper::checkString($this->typeOptions[0]->value))
+ {
+ unset($this->typeOptions[0]);
+ }
+ // Type Batch Selection
+ JHtmlBatch_::addListSelection(
+ '- Keep Original '.JText::_('COM_COMPONENTBUILDER_POWER_TYPE_LABEL').' -',
+ 'batch[type]',
+ JHtml::_('select.options', $this->typeOptions, 'value', 'text')
+ );
+ }
+
+ // Only load Power Version batch if create, edit, and batch is allowed
+ if ($this->canBatch && $this->canCreate && $this->canEdit)
+ {
+ // Set Power Version Selection
+ $this->power_versionOptions = JFormHelper::loadFieldType('powersfilterpowerversion')->options;
+ // We do some sanitation for Power Version filter
+ if (ComponentbuilderHelper::checkArray($this->power_versionOptions) &&
+ isset($this->power_versionOptions[0]->value) &&
+ !ComponentbuilderHelper::checkString($this->power_versionOptions[0]->value))
+ {
+ unset($this->power_versionOptions[0]);
+ }
+ // Power Version Batch Selection
+ JHtmlBatch_::addListSelection(
+ '- Keep Original '.JText::_('COM_COMPONENTBUILDER_POWER_POWER_VERSION_LABEL').' -',
+ 'batch[power_version]',
+ JHtml::_('select.options', $this->power_versionOptions, 'value', 'text')
+ );
+ }
+
+ // Only load Extends Name batch if create, edit, and batch is allowed
+ if ($this->canBatch && $this->canCreate && $this->canEdit)
+ {
+ // Set Extends Name Selection
+ $this->extendsNameOptions = JFormHelper::loadFieldType('Classpowers')->options;
+ // We do some sanitation for Extends Name filter
+ if (ComponentbuilderHelper::checkArray($this->extendsNameOptions) &&
+ isset($this->extendsNameOptions[0]->value) &&
+ !ComponentbuilderHelper::checkString($this->extendsNameOptions[0]->value))
+ {
+ unset($this->extendsNameOptions[0]);
+ }
+ // Extends Name Batch Selection
+ JHtmlBatch_::addListSelection(
+ '- Keep Original '.JText::_('COM_COMPONENTBUILDER_POWER_EXTENDS_LABEL').' -',
+ 'batch[extends]',
+ JHtml::_('select.options', $this->extendsNameOptions, 'value', 'text')
+ );
+ }
+ }
+
+ /**
+ * Method to set up the document properties
+ *
+ * @return void
+ */
+ protected function setDocument()
+ {
+ if (!isset($this->document))
+ {
+ $this->document = JFactory::getDocument();
+ }
+ $this->document->setTitle(JText::_('COM_COMPONENTBUILDER_POWERS'));
+ $this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/powers.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
+ }
+
+ /**
+ * Escapes a value for output in a view script.
+ *
+ * @param mixed $var The output to escape.
+ *
+ * @return mixed The escaped value.
+ */
+ public function escape($var)
+ {
+ if(strlen($var) > 50)
+ {
+ // use the helper htmlEscape method instead and shorten the string
+ return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true);
+ }
+ // use the helper htmlEscape method instead.
+ return ComponentbuilderHelper::htmlEscape($var, $this->_charset);
+ }
+
+ /**
+ * Returns an array of fields the table can be sorted by
+ *
+ * @return array Array containing the field name to sort by as the key and display text as value
+ */
+ protected function getSortFields()
+ {
+ return array(
+ 'a.ordering' => JText::_('JGRID_HEADING_ORDERING'),
+ 'a.published' => JText::_('JSTATUS'),
+ 'a.system_name' => JText::_('COM_COMPONENTBUILDER_POWER_SYSTEM_NAME_LABEL'),
+ 'a.namespace' => JText::_('COM_COMPONENTBUILDER_POWER_NAMESPACE_LABEL'),
+ 'a.type' => JText::_('COM_COMPONENTBUILDER_POWER_TYPE_LABEL'),
+ 'a.power_version' => JText::_('COM_COMPONENTBUILDER_POWER_POWER_VERSION_LABEL'),
+ 'a.id' => JText::_('JGRID_HEADING_ID')
+ );
+ }
+}
diff --git a/admin/views/server/tmpl/edit.php b/admin/views/server/tmpl/edit.php
index 773e14787..cc11b7de2 100644
--- a/admin/views/server/tmpl/edit.php
+++ b/admin/views/server/tmpl/edit.php
@@ -125,21 +125,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst