Improved the custom import option to include the display method override.

This commit is contained in:
2016-05-20 06:00:31 +01:00
parent 3b774a8385
commit d2aa1fce0b
370 changed files with 1695 additions and 1625 deletions

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.js
@@ -48,6 +48,7 @@ jform_vvvvvxfvxa_required = false;
jform_vvvvvxfvxb_required = false;
jform_vvvvvxfvxc_required = false;
jform_vvvvvxfvxd_required = false;
jform_vvvvvxfvxe_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -777,34 +778,44 @@ function vvvvvxf(add_custom_import_vvvvvxf)
}
jQuery('.note_advanced_import').closest('.control-group').show();
jQuery('#jform_php_import').closest('.control-group').show();
jQuery('#jform_php_import_display').closest('.control-group').show();
if (jform_vvvvvxfvxb_required)
{
updateFieldRequired('php_import_display',0);
jQuery('#jform_php_import_display').prop('required','required');
jQuery('#jform_php_import_display').attr('aria-required',true);
jQuery('#jform_php_import_display').addClass('required');
jform_vvvvvxfvxb_required = false;
}
jQuery('#jform_php_import').closest('.control-group').show();
if (jform_vvvvvxfvxc_required)
{
updateFieldRequired('php_import',0);
jQuery('#jform_php_import').prop('required','required');
jQuery('#jform_php_import').attr('aria-required',true);
jQuery('#jform_php_import').addClass('required');
jform_vvvvvxfvxb_required = false;
jform_vvvvvxfvxc_required = false;
}
jQuery('#jform_php_import_save').closest('.control-group').show();
if (jform_vvvvvxfvxc_required)
if (jform_vvvvvxfvxd_required)
{
updateFieldRequired('php_import_save',0);
jQuery('#jform_php_import_save').prop('required','required');
jQuery('#jform_php_import_save').attr('aria-required',true);
jQuery('#jform_php_import_save').addClass('required');
jform_vvvvvxfvxc_required = false;
jform_vvvvvxfvxd_required = false;
}
jQuery('#jform_php_import_setdata').closest('.control-group').show();
if (jform_vvvvvxfvxd_required)
if (jform_vvvvvxfvxe_required)
{
updateFieldRequired('php_import_setdata',0);
jQuery('#jform_php_import_setdata').prop('required','required');
jQuery('#jform_php_import_setdata').attr('aria-required',true);
jQuery('#jform_php_import_setdata').addClass('required');
jform_vvvvvxfvxd_required = false;
jform_vvvvvxfvxe_required = false;
}
}
@@ -820,32 +831,41 @@ function vvvvvxf(add_custom_import_vvvvvxf)
jform_vvvvvxfvxa_required = true;
}
jQuery('.note_advanced_import').closest('.control-group').hide();
jQuery('#jform_php_import').closest('.control-group').hide();
jQuery('#jform_php_import_display').closest('.control-group').hide();
if (!jform_vvvvvxfvxb_required)
{
updateFieldRequired('php_import_display',1);
jQuery('#jform_php_import_display').removeAttr('required');
jQuery('#jform_php_import_display').removeAttr('aria-required');
jQuery('#jform_php_import_display').removeClass('required');
jform_vvvvvxfvxb_required = true;
}
jQuery('#jform_php_import').closest('.control-group').hide();
if (!jform_vvvvvxfvxc_required)
{
updateFieldRequired('php_import',1);
jQuery('#jform_php_import').removeAttr('required');
jQuery('#jform_php_import').removeAttr('aria-required');
jQuery('#jform_php_import').removeClass('required');
jform_vvvvvxfvxb_required = true;
jform_vvvvvxfvxc_required = true;
}
jQuery('#jform_php_import_save').closest('.control-group').hide();
if (!jform_vvvvvxfvxc_required)
if (!jform_vvvvvxfvxd_required)
{
updateFieldRequired('php_import_save',1);
jQuery('#jform_php_import_save').removeAttr('required');
jQuery('#jform_php_import_save').removeAttr('aria-required');
jQuery('#jform_php_import_save').removeClass('required');
jform_vvvvvxfvxc_required = true;
jform_vvvvvxfvxd_required = true;
}
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
if (!jform_vvvvvxfvxd_required)
if (!jform_vvvvvxfvxe_required)
{
updateFieldRequired('php_import_setdata',1);
jQuery('#jform_php_import_setdata').removeAttr('required');
jQuery('#jform_php_import_setdata').removeAttr('aria-required');
jQuery('#jform_php_import_setdata').removeClass('required');
jform_vvvvvxfvxd_required = true;
jform_vvvvvxfvxe_required = true;
}
}
}
@@ -975,11 +995,20 @@ function getImportScripts_server(typpe){
function getImportScripts(id){
if (1 == id) {
// get the current values
var current_import_display = jQuery('textarea#jform_php_import_display').val();
var current_import = jQuery('textarea#jform_php_import').val();
var current_setdata = jQuery('textarea#jform_php_import_setdata').val();
var current_save = jQuery('textarea#jform_php_import_save').val();
var current_view = jQuery('textarea#jform_html_import_view').val();
// set the setData method script
// set the display method script
if(current_import_display.length == 0){
getImportScripts_server('display').done(function(result) {
if(result){
jQuery('textarea#jform_php_import_display').val(result);
}
});
}
// set the import method script
if(current_import.length == 0){
getImportScripts_server('import').done(function(result) {
if(result){

View File

@@ -143,48 +143,45 @@
message="Error! Please add some short description here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
/>
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
<!-- Php_allowedit Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_getitems Field. Type: Radio. (joomla) -->
type="textarea"
name="php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT"
required="true"
/>
<!-- Php_getitems Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
type="textarea"
name="php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT"
required="true"
/>
<!-- Php_after_delete Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT"
required="true"
/>
<!-- Type Field. Type: List. (joomla) -->
<field
type="list"
@@ -200,22 +197,21 @@
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY</option>
</field>
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
<!-- Add_php_save Field. Type: Radio. (joomla) -->
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Php_save Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT"
required="true"
/>
<!-- Description Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@@ -228,20 +224,19 @@
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_HINT"
/>
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
<!-- Php_batchmove Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT"
required="true"
/>
<!-- Icon Field. Type: Media. (joomla) -->
<field
type="media"
@@ -250,19 +245,18 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
<!-- Add_sql Field. Type: Radio. (joomla) -->
<!-- Source Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
name="source"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE</option>
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option>
</field>
<!-- Icon_add Field. Type: Media. (joomla) -->
<field
@@ -295,20 +289,19 @@
/>
<!-- Note_on_permissions Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_permissions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_permissions" close="true" />
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
<!-- Php_getlistquery Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT"
required="true"
/>
<!-- Addpermissions Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@@ -381,36 +374,34 @@
</fieldset>
</fields>
</field>
<!-- Add_php_postsavehook Field. Type: Radio. (joomla) -->
<!-- Php_postsavehook Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_HINT"
required="true"
/>
<!-- Note_on_tabs Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_tabs" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION" heading="h4" class="alert alert-info note_on_tabs" close="true" />
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
<!-- Php_batchcopy Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_HINT"
required="true"
/>
<!-- Addtabs Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@@ -442,36 +433,34 @@
</fieldset>
</fields>
</field>
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
<!-- Php_before_delete Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT"
required="true"
/>
<!-- Note_on_views Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_views" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_views" close="true" />
<!-- Add_php_document Field. Type: Radio. (joomla) -->
<!-- Php_document Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
rows="17"
cols="5"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_HINT"
required="true"
/>
<!-- Addfields Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@@ -664,60 +653,60 @@
</fieldset>
</fields>
</field>
<!-- Addtables Field. Type: Repeatable. (joomla) -->
<!-- Sql Field. Type: Textarea. (joomla) -->
<field
type="repeatable"
name="addtables"
label="Tables"
id="addtables"
class="addtable"
select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_SELECT"
icon="list"
maximum="50">
<fields name="addtables_fields" label="">
<fieldset hidden="true" name="addtables_modal" repeat="true">
<!-- Table Field. Type: Dbtables. (custom) -->
<field
type="dbtables"
name="table"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL"
class="list_class"
multiple="false"
default="0"
button="false"
/>
<!-- Sourcemap Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="sourcemap"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL"
rows="22"
cols="30"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION"
class="text_area span4"
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT"
/>
</fieldset>
</fields>
</field>
type="textarea"
name="sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT"
required="true"
/>
<!-- Note_on_conditions Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_conditions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_conditions" close="true" />
<!-- Add_custom_import Field. Type: Radio. (joomla) -->
<!-- Php_import_display Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_custom_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="php_import_display"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_HINT"
required="true"
/>
<!-- Php_getitem Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getitem"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_HINT"
required="true"
/>
<!-- Php_import Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
required="true"
/>
<!-- Addconditions Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@@ -862,19 +851,6 @@
</fieldset>
</fields>
</field>
<!-- Php_import Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
required="true"
/>
<!-- Addlinked_views Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
@@ -955,19 +931,20 @@
</fieldset>
</fields>
</field>
<!-- Php_getitem Field. Type: Textarea. (joomla) -->
<!-- Add_php_getitems Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_getitem"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_HINT"
required="true"
/>
type="radio"
name="add_php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_css_view Field. Type: Radio. (joomla) -->
<field
type="radio"
@@ -982,19 +959,20 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_getitems Field. Type: Textarea. (joomla) -->
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT"
required="true"
/>
type="radio"
name="add_php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Css_view Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@@ -1008,19 +986,20 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_HINT"
required="true"
/>
<!-- Php_getlistquery Field. Type: Textarea. (joomla) -->
<!-- Add_php_save Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT"
required="true"
/>
type="radio"
name="add_php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_css_views Field. Type: Radio. (joomla) -->
<field
type="radio"
@@ -1035,19 +1014,20 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_save Field. Type: Textarea. (joomla) -->
<!-- Add_php_postsavehook Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT"
required="true"
/>
type="radio"
name="add_php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Css_views Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@@ -1061,19 +1041,20 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_HINT"
required="true"
/>
<!-- Php_postsavehook Field. Type: Textarea. (joomla) -->
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_postsavehook"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_HINT"
required="true"
/>
type="radio"
name="add_php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_javascript_view_file Field. Type: Radio. (joomla) -->
<field
type="radio"
@@ -1088,19 +1069,20 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_allowedit Field. Type: Textarea. (joomla) -->
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT"
required="true"
/>
type="radio"
name="add_php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Javascript_view_file Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@@ -1114,19 +1096,20 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_HINT"
required="true"
/>
<!-- Php_batchcopy Field. Type: Textarea. (joomla) -->
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_HINT"
required="true"
/>
type="radio"
name="add_php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla) -->
<field
type="radio"
@@ -1141,19 +1124,20 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_batchmove Field. Type: Textarea. (joomla) -->
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT"
required="true"
/>
type="radio"
name="add_php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Javascript_view_footer Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@@ -1167,19 +1151,20 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_HINT"
required="true"
/>
<!-- Php_before_delete Field. Type: Textarea. (joomla) -->
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT"
required="true"
/>
type="radio"
name="add_php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_javascript_views_file Field. Type: Radio. (joomla) -->
<field
type="radio"
@@ -1194,19 +1179,20 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_after_delete Field. Type: Textarea. (joomla) -->
<!-- Add_php_document Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT"
required="true"
/>
type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Javascript_views_file Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@@ -1220,19 +1206,20 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_HINT"
required="true"
/>
<!-- Php_document Field. Type: Textarea. (joomla) -->
<!-- Add_sql Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
rows="17"
cols="5"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_HINT"
required="true"
/>
type="radio"
name="add_sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_javascript_views_footer Field. Type: Radio. (joomla) -->
<field
type="radio"
@@ -1247,18 +1234,42 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Source Field. Type: Radio. (joomla) -->
<!-- Addtables Field. Type: Repeatable. (joomla) -->
<field
type="radio"
name="source"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL"
class="btn-group btn-group-yesno"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE</option>
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option>
type="repeatable"
name="addtables"
label="Tables"
id="addtables"
class="addtable"
select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_SELECT"
icon="list"
maximum="50">
<fields name="addtables_fields" label="">
<fieldset hidden="true" name="addtables_modal" repeat="true">
<!-- Table Field. Type: Dbtables. (custom) -->
<field
type="dbtables"
name="table"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL"
class="list_class"
multiple="false"
default="0"
button="false"
/>
<!-- Sourcemap Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="sourcemap"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL"
rows="22"
cols="30"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION"
class="text_area span4"
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT"
/>
</fieldset>
</fields>
</field>
<!-- Javascript_views_footer Field. Type: Textarea. (joomla) -->
<field
@@ -1273,19 +1284,8 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT"
required="true"
/>
<!-- Sql Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT"
required="true"
/>
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
<!-- Add_php_ajax Field. Type: Radio. (joomla) -->
<field
type="radio"
@@ -1300,8 +1300,21 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Add_custom_import Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_custom_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_ajaxmethod Field. Type: Textarea. (joomla) -->
<field
type="textarea"

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.js

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.js
@@ -24,15 +24,15 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxhvxf_required = false;
jform_vvvvvxivxg_required = false;
jform_vvvvvxjvxh_required = false;
jform_vvvvvxkvxi_required = false;
jform_vvvvvxlvxj_required = false;
jform_vvvvvxmvxk_required = false;
jform_vvvvvxnvxl_required = false;
jform_vvvvvxhvxg_required = false;
jform_vvvvvxivxh_required = false;
jform_vvvvvxjvxi_required = false;
jform_vvvvvxkvxj_required = false;
jform_vvvvvxlvxk_required = false;
jform_vvvvvxmvxl_required = false;
jform_vvvvvxnvxm_required = false;
jform_vvvvvxovxn_required = false;
jform_vvvvvxnvxn_required = false;
jform_vvvvvxovxo_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -69,26 +69,26 @@ function vvvvvxh(add_php_view_vvvvvxh)
if (add_php_view_vvvvvxh == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxhvxf_required)
if (jform_vvvvvxhvxg_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxhvxf_required = false;
jform_vvvvvxhvxg_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxhvxf_required)
if (!jform_vvvvvxhvxg_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxhvxf_required = true;
jform_vvvvvxhvxg_required = true;
}
}
}
@@ -100,26 +100,26 @@ function vvvvvxi(add_php_jview_display_vvvvvxi)
if (add_php_jview_display_vvvvvxi == 1)
{
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxivxg_required)
if (jform_vvvvvxivxh_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxivxg_required = false;
jform_vvvvvxivxh_required = false;
}
}
else
{
jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxivxg_required)
if (!jform_vvvvvxivxh_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvxivxg_required = true;
jform_vvvvvxivxh_required = true;
}
}
}
@@ -131,26 +131,26 @@ function vvvvvxj(add_php_jview_vvvvvxj)
if (add_php_jview_vvvvvxj == 1)
{
jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvxjvxh_required)
if (jform_vvvvvxjvxi_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvxjvxh_required = false;
jform_vvvvvxjvxi_required = false;
}
}
else
{
jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvxjvxh_required)
if (!jform_vvvvvxjvxi_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvxjvxh_required = true;
jform_vvvvvxjvxi_required = true;
}
}
}
@@ -162,26 +162,26 @@ function vvvvvxk(add_php_document_vvvvvxk)
if (add_php_document_vvvvvxk == 1)
{
jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvxkvxi_required)
if (jform_vvvvvxkvxj_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvxkvxi_required = false;
jform_vvvvvxkvxj_required = false;
}
}
else
{
jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvxkvxi_required)
if (!jform_vvvvvxkvxj_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxkvxi_required = true;
jform_vvvvvxkvxj_required = true;
}
}
}
@@ -193,26 +193,26 @@ function vvvvvxl(add_css_document_vvvvvxl)
if (add_css_document_vvvvvxl == 1)
{
jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvxlvxj_required)
if (jform_vvvvvxlvxk_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvxlvxj_required = false;
jform_vvvvvxlvxk_required = false;
}
}
else
{
jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvxlvxj_required)
if (!jform_vvvvvxlvxk_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvxlvxj_required = true;
jform_vvvvvxlvxk_required = true;
}
}
}
@@ -224,26 +224,26 @@ function vvvvvxm(add_js_document_vvvvvxm)
if (add_js_document_vvvvvxm == 1)
{
jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvxmvxk_required)
if (jform_vvvvvxmvxl_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvxmvxk_required = false;
jform_vvvvvxmvxl_required = false;
}
}
else
{
jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvxmvxk_required)
if (!jform_vvvvvxmvxl_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvxmvxk_required = true;
jform_vvvvvxmvxl_required = true;
}
}
}
@@ -256,23 +256,23 @@ function vvvvvxn(add_custom_button_vvvvvxn)
{
jQuery('#jform_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvxnvxl_required)
if (jform_vvvvvxnvxm_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvxnvxl_required = false;
jform_vvvvvxnvxm_required = false;
}
jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvxnvxm_required)
if (jform_vvvvvxnvxn_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvxnvxm_required = false;
jform_vvvvvxnvxn_required = false;
}
}
@@ -280,22 +280,22 @@ function vvvvvxn(add_custom_button_vvvvvxn)
{
jQuery('#jform_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvxnvxl_required)
if (!jform_vvvvvxnvxm_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvxnvxl_required = true;
jform_vvvvvxnvxm_required = true;
}
jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvxnvxm_required)
if (!jform_vvvvvxnvxn_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvxnvxm_required = true;
jform_vvvvvxnvxn_required = true;
}
}
}
@@ -307,26 +307,26 @@ function vvvvvxo(add_css_vvvvvxo)
if (add_css_vvvvvxo == 1)
{
jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvxovxn_required)
if (jform_vvvvvxovxo_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvxovxn_required = false;
jform_vvvvvxovxo_required = false;
}
}
else
{
jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvxovxn_required)
if (!jform_vvvvvxovxo_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvxovxn_required = true;
jform_vvvvvxovxo_required = true;
}
}
}

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.js
@@ -24,24 +24,24 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvyavya_required = false;
jform_vvvvvybvyb_required = false;
jform_vvvvvycvyc_required = false;
jform_vvvvvydvyd_required = false;
jform_vvvvvyevye_required = false;
jform_vvvvvyfvyf_required = false;
jform_vvvvvykvyg_required = false;
jform_vvvvvymvyh_required = false;
jform_vvvvvynvyi_required = false;
jform_vvvvvypvyj_required = false;
jform_vvvvvyavyb_required = false;
jform_vvvvvybvyc_required = false;
jform_vvvvvycvyd_required = false;
jform_vvvvvydvye_required = false;
jform_vvvvvyevyf_required = false;
jform_vvvvvyfvyg_required = false;
jform_vvvvvykvyh_required = false;
jform_vvvvvymvyi_required = false;
jform_vvvvvynvyj_required = false;
jform_vvvvvypvyk_required = false;
jform_vvvvvyqvyl_required = false;
jform_vvvvvyrvym_required = false;
jform_vvvvvysvyn_required = false;
jform_vvvvvyuvyo_required = false;
jform_vvvvvypvyl_required = false;
jform_vvvvvyqvym_required = false;
jform_vvvvvyrvyn_required = false;
jform_vvvvvysvyo_required = false;
jform_vvvvvyuvyp_required = false;
jform_vvvvvyuvyq_required = false;
jform_vvvvvyvvyr_required = false;
jform_vvvvvyuvyr_required = false;
jform_vvvvvyvvys_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -128,26 +128,26 @@ function vvvvvya(gettype_vvvvvya)
if (gettype)
{
jQuery('#jform_getcustom').closest('.control-group').show();
if (jform_vvvvvyavya_required)
if (jform_vvvvvyavyb_required)
{
updateFieldRequired('getcustom',0);
jQuery('#jform_getcustom').prop('required','required');
jQuery('#jform_getcustom').attr('aria-required',true);
jQuery('#jform_getcustom').addClass('required');
jform_vvvvvyavya_required = false;
jform_vvvvvyavyb_required = false;
}
}
else
{
jQuery('#jform_getcustom').closest('.control-group').hide();
if (!jform_vvvvvyavya_required)
if (!jform_vvvvvyavyb_required)
{
updateFieldRequired('getcustom',1);
jQuery('#jform_getcustom').removeAttr('required');
jQuery('#jform_getcustom').removeAttr('aria-required');
jQuery('#jform_getcustom').removeClass('required');
jform_vvvvvyavya_required = true;
jform_vvvvvyavyb_required = true;
}
}
}
@@ -183,26 +183,26 @@ function vvvvvyb(main_source_vvvvvyb)
if (main_source)
{
jQuery('#jform_view_table_main').closest('.control-group').show();
if (jform_vvvvvybvyb_required)
if (jform_vvvvvybvyc_required)
{
updateFieldRequired('view_table_main',0);
jQuery('#jform_view_table_main').prop('required','required');
jQuery('#jform_view_table_main').attr('aria-required',true);
jQuery('#jform_view_table_main').addClass('required');
jform_vvvvvybvyb_required = false;
jform_vvvvvybvyc_required = false;
}
}
else
{
jQuery('#jform_view_table_main').closest('.control-group').hide();
if (!jform_vvvvvybvyb_required)
if (!jform_vvvvvybvyc_required)
{
updateFieldRequired('view_table_main',1);
jQuery('#jform_view_table_main').removeAttr('required');
jQuery('#jform_view_table_main').removeAttr('aria-required');
jQuery('#jform_view_table_main').removeClass('required');
jform_vvvvvybvyb_required = true;
jform_vvvvvybvyc_required = true;
}
}
}
@@ -238,26 +238,26 @@ function vvvvvyc(main_source_vvvvvyc)
if (main_source)
{
jQuery('#jform_view_selection').closest('.control-group').show();
if (jform_vvvvvycvyc_required)
if (jform_vvvvvycvyd_required)
{
updateFieldRequired('view_selection',0);
jQuery('#jform_view_selection').prop('required','required');
jQuery('#jform_view_selection').attr('aria-required',true);
jQuery('#jform_view_selection').addClass('required');
jform_vvvvvycvyc_required = false;
jform_vvvvvycvyd_required = false;
}
}
else
{
jQuery('#jform_view_selection').closest('.control-group').hide();
if (!jform_vvvvvycvyc_required)
if (!jform_vvvvvycvyd_required)
{
updateFieldRequired('view_selection',1);
jQuery('#jform_view_selection').removeAttr('required');
jQuery('#jform_view_selection').removeAttr('aria-required');
jQuery('#jform_view_selection').removeClass('required');
jform_vvvvvycvyc_required = true;
jform_vvvvvycvyd_required = true;
}
}
}
@@ -293,26 +293,26 @@ function vvvvvyd(main_source_vvvvvyd)
if (main_source)
{
jQuery('#jform_db_table_main').closest('.control-group').show();
if (jform_vvvvvydvyd_required)
if (jform_vvvvvydvye_required)
{
updateFieldRequired('db_table_main',0);
jQuery('#jform_db_table_main').prop('required','required');
jQuery('#jform_db_table_main').attr('aria-required',true);
jQuery('#jform_db_table_main').addClass('required');
jform_vvvvvydvyd_required = false;
jform_vvvvvydvye_required = false;
}
}
else
{
jQuery('#jform_db_table_main').closest('.control-group').hide();
if (!jform_vvvvvydvyd_required)
if (!jform_vvvvvydvye_required)
{
updateFieldRequired('db_table_main',1);
jQuery('#jform_db_table_main').removeAttr('required');
jQuery('#jform_db_table_main').removeAttr('aria-required');
jQuery('#jform_db_table_main').removeClass('required');
jform_vvvvvydvyd_required = true;
jform_vvvvvydvye_required = true;
}
}
}
@@ -348,26 +348,26 @@ function vvvvvye(main_source_vvvvvye)
if (main_source)
{
jQuery('#jform_db_selection').closest('.control-group').show();
if (jform_vvvvvyevye_required)
if (jform_vvvvvyevyf_required)
{
updateFieldRequired('db_selection',0);
jQuery('#jform_db_selection').prop('required','required');
jQuery('#jform_db_selection').attr('aria-required',true);
jQuery('#jform_db_selection').addClass('required');
jform_vvvvvyevye_required = false;
jform_vvvvvyevyf_required = false;
}
}
else
{
jQuery('#jform_db_selection').closest('.control-group').hide();
if (!jform_vvvvvyevye_required)
if (!jform_vvvvvyevyf_required)
{
updateFieldRequired('db_selection',1);
jQuery('#jform_db_selection').removeAttr('required');
jQuery('#jform_db_selection').removeAttr('aria-required');
jQuery('#jform_db_selection').removeClass('required');
jform_vvvvvyevye_required = true;
jform_vvvvvyevyf_required = true;
}
}
}
@@ -390,26 +390,26 @@ function vvvvvyf(addcalculation_vvvvvyf)
if (addcalculation_vvvvvyf == 1)
{
jQuery('#jform_php_calculation').closest('.control-group').show();
if (jform_vvvvvyfvyf_required)
if (jform_vvvvvyfvyg_required)
{
updateFieldRequired('php_calculation',0);
jQuery('#jform_php_calculation').prop('required','required');
jQuery('#jform_php_calculation').attr('aria-required',true);
jQuery('#jform_php_calculation').addClass('required');
jform_vvvvvyfvyf_required = false;
jform_vvvvvyfvyg_required = false;
}
}
else
{
jQuery('#jform_php_calculation').closest('.control-group').hide();
if (!jform_vvvvvyfvyf_required)
if (!jform_vvvvvyfvyg_required)
{
updateFieldRequired('php_calculation',1);
jQuery('#jform_php_calculation').removeAttr('required');
jQuery('#jform_php_calculation').removeAttr('aria-required');
jQuery('#jform_php_calculation').removeClass('required');
jform_vvvvvyfvyf_required = true;
jform_vvvvvyfvyg_required = true;
}
}
}
@@ -556,26 +556,26 @@ function vvvvvyk(main_source_vvvvvyk)
if (main_source)
{
jQuery('#jform_php_custom_get').closest('.control-group').show();
if (jform_vvvvvykvyg_required)
if (jform_vvvvvykvyh_required)
{
updateFieldRequired('php_custom_get',0);
jQuery('#jform_php_custom_get').prop('required','required');
jQuery('#jform_php_custom_get').attr('aria-required',true);
jQuery('#jform_php_custom_get').addClass('required');
jform_vvvvvykvyg_required = false;
jform_vvvvvykvyh_required = false;
}
}
else
{
jQuery('#jform_php_custom_get').closest('.control-group').hide();
if (!jform_vvvvvykvyg_required)
if (!jform_vvvvvykvyh_required)
{
updateFieldRequired('php_custom_get',1);
jQuery('#jform_php_custom_get').removeAttr('required');
jQuery('#jform_php_custom_get').removeAttr('aria-required');
jQuery('#jform_php_custom_get').removeClass('required');
jform_vvvvvykvyg_required = true;
jform_vvvvvykvyh_required = true;
}
}
}
@@ -669,26 +669,26 @@ function vvvvvym(add_php_before_getitem_vvvvvym,gettype_vvvvvym)
if (add_php_before_getitem && gettype)
{
jQuery('#jform_php_before_getitem').closest('.control-group').show();
if (jform_vvvvvymvyh_required)
if (jform_vvvvvymvyi_required)
{
updateFieldRequired('php_before_getitem',0);
jQuery('#jform_php_before_getitem').prop('required','required');
jQuery('#jform_php_before_getitem').attr('aria-required',true);
jQuery('#jform_php_before_getitem').addClass('required');
jform_vvvvvymvyh_required = false;
jform_vvvvvymvyi_required = false;
}
}
else
{
jQuery('#jform_php_before_getitem').closest('.control-group').hide();
if (!jform_vvvvvymvyh_required)
if (!jform_vvvvvymvyi_required)
{
updateFieldRequired('php_before_getitem',1);
jQuery('#jform_php_before_getitem').removeAttr('required');
jQuery('#jform_php_before_getitem').removeAttr('aria-required');
jQuery('#jform_php_before_getitem').removeClass('required');
jform_vvvvvymvyh_required = true;
jform_vvvvvymvyi_required = true;
}
}
}
@@ -747,26 +747,26 @@ function vvvvvyn(add_php_after_getitem_vvvvvyn,gettype_vvvvvyn)
if (add_php_after_getitem && gettype)
{
jQuery('#jform_php_after_getitem').closest('.control-group').show();
if (jform_vvvvvynvyi_required)
if (jform_vvvvvynvyj_required)
{
updateFieldRequired('php_after_getitem',0);
jQuery('#jform_php_after_getitem').prop('required','required');
jQuery('#jform_php_after_getitem').attr('aria-required',true);
jQuery('#jform_php_after_getitem').addClass('required');
jform_vvvvvynvyi_required = false;
jform_vvvvvynvyj_required = false;
}
}
else
{
jQuery('#jform_php_after_getitem').closest('.control-group').hide();
if (!jform_vvvvvynvyi_required)
if (!jform_vvvvvynvyj_required)
{
updateFieldRequired('php_after_getitem',1);
jQuery('#jform_php_after_getitem').removeAttr('required');
jQuery('#jform_php_after_getitem').removeAttr('aria-required');
jQuery('#jform_php_after_getitem').removeClass('required');
jform_vvvvvynvyi_required = true;
jform_vvvvvynvyj_required = true;
}
}
}
@@ -813,45 +813,45 @@ function vvvvvyp(gettype_vvvvvyp)
if (gettype)
{
jQuery('#jform_add_php_after_getitem').closest('.control-group').show();
if (jform_vvvvvypvyj_required)
if (jform_vvvvvypvyk_required)
{
updateFieldRequired('add_php_after_getitem',0);
jQuery('#jform_add_php_after_getitem').prop('required','required');
jQuery('#jform_add_php_after_getitem').attr('aria-required',true);
jQuery('#jform_add_php_after_getitem').addClass('required');
jform_vvvvvypvyj_required = false;
jform_vvvvvypvyk_required = false;
}
jQuery('#jform_add_php_before_getitem').closest('.control-group').show();
if (jform_vvvvvypvyk_required)
if (jform_vvvvvypvyl_required)
{
updateFieldRequired('add_php_before_getitem',0);
jQuery('#jform_add_php_before_getitem').prop('required','required');
jQuery('#jform_add_php_before_getitem').attr('aria-required',true);
jQuery('#jform_add_php_before_getitem').addClass('required');
jform_vvvvvypvyk_required = false;
jform_vvvvvypvyl_required = false;
}
}
else
{
jQuery('#jform_add_php_after_getitem').closest('.control-group').hide();
if (!jform_vvvvvypvyj_required)
if (!jform_vvvvvypvyk_required)
{
updateFieldRequired('add_php_after_getitem',1);
jQuery('#jform_add_php_after_getitem').removeAttr('required');
jQuery('#jform_add_php_after_getitem').removeAttr('aria-required');
jQuery('#jform_add_php_after_getitem').removeClass('required');
jform_vvvvvypvyj_required = true;
jform_vvvvvypvyk_required = true;
}
jQuery('#jform_add_php_before_getitem').closest('.control-group').hide();
if (!jform_vvvvvypvyk_required)
if (!jform_vvvvvypvyl_required)
{
updateFieldRequired('add_php_before_getitem',1);
jQuery('#jform_add_php_before_getitem').removeAttr('required');
jQuery('#jform_add_php_before_getitem').removeAttr('aria-required');
jQuery('#jform_add_php_before_getitem').removeClass('required');
jform_vvvvvypvyk_required = true;
jform_vvvvvypvyl_required = true;
}
}
}
@@ -899,26 +899,26 @@ function vvvvvyq(add_php_getlistquery_vvvvvyq,gettype_vvvvvyq)
if (add_php_getlistquery && gettype)
{
jQuery('#jform_php_getlistquery').closest('.control-group').show();
if (jform_vvvvvyqvyl_required)
if (jform_vvvvvyqvym_required)
{
updateFieldRequired('php_getlistquery',0);
jQuery('#jform_php_getlistquery').prop('required','required');
jQuery('#jform_php_getlistquery').attr('aria-required',true);
jQuery('#jform_php_getlistquery').addClass('required');
jform_vvvvvyqvyl_required = false;
jform_vvvvvyqvym_required = false;
}
}
else
{
jQuery('#jform_php_getlistquery').closest('.control-group').hide();
if (!jform_vvvvvyqvyl_required)
if (!jform_vvvvvyqvym_required)
{
updateFieldRequired('php_getlistquery',1);
jQuery('#jform_php_getlistquery').removeAttr('required');
jQuery('#jform_php_getlistquery').removeAttr('aria-required');
jQuery('#jform_php_getlistquery').removeClass('required');
jform_vvvvvyqvyl_required = true;
jform_vvvvvyqvym_required = true;
}
}
}
@@ -977,26 +977,26 @@ function vvvvvyr(add_php_before_getitems_vvvvvyr,gettype_vvvvvyr)
if (add_php_before_getitems && gettype)
{
jQuery('#jform_php_before_getitems').closest('.control-group').show();
if (jform_vvvvvyrvym_required)
if (jform_vvvvvyrvyn_required)
{
updateFieldRequired('php_before_getitems',0);
jQuery('#jform_php_before_getitems').prop('required','required');
jQuery('#jform_php_before_getitems').attr('aria-required',true);
jQuery('#jform_php_before_getitems').addClass('required');
jform_vvvvvyrvym_required = false;
jform_vvvvvyrvyn_required = false;
}
}
else
{
jQuery('#jform_php_before_getitems').closest('.control-group').hide();
if (!jform_vvvvvyrvym_required)
if (!jform_vvvvvyrvyn_required)
{
updateFieldRequired('php_before_getitems',1);
jQuery('#jform_php_before_getitems').removeAttr('required');
jQuery('#jform_php_before_getitems').removeAttr('aria-required');
jQuery('#jform_php_before_getitems').removeClass('required');
jform_vvvvvyrvym_required = true;
jform_vvvvvyrvyn_required = true;
}
}
}
@@ -1055,26 +1055,26 @@ function vvvvvys(add_php_after_getitems_vvvvvys,gettype_vvvvvys)
if (add_php_after_getitems && gettype)
{
jQuery('#jform_php_after_getitems').closest('.control-group').show();
if (jform_vvvvvysvyn_required)
if (jform_vvvvvysvyo_required)
{
updateFieldRequired('php_after_getitems',0);
jQuery('#jform_php_after_getitems').prop('required','required');
jQuery('#jform_php_after_getitems').attr('aria-required',true);
jQuery('#jform_php_after_getitems').addClass('required');
jform_vvvvvysvyn_required = false;
jform_vvvvvysvyo_required = false;
}
}
else
{
jQuery('#jform_php_after_getitems').closest('.control-group').hide();
if (!jform_vvvvvysvyn_required)
if (!jform_vvvvvysvyo_required)
{
updateFieldRequired('php_after_getitems',1);
jQuery('#jform_php_after_getitems').removeAttr('required');
jQuery('#jform_php_after_getitems').removeAttr('aria-required');
jQuery('#jform_php_after_getitems').removeClass('required');
jform_vvvvvysvyn_required = true;
jform_vvvvvysvyo_required = true;
}
}
}
@@ -1121,64 +1121,64 @@ function vvvvvyu(gettype_vvvvvyu)
if (gettype)
{
jQuery('#jform_add_php_after_getitems').closest('.control-group').show();
if (jform_vvvvvyuvyo_required)
if (jform_vvvvvyuvyp_required)
{
updateFieldRequired('add_php_after_getitems',0);
jQuery('#jform_add_php_after_getitems').prop('required','required');
jQuery('#jform_add_php_after_getitems').attr('aria-required',true);
jQuery('#jform_add_php_after_getitems').addClass('required');
jform_vvvvvyuvyo_required = false;
jform_vvvvvyuvyp_required = false;
}
jQuery('#jform_add_php_before_getitems').closest('.control-group').show();
if (jform_vvvvvyuvyp_required)
if (jform_vvvvvyuvyq_required)
{
updateFieldRequired('add_php_before_getitems',0);
jQuery('#jform_add_php_before_getitems').prop('required','required');
jQuery('#jform_add_php_before_getitems').attr('aria-required',true);
jQuery('#jform_add_php_before_getitems').addClass('required');
jform_vvvvvyuvyp_required = false;
jform_vvvvvyuvyq_required = false;
}
jQuery('#jform_add_php_getlistquery').closest('.control-group').show();
if (jform_vvvvvyuvyq_required)
if (jform_vvvvvyuvyr_required)
{
updateFieldRequired('add_php_getlistquery',0);
jQuery('#jform_add_php_getlistquery').prop('required','required');
jQuery('#jform_add_php_getlistquery').attr('aria-required',true);
jQuery('#jform_add_php_getlistquery').addClass('required');
jform_vvvvvyuvyq_required = false;
jform_vvvvvyuvyr_required = false;
}
}
else
{
jQuery('#jform_add_php_after_getitems').closest('.control-group').hide();
if (!jform_vvvvvyuvyo_required)
if (!jform_vvvvvyuvyp_required)
{
updateFieldRequired('add_php_after_getitems',1);
jQuery('#jform_add_php_after_getitems').removeAttr('required');
jQuery('#jform_add_php_after_getitems').removeAttr('aria-required');
jQuery('#jform_add_php_after_getitems').removeClass('required');
jform_vvvvvyuvyo_required = true;
jform_vvvvvyuvyp_required = true;
}
jQuery('#jform_add_php_before_getitems').closest('.control-group').hide();
if (!jform_vvvvvyuvyp_required)
if (!jform_vvvvvyuvyq_required)
{
updateFieldRequired('add_php_before_getitems',1);
jQuery('#jform_add_php_before_getitems').removeAttr('required');
jQuery('#jform_add_php_before_getitems').removeAttr('aria-required');
jQuery('#jform_add_php_before_getitems').removeClass('required');
jform_vvvvvyuvyp_required = true;
jform_vvvvvyuvyq_required = true;
}
jQuery('#jform_add_php_getlistquery').closest('.control-group').hide();
if (!jform_vvvvvyuvyq_required)
if (!jform_vvvvvyuvyr_required)
{
updateFieldRequired('add_php_getlistquery',1);
jQuery('#jform_add_php_getlistquery').removeAttr('required');
jQuery('#jform_add_php_getlistquery').removeAttr('aria-required');
jQuery('#jform_add_php_getlistquery').removeClass('required');
jform_vvvvvyuvyq_required = true;
jform_vvvvvyuvyr_required = true;
}
}
}
@@ -1214,26 +1214,26 @@ function vvvvvyv(gettype_vvvvvyv)
if (gettype)
{
jQuery('#jform_pagination').closest('.control-group').show();
if (jform_vvvvvyvvyr_required)
if (jform_vvvvvyvvys_required)
{
updateFieldRequired('pagination',0);
jQuery('#jform_pagination').prop('required','required');
jQuery('#jform_pagination').attr('aria-required',true);
jQuery('#jform_pagination').addClass('required');
jform_vvvvvyvvyr_required = false;
jform_vvvvvyvvys_required = false;
}
}
else
{
jQuery('#jform_pagination').closest('.control-group').hide();
if (!jform_vvvvvyvvyr_required)
if (!jform_vvvvvyvvys_required)
{
updateFieldRequired('pagination',1);
jQuery('#jform_pagination').removeAttr('required');
jQuery('#jform_pagination').removeAttr('aria-required');
jQuery('#jform_pagination').removeClass('required');
jform_vvvvvyvvyr_required = true;
jform_vvvvvyvvys_required = true;
}
}
}

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.js
@@ -24,13 +24,13 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvywvys_required = false;
jform_vvvvvyxvyt_required = false;
jform_vvvvvyyvyu_required = false;
jform_vvvvvzbvyv_required = false;
jform_vvvvvzcvyw_required = false;
jform_vvvvvzdvyx_required = false;
jform_vvvvvzevyy_required = false;
jform_vvvvvywvyt_required = false;
jform_vvvvvyxvyu_required = false;
jform_vvvvvyyvyv_required = false;
jform_vvvvvzbvyw_required = false;
jform_vvvvvzcvyx_required = false;
jform_vvvvvzdvyy_required = false;
jform_vvvvvzevyz_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -81,26 +81,26 @@ function vvvvvyw(datalenght_vvvvvyw)
if (datalenght)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvvywvys_required)
if (jform_vvvvvywvyt_required)
{
updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvvywvys_required = false;
jform_vvvvvywvyt_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvvywvys_required)
if (!jform_vvvvvywvyt_required)
{
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvvywvys_required = true;
jform_vvvvvywvyt_required = true;
}
}
}
@@ -136,26 +136,26 @@ function vvvvvyx(datadefault_vvvvvyx)
if (datadefault)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvvyxvyt_required)
if (jform_vvvvvyxvyu_required)
{
updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvvyxvyt_required = false;
jform_vvvvvyxvyu_required = false;
}
}
else
{
jQuery('#jform_datadefault_other').closest('.control-group').hide();
if (!jform_vvvvvyxvyt_required)
if (!jform_vvvvvyxvyu_required)
{
updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvvyxvyt_required = true;
jform_vvvvvyxvyu_required = true;
}
}
}
@@ -191,26 +191,26 @@ function vvvvvyy(datatype_vvvvvyy)
if (datatype)
{
jQuery('#jform_store').closest('.control-group').show();
if (jform_vvvvvyyvyu_required)
if (jform_vvvvvyyvyv_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvvyyvyu_required = false;
jform_vvvvvyyvyv_required = false;
}
}
else
{
jQuery('#jform_store').closest('.control-group').hide();
if (!jform_vvvvvyyvyu_required)
if (!jform_vvvvvyyvyv_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvvyyvyu_required = true;
jform_vvvvvyyvyv_required = true;
}
}
}
@@ -294,26 +294,26 @@ function vvvvvzb(add_css_view_vvvvvzb)
if (add_css_view_vvvvvzb == 1)
{
jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvvzbvyv_required)
if (jform_vvvvvzbvyw_required)
{
updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required');
jform_vvvvvzbvyv_required = false;
jform_vvvvvzbvyw_required = false;
}
}
else
{
jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvvzbvyv_required)
if (!jform_vvvvvzbvyw_required)
{
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvvzbvyv_required = true;
jform_vvvvvzbvyw_required = true;
}
}
}
@@ -325,26 +325,26 @@ function vvvvvzc(add_css_views_vvvvvzc)
if (add_css_views_vvvvvzc == 1)
{
jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvvzcvyw_required)
if (jform_vvvvvzcvyx_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvvzcvyw_required = false;
jform_vvvvvzcvyx_required = false;
}
}
else
{
jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvvzcvyw_required)
if (!jform_vvvvvzcvyx_required)
{
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
jform_vvvvvzcvyw_required = true;
jform_vvvvvzcvyx_required = true;
}
}
}
@@ -356,26 +356,26 @@ function vvvvvzd(add_javascript_view_footer_vvvvvzd)
if (add_javascript_view_footer_vvvvvzd == 1)
{
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvvzdvyx_required)
if (jform_vvvvvzdvyy_required)
{
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvvzdvyx_required = false;
jform_vvvvvzdvyy_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvvzdvyx_required)
if (!jform_vvvvvzdvyy_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvvzdvyx_required = true;
jform_vvvvvzdvyy_required = true;
}
}
}
@@ -387,26 +387,26 @@ function vvvvvze(add_javascript_views_footer_vvvvvze)
if (add_javascript_views_footer_vvvvvze == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvvzevyy_required)
if (jform_vvvvvzevyz_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvvzevyy_required = false;
jform_vvvvvzevyz_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvvzevyy_required)
if (!jform_vvvvvzevyz_required)
{
updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvvzevyy_required = true;
jform_vvvvvzevyz_required = true;
}
}
}

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.js

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage help_document.js
@@ -24,10 +24,10 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvzhvza_required = false;
jform_vvvvvzivzb_required = false;
jform_vvvvvzjvzc_required = false;
jform_vvvvvzkvzd_required = false;
jform_vvvvvzhvzb_required = false;
jform_vvvvvzivzc_required = false;
jform_vvvvvzjvzd_required = false;
jform_vvvvvzkvze_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -99,26 +99,26 @@ function vvvvvzh(type_vvvvvzh)
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvvzhvza_required)
if (jform_vvvvvzhvzb_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvvzhvza_required = false;
jform_vvvvvzhvzb_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvvzhvza_required)
if (!jform_vvvvvzhvzb_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvvzhvza_required = true;
jform_vvvvvzhvzb_required = true;
}
}
}
@@ -154,26 +154,26 @@ function vvvvvzi(type_vvvvvzi)
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvvzivzb_required)
if (jform_vvvvvzivzc_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvvzivzb_required = false;
jform_vvvvvzivzc_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvvzivzb_required)
if (!jform_vvvvvzivzc_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvvzivzb_required = true;
jform_vvvvvzivzc_required = true;
}
}
}
@@ -209,26 +209,26 @@ function vvvvvzj(type_vvvvvzj)
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvvzjvzc_required)
if (jform_vvvvvzjvzd_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvvzjvzc_required = false;
jform_vvvvvzjvzd_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvvzjvzc_required)
if (!jform_vvvvvzjvzd_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvvzjvzc_required = true;
jform_vvvvvzjvzd_required = true;
}
}
}
@@ -251,26 +251,26 @@ function vvvvvzk(target_vvvvvzk)
if (target_vvvvvzk == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvvzkvzd_required)
if (jform_vvvvvzkvze_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvvzkvzd_required = false;
jform_vvvvvzkvze_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvvzkvzd_required)
if (!jform_vvvvvzkvze_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvvzkvzd_required = true;
jform_vvvvvzkvze_required = true;
}
}
}

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.js
@@ -24,7 +24,7 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxzvxz_required = false;
jform_vvvvvxzvya_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -40,26 +40,26 @@ function vvvvvxz(add_php_view_vvvvvxz)
if (add_php_view_vvvvvxz == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxzvxz_required)
if (jform_vvvvvxzvya_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxzvxz_required = false;
jform_vvvvvxzvya_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxzvxz_required)
if (!jform_vvvvvxzvya_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxzvxz_required = true;
jform_vvvvvxzvya_required = true;
}
}
}

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_view.js
@@ -24,16 +24,16 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxpvxo_required = false;
jform_vvvvvxqvxp_required = false;
jform_vvvvvxrvxq_required = false;
jform_vvvvvxsvxr_required = false;
jform_vvvvvxtvxs_required = false;
jform_vvvvvxuvxt_required = false;
jform_vvvvvxvvxu_required = false;
jform_vvvvvxwvxv_required = false;
jform_vvvvvxxvxw_required = false;
jform_vvvvvxpvxp_required = false;
jform_vvvvvxqvxq_required = false;
jform_vvvvvxrvxr_required = false;
jform_vvvvvxsvxs_required = false;
jform_vvvvvxtvxt_required = false;
jform_vvvvvxuvxu_required = false;
jform_vvvvvxvvxv_required = false;
jform_vvvvvxwvxw_required = false;
jform_vvvvvxxvxx_required = false;
jform_vvvvvxxvxy_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -73,26 +73,26 @@ function vvvvvxp(add_php_view_vvvvvxp)
if (add_php_view_vvvvvxp == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxpvxo_required)
if (jform_vvvvvxpvxp_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxpvxo_required = false;
jform_vvvvvxpvxp_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxpvxo_required)
if (!jform_vvvvvxpvxp_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxpvxo_required = true;
jform_vvvvvxpvxp_required = true;
}
}
}
@@ -104,26 +104,26 @@ function vvvvvxq(add_php_jview_display_vvvvvxq)
if (add_php_jview_display_vvvvvxq == 1)
{
jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxqvxp_required)
if (jform_vvvvvxqvxq_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxqvxp_required = false;
jform_vvvvvxqvxq_required = false;
}
}
else
{
jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxqvxp_required)
if (!jform_vvvvvxqvxq_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvxqvxp_required = true;
jform_vvvvvxqvxq_required = true;
}
}
}
@@ -135,26 +135,26 @@ function vvvvvxr(add_php_jview_vvvvvxr)
if (add_php_jview_vvvvvxr == 1)
{
jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvxrvxq_required)
if (jform_vvvvvxrvxr_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvxrvxq_required = false;
jform_vvvvvxrvxr_required = false;
}
}
else
{
jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvxrvxq_required)
if (!jform_vvvvvxrvxr_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvxrvxq_required = true;
jform_vvvvvxrvxr_required = true;
}
}
}
@@ -166,26 +166,26 @@ function vvvvvxs(add_php_document_vvvvvxs)
if (add_php_document_vvvvvxs == 1)
{
jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvxsvxr_required)
if (jform_vvvvvxsvxs_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvxsvxr_required = false;
jform_vvvvvxsvxs_required = false;
}
}
else
{
jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvxsvxr_required)
if (!jform_vvvvvxsvxs_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxsvxr_required = true;
jform_vvvvvxsvxs_required = true;
}
}
}
@@ -197,26 +197,26 @@ function vvvvvxt(add_css_document_vvvvvxt)
if (add_css_document_vvvvvxt == 1)
{
jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvxtvxs_required)
if (jform_vvvvvxtvxt_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvxtvxs_required = false;
jform_vvvvvxtvxt_required = false;
}
}
else
{
jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvxtvxs_required)
if (!jform_vvvvvxtvxt_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvxtvxs_required = true;
jform_vvvvvxtvxt_required = true;
}
}
}
@@ -228,26 +228,26 @@ function vvvvvxu(add_js_document_vvvvvxu)
if (add_js_document_vvvvvxu == 1)
{
jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvxuvxt_required)
if (jform_vvvvvxuvxu_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvxuvxt_required = false;
jform_vvvvvxuvxu_required = false;
}
}
else
{
jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvxuvxt_required)
if (!jform_vvvvvxuvxu_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvxuvxt_required = true;
jform_vvvvvxuvxu_required = true;
}
}
}
@@ -259,26 +259,26 @@ function vvvvvxv(add_css_vvvvvxv)
if (add_css_vvvvvxv == 1)
{
jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvxvvxu_required)
if (jform_vvvvvxvvxv_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvxvvxu_required = false;
jform_vvvvvxvvxv_required = false;
}
}
else
{
jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvxvvxu_required)
if (!jform_vvvvvxvvxv_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvxvvxu_required = true;
jform_vvvvvxvvxv_required = true;
}
}
}
@@ -291,13 +291,13 @@ function vvvvvxw(add_php_ajax_vvvvvxw)
{
jQuery('#jform_ajax_input').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
if (jform_vvvvvxwvxv_required)
if (jform_vvvvvxwvxw_required)
{
updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvxwvxv_required = false;
jform_vvvvvxwvxw_required = false;
}
}
@@ -305,13 +305,13 @@ function vvvvvxw(add_php_ajax_vvvvvxw)
{
jQuery('#jform_ajax_input').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
if (!jform_vvvvvxwvxv_required)
if (!jform_vvvvvxwvxw_required)
{
updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvxwvxv_required = true;
jform_vvvvvxwvxw_required = true;
}
}
}
@@ -324,23 +324,23 @@ function vvvvvxx(add_custom_button_vvvvvxx)
{
jQuery('#jform_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvxxvxw_required)
if (jform_vvvvvxxvxx_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvxxvxw_required = false;
jform_vvvvvxxvxx_required = false;
}
jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvxxvxx_required)
if (jform_vvvvvxxvxy_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvxxvxx_required = false;
jform_vvvvvxxvxy_required = false;
}
}
@@ -348,22 +348,22 @@ function vvvvvxx(add_custom_button_vvvvvxx)
{
jQuery('#jform_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvxxvxw_required)
if (!jform_vvvvvxxvxx_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvxxvxw_required = true;
jform_vvvvvxxvxx_required = true;
}
jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvxxvxx_required)
if (!jform_vvvvvxxvxy_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvxxvxx_required = true;
jform_vvvvvxxvxy_required = true;
}
}
}

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippet.js

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.8
@build 12th May, 2016
@version 2.1.9
@build 20th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.js
@@ -24,7 +24,7 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvxyvxy_required = false;
jform_vvvvvxyvxz_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -40,26 +40,26 @@ function vvvvvxy(add_php_view_vvvvvxy)
if (add_php_view_vvvvvxy == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxyvxy_required)
if (jform_vvvvvxyvxz_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvxyvxy_required = false;
jform_vvvvvxyvxz_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxyvxy_required)
if (!jform_vvvvvxyvxz_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxyvxy_required = true;
jform_vvvvvxyvxz_required = true;
}
}
}