nodereference_asmselect.module
*
severity: normalLine 28: Use an indent of 2 spaces, with no tabs
// call node reference module, pass a dummy field so that a regular select field is returned
*
severity: normalLine 30: Use an indent of 2 spaces, with no tabs
$nodereference_field['widget']['type'] = 'nodereference_select';
*
severity: normalLine 31: Use an indent of 2 spaces, with no tabs
$ret = nodereference_widget($op, $node, $nodereference_field, $items);
*
severity: normalLine 32: Use an indent of 2 spaces, with no tabs
*
severity: normalLine 33: Use an indent of 2 spaces, with no tabs
if ($op == 'form') {
*
severity: normalLine 34: Use an indent of 2 spaces, with no tabs
// set new id
*
severity: normalLine 35: Use an indent of 2 spaces, with no tabs
$id = form_clean_id('edit-' . $field['field_name'] . '-nids');
*
severity: normalLine 35: string concatenation should be formatted without a space separating the operators (dot .) and a quote
$id = form_clean_id('edit-' . $field['field_name'] . '-nids');
*
severity: normalLine 36: Use an indent of 2 spaces, with no tabs
*
severity: normalLine 38: Use an indent of 2 spaces, with no tabs
*
severity: normalLine 39: Use an indent of 2 spaces, with no tabs
$path = drupal_get_path('module', 'nodereference_asmselect');
*
severity: normalLine 40: Use an indent of 2 spaces, with no tabs
*
severity: normalLine 41: Use an indent of 2 spaces, with no tabs
drupal_add_js($path . '/asmselect/jquery.asmselect.js');
*
severity: normalLine 41: string concatenation should be formatted without a space separating the operators (dot .) and a quote
drupal_add_js($path . '/asmselect/jquery.asmselect.js');
*
severity: normalLine 42: Use an indent of 2 spaces, with no tabs
drupal_add_css($path . '/asmselect/jquery.asmselect.css');
*
severity: normalLine 42: string concatenation should be formatted without a space separating the operators (dot .) and a quote
drupal_add_css($path . '/asmselect/jquery.asmselect.css');
*
severity: normalLine 43: Use an indent of 2 spaces, with no tabs
*
severity: normalLine 44: Use an indent of 2 spaces, with no tabs
if ($field['widget']['sortable']) {
*
severity: normalLine 45: Use an indent of 2 spaces, with no tabs
// add list sorting
*
severity: normalLine 46: Use an indent of 2 spaces, with no tabs
jquery_ui_add(array('ui.draggable', 'ui.droppable', 'ui.sortable'));
*
severity: normalLine 47: Use an indent of 2 spaces, with no tabs
}
*
severity: normalLine 48: Use an indent of 2 spaces, with no tabs
*
severity: normalLine 49: Use an indent of 2 spaces, with no tabs
// add sortable multiple select widget
*
severity: normalLine 50: Use an indent of 2 spaces, with no tabs
drupal_add_js("
*
severity: normalLine 52: string concatenation should be formatted without a space separating the operators (dot .) and a quote
$('#" . $id . "').asmSelect({
*
severity: normalLine 53: string concatenation should be formatted without a space separating the operators (dot .) and a quote
addItemTarget: '" . $field['widget']['add_item_target'] . "',
*
severity: normalLine 57: string concatenation should be formatted without a space separating the operators (dot .) and a quote
removeLabel: '" . t('Remove') . "',
*
severity: normalLine 58: string concatenation should be formatted without a space separating the operators (dot .) and a quote
highlightAddedLabel: '" . t('Added') . "',
*
severity: normalLine 59: string concatenation should be formatted without a space separating the operators (dot .) and a quote
highlightRemovedLabel: '" . t('Removed') . "'
*
severity: normalLine 62: Use an indent of 2 spaces, with no tabs
'inline');
*
severity: normalLine 78: Functions should be called with no spaces between the function name and opening parentheses
$form['asm_settings'] = array (
*
severity: normalLine 83: Functions should be called with no spaces between the function name and opening parentheses
$form['asm_settings']['add_item_target'] = array (
*
severity: normalLine 95: Functions should be called with no spaces between the function name and opening parentheses
$form['asm_settings']['sortable'] = array (
*
severity: normalLine 102: Functions should be called with no spaces between the function name and opening parentheses
$form['asm_settings']['animate'] = array (
*
severity: normalLine 109: Functions should be called with no spaces between the function name and opening parentheses
$form['asm_settings']['highlight'] = array (