%s
"
COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_S="The package key is: %s"
COM_COMPONENTBUILDER_THE_README_IS_LOADING="The readme is loading"
+COM_COMPONENTBUILDER_THE_SNIPPETS_IS_LOADING="The snippets is loading"
COM_COMPONENTBUILDER_THE_WIKI_IS_LOADING="The wiki is loading"
COM_COMPONENTBUILDER_THIS_PACKAGE_HAS_NO_KEY="This package has no key."
COM_COMPONENTBUILDER_TITLE="Title"
@@ -5529,6 +5575,8 @@ COM_COMPONENTBUILDER_TOTAL_DOWNLOADS="total downloads"
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."
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_JCB_GLOBAL_OPTIONS_GO_TO_THE_COMPANY_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."
COM_COMPONENTBUILDER_TRASHED="Trashed"
+COM_COMPONENTBUILDER_TYPE_ASC="Type (Asc)"
+COM_COMPONENTBUILDER_TYPE_DESC="Type (Desc)"
COM_COMPONENTBUILDER_TYPE_ERROR="Type Error"
COM_COMPONENTBUILDER_UNACTIVE_ONLY_FOUR_TEXT_FIELD="Unactive (only 4 text_field)"
COM_COMPONENTBUILDER_UNDERNEATH_TABS="Underneath Tabs"
@@ -5551,6 +5599,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_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.'+result.description+'
'; } - var code = ''; + var library = ''; + if (result.library.length > 0) { + library = ' ('+result.library+')'; + } + var code = ''; jQuery('#snippet-code').remove(); jQuery('.snippet-code').append(code); // make sure the code block is active diff --git a/admin/models/forms/joomla_component.xml b/admin/models/forms/joomla_component.xml index 7e4facbc5..7b16b3087 100644 --- a/admin/models/forms/joomla_component.xml +++ b/admin/models/forms/joomla_component.xml @@ -739,13 +739,13 @@ default="0"> + COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DO_NOT_ADD + COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_BOTH_VTWO_AMP_VTHREE + COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UIKIT_VTWO + COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UIKIT_VTHREE'+result.description+'
'; } - var code = ''; + var library = ''; + if (result.library.length > 0) { + library = ' ('+result.library+')'; + } + var code = ''; jQuery('#snippet-code').remove(); jQuery('.snippet-code').append(code); // make sure the code block is active diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js index d4a11baed..7bb7893ca 100644 --- a/admin/models/forms/site_view.js +++ b/admin/models/forms/site_view.js @@ -463,11 +463,14 @@ function getSnippetDetails(id){ getSnippetDetails_server(id).done(function(result) { if(result.snippet){ var description = ''; - if (result.description.length > 0) - { + if (result.description.length > 0) { description = ''+result.description+'
'; } - var code = ''; + var library = ''; + if (result.library.length > 0) { + library = ' ('+result.library+')'; + } + var code = ''; jQuery('#snippet-code').remove(); jQuery('.snippet-code').append(code); // make sure the code block is active diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js index ef677b547..be8159832 100644 --- a/admin/models/forms/template.js +++ b/admin/models/forms/template.js @@ -118,11 +118,14 @@ function getSnippetDetails(id){ getSnippetDetails_server(id).done(function(result) { if(result.snippet){ var description = ''; - if (result.description.length > 0) - { + if (result.description.length > 0) { description = ''+result.description+'
'; } - var code = ''; + var library = ''; + if (result.library.length > 0) { + library = ' ('+result.library+')'; + } + var code = ''; jQuery('#snippet-code').remove(); jQuery('.snippet-code').append(code); // make sure the code block is active diff --git a/admin/models/get_snippets.php b/admin/models/get_snippets.php new file mode 100644 index 000000000..94c43d24e --- /dev/null +++ b/admin/models/get_snippets.php @@ -0,0 +1,150 @@ + + @github Joomla Component Builder".JText::_('COM_COMPONENTBUILDER_PLEASE_TRY_AGAIN_LATER').".