Added #39 a new feature the imports custom code during compilation. We also improved the compiler.

This commit is contained in:
2017-02-01 15:17:04 +02:00
parent ea2b2ea4c4
commit 1a79b92b07
458 changed files with 7127 additions and 6251 deletions

View File

@ -1837,6 +1837,106 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES="Yes"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YOUTUBE="Youtube"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ZOOM_IN="Zoom In"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ZOOM_OUT="Zoom Out"
COM_COMPONENTBUILDER_CUSTOM_CODE="Custom Code"
COM_COMPONENTBUILDER_CUSTOM_CODES="Custom Codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_ACCESS="Custom Codes Access"
COM_COMPONENTBUILDER_CUSTOM_CODES_ACCESS_DESC="Allows the users in this group to access access custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_OPTIONS="Batch process the selected Custom Codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_TIP="All changes will be applied to all selected Custom Codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_USE="Custom Codes Batch Use"
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_CREATE="Custom Codes Create"
COM_COMPONENTBUILDER_CUSTOM_CODES_CREATE_DESC="Allows the users in this group to create create custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_DASHBOARD_LIST="Custom Codes Dashboard List"
COM_COMPONENTBUILDER_CUSTOM_CODES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the custom code"
COM_COMPONENTBUILDER_CUSTOM_CODES_DELETE="Custom Codes Delete"
COM_COMPONENTBUILDER_CUSTOM_CODES_DELETE_DESC="Allows the users in this group to delete delete custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT="Custom Codes Edit"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_CREATED_BY="Custom Codes Edit Created By"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_CREATED_DATE="Custom Codes Edit Created Date"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_DESC="Allows the users in this group to edit the custom code"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_OWN="Custom Codes Edit Own"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_OWN_DESC="Allows the users in this group to edit edit own custom codes created by them"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE="Custom Codes Edit State"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE_DESC="Allows the users in this group to update the state of the custom code"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION="Custom Codes Edit Version"
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_EXPORT="Custom Codes Export"
COM_COMPONENTBUILDER_CUSTOM_CODES_EXPORT_DESC="Allows the users in this group to export export custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_IMPORT="Custom Codes Import"
COM_COMPONENTBUILDER_CUSTOM_CODES_IMPORT_DESC="Allows the users in this group to import import custom codes"
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_ARCHIVED="%s Custom Codes archived."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_ARCHIVED_1="%s Custom Code archived."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_CHECKED_IN_0="No Custom Code successfully checked in."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_CHECKED_IN_1="%d Custom Code successfully checked in."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_CHECKED_IN_MORE="%d Custom Codes successfully checked in."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_DELETED="%s Custom Codes deleted."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_DELETED_1="%s Custom Code deleted."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_FEATURED="%s Custom Codes featured."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_FEATURED_1="%s Custom Code featured."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_PUBLISHED="%s Custom Codes published."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_PUBLISHED_1="%s Custom Code published."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_TRASHED="%s Custom Codes trashed."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_TRASHED_1="%s Custom Code trashed."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_UNFEATURED="%s Custom Codes unfeatured."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_UNFEATURED_1="%s Custom Code unfeatured."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_UNPUBLISHED="%s Custom Codes unpublished."
COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_UNPUBLISHED_1="%s Custom Code unpublished."
COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU="Custom Codes Submenu"
COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU_DESC="Allows the users in this group to update the submenu of the custom code"
COM_COMPONENTBUILDER_CUSTOM_CODE_CODE="Code"
COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_HINT="// Custom PHP that will be added to the file."
COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_LABEL="Custom code"
COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT="Component"
COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT_LABEL="Component"
COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_BY_DESC="The user that created this Custom Code."
COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_BY_LABEL="Created By"
COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_DATE_DESC="The date this Custom Code was created."
COM_COMPONENTBUILDER_CUSTOM_CODE_CREATED_DATE_LABEL="Created Date"
COM_COMPONENTBUILDER_CUSTOM_CODE_DETAILS="Details"
COM_COMPONENTBUILDER_CUSTOM_CODE_EDIT="Editing the Custom Code"
COM_COMPONENTBUILDER_CUSTOM_CODE_ERROR_UNIQUE_ALIAS="Another Custom Code has the same alias."
COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE="From Line"
COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_DESCRIPTION="The line from where to start adding the code."
COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_HINT="Only Numbers"
COM_COMPONENTBUILDER_CUSTOM_CODE_FROM_LINE_LABEL="From Line (Zero based)"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET="Hashendtarget"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_DESCRIPTION="The end hash target to help insert the code until the correct place, if the line position change. This hash is the md5 of a few lines below the custom code"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_HINT="autogenerated md5 hash"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHENDTARGET_LABEL="End Hash Target"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET="Hashtarget"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_DESCRIPTION="The start hash target to help insert the code at the correct place, if the line position change. This hash is the md5 of a few lines above the custom code"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_HINT="autogenerated md5 hash"
COM_COMPONENTBUILDER_CUSTOM_CODE_HASHTARGET_LABEL="Start Hash Target"
COM_COMPONENTBUILDER_CUSTOM_CODE_ID="Id"
COM_COMPONENTBUILDER_CUSTOM_CODE_INSERTION="Insertion"
COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_BY_DESC="The last user that modified this Custom Code."
COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_BY_LABEL="Modified By"
COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_DATE_DESC="The date this Custom Code was modified."
COM_COMPONENTBUILDER_CUSTOM_CODE_MODIFIED_DATE_LABEL="Modified Date"
COM_COMPONENTBUILDER_CUSTOM_CODE_NEW="A New Custom Code"
COM_COMPONENTBUILDER_CUSTOM_CODE_ORDERING_LABEL="Ordering"
COM_COMPONENTBUILDER_CUSTOM_CODE_PATH="Path"
COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_DESCRIPTION="File path of where this code should be added."
COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_HINT="File Path Here"
COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_LABEL="File Path"
COM_COMPONENTBUILDER_CUSTOM_CODE_PERMISSION="Permissions"
COM_COMPONENTBUILDER_CUSTOM_CODE_PUBLISHING="Publishing"
COM_COMPONENTBUILDER_CUSTOM_CODE_REPLACEMENT="Replacement"
COM_COMPONENTBUILDER_CUSTOM_CODE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Custom Code to customise the alias."
COM_COMPONENTBUILDER_CUSTOM_CODE_STATUS="Status"
COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE="To Line"
COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_DESCRIPTION="The line to where the code must be replaced."
COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_HINT="Only Numbers"
COM_COMPONENTBUILDER_CUSTOM_CODE_TO_LINE_LABEL="To Line (Zero based)"
COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE="Type"
COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_DESCRIPTION="How To Add the Code to the file"
COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_LABEL="Add Type"
COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_DESC="A count of the number of times this Custom Code has been revised."
COM_COMPONENTBUILDER_CUSTOM_CODE_VERSION_LABEL="Revision"
COM_COMPONENTBUILDER_DASH="Dashboard"
COM_COMPONENTBUILDER_DASHBOARD="Component Builder Dashboard"
COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEWS="Admin Views<br /><br />"
@ -1846,6 +1946,7 @@ COM_COMPONENTBUILDER_DASHBOARD_COMPONENTS="Components<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_COMPONENT_ADD="Add&nbsp;Component<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEWS="Custom Admin Views<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEW_ADD="Add&nbsp;Custom Admin View<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_CODES="Custom Codes<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_DYNAMIC_GETS="Dynamic Gets<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_DYNAMIC_GET_ADD="Add&nbsp;Dynamic Get<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_FIELDS="Fields<br /><br />"
@ -2605,6 +2706,7 @@ COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_DIRECTORY="Set the path to file"
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_ADMIN_VIEWS="Select the file to import data to admin_views."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_COMPONENTS="Select the file to import data to components."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_CUSTOM_ADMIN_VIEWS="Select the file to import data to custom_admin_views."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_CUSTOM_CODES="Select the file to import data to custom_codes."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_DYNAMIC_GETS="Select the file to import data to dynamic_gets."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDS="Select the file to import data to fields."
COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDTYPES="Select the file to import data to fieldtypes."
@ -3272,6 +3374,7 @@ COM_COMPONENTBUILDER_SUBMENU_ADMIN_VIEWS="Admin Views"
COM_COMPONENTBUILDER_SUBMENU_COMPILER="Compiler"
COM_COMPONENTBUILDER_SUBMENU_COMPONENTS="Components"
COM_COMPONENTBUILDER_SUBMENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
COM_COMPONENTBUILDER_SUBMENU_CUSTOM_CODES="Custom Codes"
COM_COMPONENTBUILDER_SUBMENU_DASHBOARD="Dashboard"
COM_COMPONENTBUILDER_SUBMENU_DYNAMIC_GETS="Dynamic Gets"
COM_COMPONENTBUILDER_SUBMENU_FIELDS="Fields"

View File

@ -5,6 +5,7 @@ COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS="Admin Views"
COM_COMPONENTBUILDER_MENU_COMPILER="Compiler"
COM_COMPONENTBUILDER_MENU_COMPONENTS="Components"
COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
COM_COMPONENTBUILDER_MENU_CUSTOM_CODES="Custom Codes"
COM_COMPONENTBUILDER_MENU_DYNAMIC_GETS="Dynamic Gets"
COM_COMPONENTBUILDER_MENU_FIELDS="Fields"
COM_COMPONENTBUILDER_MENU_FIELDTYPES="Fieldtypes"