Commit c18f6e1b authored by iStryker's avatar iStryker Committed by iStryker

Issue #2423659 by iStryker: Run 6.x-3.x through coder review

parent 3527c528
......@@ -104,7 +104,7 @@ function _draggableviews_info($view, $info = NULL) {
);
}
else {
drupal_set_message(t('Draggableviews: Handler <i>') . $options['tabledrag_order']['handler'] . t('</i> could not be found.'), 'error');
drupal_set_message(t('Draggableviews: Handler <i>@handler</i> could not be found.', array('@handler' => $options['tabledrag_order']['handler'])), 'error');
unset($info['order']);
return $info;
}
......@@ -137,7 +137,7 @@ function _draggableviews_info($view, $info = NULL) {
);
}
else {
drupal_set_message(t('Draggableviews: Handler <i>') . $options['tabledrag_hierarchy']['handler'] . t('</i> could not be found.'), 'error');
drupal_set_message(t('Draggableviews: Handler <i>@handler</i> could not be found.', array('@handler' => $options['tabledrag_hierarchy']['handler'])), 'error');
}
}
......@@ -369,7 +369,7 @@ function _draggableviews_rebuild_hierarchy(&$info) {
// The structure should be valid now.
// Nonetheless let's make a final check for debugging reasons.
if (!_draggableviews_quick_check_structure($info)) {
drupal_set_message("Draggableviews: Rebuilding structure didn't work. The structure is broken.", "error");
drupal_set_message(t('Draggableviews: Rebuilding structure did not work. The structure is broken.'), "error");
}
}
......@@ -429,18 +429,19 @@ function _draggableviews_ascending_numbers(&$info, $offset = 0, $renumber = FALS
array_pop($last_parent_nid);
}
}
else if ($parent_nid == $last_nid) {
elseif ($parent_nid == $last_nid) {
// We are entering a new level. This is the first child of the last node.
array_push($last_parent_nid, $last_nid);
$depth++;
}
else if ($parent_nid != $last_parent_nid[$depth]) {
elseif ($parent_nid != $last_parent_nid[$depth]) {
// This node is neither a member of any previous hierarchy level
// nor a child of the last node (opening a new level)
// nor a member of the current hierarchy level
// There's something wrong!
if ($renumber) {
drupal_set_message("Something wrong in _draggableviews_ascending_numbers (". ($renumber ? 'WRITE' : 'CHECK') .").", "error");
$renumber = $renumber ? 'WRTIE' : 'CHECK';
drupal_set_message(t("Something wrong in _draggableviews_ascending_numbers (@renumber).", array(@renumber => $renumber)), "error");
}
return FALSE;
}
......@@ -878,7 +879,7 @@ function _draggableviews_re_execute_view(&$view, $items_per_page = NULL, $curren
function _draggableviews_init_handler($field, &$view) {
if (isset($field['handler'])) {
$handler_info = draggableviews_discover_handlers($field['handler']);
$file = $handler_info['path'] .'/'. $handler_info['file'];
$file = $handler_info['path'] . '/' . $handler_info['file'];
if ($handler_info['path'] && $handler_info['file'] && file_exists($file)) {
module_load_include('inc', 'draggableviews', 'implementations/draggableviews_handler');
require_once($file);
......
......@@ -7,7 +7,7 @@
*/
/**
* Implementation of hook_schema().
* Implements of hook_schema().
*/
function draggableviews_schema() {
$schema['draggableviews_collapsed'] = array(
......@@ -87,14 +87,14 @@ function draggableviews_schema() {
}
/**
* Implementation of hook_install().
* Implements of hook_install().
*/
function draggableviews_install() {
drupal_install_schema('draggableviews');
}
/**
* Implementation of hook_uninstall().
* Implements of hook_uninstall().
*/
function draggableviews_uninstall() {
drupal_uninstall_schema('draggableviews');
......@@ -142,7 +142,7 @@ function draggableviews_update_6401() {
db_add_field($ret, 'draggableviews_structure', 'view_name', array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''));
// Update code.
$result = db_query('SELECT vid FROM {draggableviews_structure}');
while($row = db_fetch_object($result)) {
while ($row = db_fetch_object($result)) {
$view = db_fetch_object(db_query('SELECT name FROM {views_view} WHERE vid=%d', $row->vid));
db_query("UPDATE {draggableviews_structure} SET view_name='%s' WHERE vid=%d", $view->name, $row->vid);
}
......@@ -153,7 +153,7 @@ function draggableviews_update_6401() {
db_add_field($ret, 'draggableviews_collapsed', 'view_name', array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''));
// Update code.
$result = db_query('SELECT vid FROM {draggableviews_collapsed}');
while($row = db_fetch_object($result)) {
while ($row = db_fetch_object($result)) {
$view = db_fetch_object(db_query('SELECT name FROM {views_view} WHERE vid=%d', $row->vid));
db_query("UPDATE {draggableviews_collapsed} SET view_name='%s' WHERE vid=%d", $view->name, $row->vid);
}
......
......@@ -15,8 +15,8 @@ define('DRAGGABLEVIEWS_MIN_VALUE', -2);
// SQL doesn't support an OFFSET without a LIMIT, so we choose a high number for LIMIT.
define('DRAGGABLEVIEWS_DBQUERY_LIMIT', 99999999);
require_once './'. drupal_get_path('module', 'draggableviews') .'/draggableviews.inc';
require_once './'. drupal_get_path('module', 'draggableviews') .'/draggableviews_theme.inc';
require_once './' . drupal_get_path('module', 'draggableviews') . '/draggableviews.inc';
require_once './' . drupal_get_path('module', 'draggableviews') . '/draggableviews_theme.inc';
/**
* Display help and module information
......@@ -32,7 +32,7 @@ function draggableviews_help($path, $arg) {
$output = '';
switch ($path) {
case "admin/help#draggableviews":
$output = '<p>'. t("Makes views draggable.") .'</p>';
$output = '<p>' . t("Makes views draggable.") . '</p>';
break;
}
return $output;
......@@ -98,7 +98,7 @@ function draggableviews_view_draggabletable_form($form_state, $style_plugin) {
);
$form['#submit'][] = 'draggableviews_view_draggabletable_form_submit';
// Use pager information and all exposed input data to build the query.
$query = 'page='. (!empty($_GET['page']) ? $_GET['page'] : '');
$query = 'page=' . (!empty($_GET['page']) ? $_GET['page'] : '');
if (isset($view->exposed_input)) {
foreach ($view->exposed_input AS $filter => $data) {
if ($filter == 'order') continue;
......@@ -106,16 +106,16 @@ function draggableviews_view_draggabletable_form($form_state, $style_plugin) {
foreach ($data AS $key1 => $value1) {
if (is_array($value1)) {
foreach ($value1 AS $key2 => $value2) {
$query .= '&'. $filter .'['. $key1 .']['. $key2 .']='. $value2;
$query .= '&' . $filter . '[' . $key1 . '][' . $key2 . ']=' . $value2;
}
}
else {
$query .= '&'. $filter .'['. $key1 .']='. $value1;
$query .= '&' . $filter . '[' . $key1 . ']=' . $value1;
}
}
}
else {
$query .= '&'. $filter .'='. $data;
$query .= '&' . $filter . '=' . $data;
}
}
}
......@@ -147,11 +147,11 @@ function draggableviews_view_draggabletable_form($form_state, $style_plugin) {
}
// Get the form element.
$form_element = $field['handler']->get_form_element($value, array('field_name' => $field['field_name'] .'_'. $nid, 'class' => $field['field_name']));
$form_element = $field['handler']->get_form_element($value, array('field_name' => $field['field_name'] . '_' . $nid, 'class' => $field['field_name']));
// Render the new form element. The field_ prefix prevents a possible conflict
// with the hidden_nid field.
$form['rows'][$i]['field_'. $field['field_name']] = $form_element;
$form['rows'][$i]['field_' . $field['field_name']] = $form_element;
}
}
......@@ -167,7 +167,7 @@ function draggableviews_view_draggabletable_form($form_state, $style_plugin) {
}
/**
* Implement hook_theme
* Implement hook_theme().
*/
function draggableviews_theme() {
$array = array();
......@@ -388,11 +388,11 @@ function draggableviews_view_draggabletable_form_submit($vars) {
if (isset($info['order']['field'])) {
// The input array must have the same structure as the node array.
// E.g. because of _draggableviews_get_hierarchy_depth(..).
$info['input'][$row->{$view->base_field}]['order'][0] = $input[$info['order']['field']['field_name'] .'_'. $row->{$view->base_field}];
$info['input'][$row->{$view->base_field}]['order'][0] = $input[$info['order']['field']['field_name'] . '_' . $row->{$view->base_field}];
}
// Set parent values.
if (isset($info['hierarchy'])) {
$info['input'][$row->{$view->base_field}]['parent'] = $input[$info['hierarchy']['field']['field_name'] .'_'. $row->{$view->base_field}];
$info['input'][$row->{$view->base_field}]['parent'] = $input[$info['hierarchy']['field']['field_name'] . '_' . $row->{$view->base_field}];
}
}
......@@ -434,7 +434,7 @@ function draggableviews_discover_handlers($filter_handler = NULL) {
$cache = array();
// Get implementation definitions from all modules.
foreach (module_implements('draggableviews_handlers') as $module) {
$function = $module .'_draggableviews_handlers';
$function = $module . '_draggableviews_handlers';
$result = $function();
if (!is_array($result)) {
continue;
......@@ -450,7 +450,7 @@ function draggableviews_discover_handlers($filter_handler = NULL) {
$def['file'] = "$handler.inc";
}
if (!isset($def['handler'])) {
$def['handler'] = 'draggableviews_handler_'. $handler;
$def['handler'] = 'draggableviews_handler_' . $handler;
}
// Merge the new data.
$cache[$handler] = $def;
......@@ -552,7 +552,7 @@ function draggableviews_draggableviews_style_plugin_render(&$form) {
function draggableviews_views_api() {
return array(
'api' => 2.0,
'path' => drupal_get_path('module', 'draggableviews') .'/views',
'path' => drupal_get_path('module', 'draggableviews') . '/views',
);
}
......
......@@ -7,7 +7,7 @@
function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_plugin_name) {
$view = $vars['view'];
// COPY BEGIN from theme.inc,v 1.84.2.14 (2010/06/16). lines 304-404.
// We need the raw data for this grouping, which is passed in as $vars['rows'].
......@@ -58,7 +58,7 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_p
$label .= theme('tablesort_indicator', $initial);
}
$link_options = array(
'html' => true,
'html' => TRUE,
'attributes' => array('title' => $title),
'query' => 'order=' . urlencode($field) . '&sort=' . $initial . $query,
);
......@@ -117,14 +117,14 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_p
drupal_add_js('misc/tableheader.js');
$vars['class'] .= " sticky-enabled";
}
$vars['class'] .= ' cols-'. count($vars['rows']);
$vars['class'] .= ' cols-' . count($vars['rows']);
// COPY END
// Draggableviews output begin
$vars['tabledrag_table_id'] = 'draggableview_'. $view->name .'_'. $vars['id'];
$vars['tabledrag_table_id'] = 'draggableview_' . $view->name . '_' . $vars['id'];
$info = $view->draggableviews_info;
$form_elements = &$view->form_elements;
......@@ -146,7 +146,7 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_p
$node = node_load(array('nid' => $nid));
if (isset($info['types'][$node->type])) {
// set node type specification, if available (e.g. tabledrag-root)
$vars['tabledrag_type'][$i] = 'tabledrag-'. $info['types'][$node->type];
$vars['tabledrag_type'][$i] = 'tabledrag-' . $info['types'][$node->type];
}
}
......@@ -173,7 +173,7 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_p
// Get the form element. The field_ prefix prevents a possible conflict
// with the hidden_nid field.
$form_element = &$form_elements[$i]['field_'. $field['field_name']];
$form_element = &$form_elements[$i]['field_' . $field['field_name']];
// Render the new form element.
$vars['rows'][$i][$field['field_name']] = drupal_render($form_element);
......@@ -202,7 +202,7 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_p
// Let extension modules alter the output.
foreach (module_implements('draggableviews_row_alter') as $module) {
$function = $module .'_draggableviews_row_alter';
$function = $module . '_draggableviews_row_alter';
$function($vars['rows'][$i], $nid, $info, $view);
}
}
......@@ -250,7 +250,7 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_p
// Check if "expand" links should be shown.
if ($info['expand_links']['show']) {
drupal_add_js(drupal_get_path('module', 'draggableviews') .'/draggableviews.js');
drupal_add_js(drupal_get_path('module', 'draggableviews') . '/draggableviews.js');
// Let javascript know about the parent field.
drupal_add_js(array(
......@@ -287,7 +287,7 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars, $style_p
}
}
drupal_add_css(drupal_get_path('module', 'draggableviews') .'/styles.css');
drupal_add_css(drupal_get_path('module', 'draggableviews') . '/styles.css');
}
function template_preprocess_draggableviews_view_draggabletable_form(&$vars) {
......@@ -298,7 +298,7 @@ function template_preprocess_draggableviews_view_draggabletable_form(&$vars) {
// Keep the already created form elements "in mind". We'll need them later when we theme the view.
$style_plugin->view->form_elements = &$vars['form']['rows'];
$vars['view'] = theme($style_plugin->theme_functions(), $style_plugin->view, $style_plugin->options, $style_plugin->view->result, '');
// Don't render the submit form..
......@@ -319,8 +319,8 @@ function template_preprocess_draggableviews_view_draggabletable_form(&$vars) {
function theme_draggableviews_ui_style_plugin_draggabletable($form) {
unset($form['order']);
unset($form['default']);
// The following lines are a modification of: views/includes/admin.inc,v 1.161.2.12 2010/06/17 02:45:36 merlinofchaos. Lines 3060 - 3101.
// The following lines are a modification of: views/includes/admin.inc,v 1.161.2.12 2010/06/17 02:45:36 merlinofchaos. Lines 3060 - 3101.
$output = drupal_render($form['description_markup']);
$header = array(
......@@ -416,7 +416,7 @@ function theme_draggableviews_ui_style_plugin_draggabletable($form) {
// Let extension modules append to the output
$extensions = array();
foreach (module_implements('draggableviews_style_plugin_render') as $module) {
$function = $module .'_draggableviews_style_plugin_render';
$function = $module . '_draggableviews_style_plugin_render';
$extensions[] = $function($form);
}
......
......@@ -15,7 +15,7 @@ function draggableviews_book_help($path, $arg) {
$output = '';
switch ($path) {
case "admin/help#draggableviews_book":
$output = '<p>'. t("Book-support") .'</p>';
$output = '<p>' . t("Book-support") . '</p>';
break;
}
return $output;
......@@ -52,17 +52,17 @@ function draggableviews_book_draggableviews_style_plugin_form_alter(&$form, $for
$arguments = array();
foreach ($style_plugin->view->get_items('argument', $style_plugin->display->id) AS $arg_id => $settings) {
$arguments[$arg_id] = $settings['table'] .'.'. $settings['field'] .': '. $arg_id;
$arguments[$arg_id] = $settings['table'] . '.' . $settings['field'] . ': ' . $arg_id;
}
if(empty($arguments)) {
if (empty($arguments)) {
$arguments = array('none' => t('- None -'));
}
$filters = array();
foreach ($style_plugin->view->get_items('filter', $style_plugin->display->id) AS $filter_id => $settings) {
$filters[$filter_id] = $settings['table'] .'.'. $settings['field'] .': '. $filter_id;
$filters[$filter_id] = $settings['table'] . '.' . $settings['field'] . ': ' . $filter_id;
}
if(empty($filters)) {
if (empty($filters)) {
$filters = array('none' => t('- None -'));
}
......@@ -95,7 +95,7 @@ function draggableviews_book_draggableviews_style_plugin_form_alter(&$form, $for
function draggableviews_book_draggableviews_style_plugin_render(&$form) {
$header = drupal_render($form['draggableviews_book_header']);
$rows = array(
array(drupal_render($form['draggableviews_book_radios'][0]), '&nbsp;'),
array(drupal_render($form['draggableviews_book_radios'][1]), drupal_render($form['draggableviews_book_argument'])),
......
......@@ -5,7 +5,7 @@
*/
/**
* Implementation of hook_views_data()
* Implements of hook_views_data().
*/
function draggableviews_book_views_data() {
// Book hierarchy and weight data are now in {menu_links}.
......@@ -31,7 +31,7 @@ function draggableviews_book_views_data() {
}
/**
* Implementation of hook_views_handlers() to register all of the basic handlers
* Implements of hook_views_handlers() to register all of the basic handlers
* views uses.
*/
function draggableviews_book_views_handlers() {
......
<?php
/**
* @file
* Draggableviews views handler argument.
*/
/**
* Argument that refers to a certain book page.
......
......@@ -15,7 +15,7 @@ function draggableviews_cck_help($path, $arg) {
$output = '';
switch ($path) {
case "admin/help#draggableviews_cck":
$output = '<p>'. t("CCK-support for order fields") .'</p>';
$output = '<p>' . t("CCK-support for order fields") . '</p>';
break;
}
return $output;
......
......@@ -15,8 +15,8 @@ function draggableviews_taxonomy_help($path, $arg) {
$output = '';
switch ($path) {
case "admin/help#draggableviews_taxonomy":
$output = '<p>'. t("Taxonomy support for both order fields and parent fields.") .'</p>';
$output .= '<p>'. t("Hint: Use Views relations to turn the Taxonomy: Term ID field into a parent field.") .'</p>';
$output = '<p>' . t("Taxonomy support for both order fields and parent fields.") . '</p>';
$output .= '<p>' . t("Hint: Use Views relations to turn the Taxonomy: Term ID field into a parent field.") . '</p>';
break;
}
return $output;
......
......@@ -14,7 +14,7 @@ function draggableviews_views_plugins() {
'style' => array(
'draggabletable' => array(
'path' => drupal_get_path('module', 'draggableviews') .'/views',
'path' => drupal_get_path('module', 'draggableviews') . '/views',
'title' => t('Draggable Table'),
'help' => t('Displays rows in a table and makes them draggable.'),
'handler' => 'draggableviews_plugin_style_draggabletable',
......@@ -37,7 +37,7 @@ function draggableviews_views_plugins() {
function draggableviews_views_handlers() {
return array(
'info' => array(
'path' => drupal_get_path('module', 'draggableviews') .'/views/handlers',
'path' => drupal_get_path('module', 'draggableviews') . '/views/handlers',
),
'handlers' => array(
......@@ -70,7 +70,7 @@ function draggableviews_views_data() {
foreach ($base_tables AS $base_field => $base_table) {
for ($i = 0; $i < 2; $i++) {
$data['draggableviews_structure_'. $base_table . $i]['table'] = array(
$data['draggableviews_structure_' . $base_table . $i]['table'] = array(
'group' => t('DraggableViews'),
'join' => array(
$base_table => array(
......@@ -88,7 +88,7 @@ function draggableviews_views_data() {
),
),
);
$data['draggableviews_structure_'. $base_table . $i]['value'. $i] = array(
$data['draggableviews_structure_' . $base_table . $i]['value' . $i] = array(
'real field' => 'value',
'title' => t($i == 0 ? 'Order' : 'Parent'),
'field' => array(
......@@ -99,7 +99,7 @@ function draggableviews_views_data() {
),
);
if ($i == 0) {
$data['draggableviews_structure_'. $base_table . $i]['value'. $i]['sort'] = array(
$data['draggableviews_structure_' . $base_table . $i]['value' . $i]['sort'] = array(
'handler' => 'views_handler_sort_draggableviews_structure',
'help' => t('Sort by value'),
);
......@@ -113,7 +113,7 @@ function draggableviews_views_data() {
function draggableviews_views_query_alter(&$view, &$query) {
$exists = FALSE;
for ($i = 0; $i < 2; $i++) {
if (isset($query->table_queue['draggableviews_structure_'. $view->base_table . $i])) {
if (isset($query->table_queue['draggableviews_structure_' . $view->base_table . $i])) {
$exists = TRUE;
}
}
......@@ -146,8 +146,8 @@ function draggableviews_views_query_alter(&$view, &$query) {
}
for ($i = 0; $i < 2; $i++) {
if (isset($query->table_queue['draggableviews_structure_'. $view->base_table . $i])) {
$query->table_queue['draggableviews_structure_'. $view->base_table . $i]['join']->extra[] = array(
if (isset($query->table_queue['draggableviews_structure_' . $view->base_table . $i])) {
$query->table_queue['draggableviews_structure_' . $view->base_table . $i]['join']->extra[] = array(
'field' => 'view_name',
'operator' => '=',
'value' => $view->name,
......@@ -158,7 +158,7 @@ function draggableviews_views_query_alter(&$view, &$query) {
$args = implode('/', $view->args);
}
}
$query->table_queue['draggableviews_structure_'. $view->base_table . $i]['join']->extra[] = array(
$query->table_queue['draggableviews_structure_' . $view->base_table . $i]['join']->extra[] = array(
'field' => 'args',
'operator' => '=',
'value' => $args,
......
......@@ -105,7 +105,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
}
// Check button text.
if (!(isset($this->options['draggableviews_button_text']) && strlen($this->options['draggableviews_button_text']) > 0)) {
if (!(isset($this->options['draggableviews_button_text']) && drupal_strlen($this->options['draggableviews_button_text']) > 0)) {
$errors[] = t('Display "@display": Draggableviews: Button text must be a valid string.', array('@display' => $this->display->display_title));
}
......@@ -202,7 +202,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
'#weight' => 9,
'field' => array(
'#type' => 'select',
'#options' => array('none' => '- '. t('none') .' -') + _draggableviews_filter_fields(array('order'), $handlers),
'#options' => array('none' => '- ' . t('none') . ' -') + _draggableviews_filter_fields(array('order'), $handlers),
'#default_value' => $current['tabledrag_order']['field'],
),
'handler' => array(
......@@ -225,7 +225,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
'#weight' => 10,
'field' => array(
'#type' => 'select',
'#options' => array('none' => '- '. t('none') .' -') + _draggableviews_filter_fields(array('nodereference'), $handlers),
'#options' => array('none' => '- ' . t('none') . ' -') + _draggableviews_filter_fields(array('nodereference'), $handlers),
'#default_value' => $current['tabledrag_hierarchy']['field'],
),
'handler' => array(
......@@ -268,7 +268,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
for ($i = 0, $index = 0; $i < count($current['tabledrag_types']) + ($extra_row == TRUE ? 1 : 0); $i++) {
// if option should be deleted, continue loop
if (isset($input['tabledrag_types_del_'. $i])) continue;
if (isset($input['tabledrag_types_del_' . $i])) continue;
$form['tabledrag_types'][$index] = array(
'node_type' => array(
......@@ -283,7 +283,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
),
'tabledrag_type_del_button' => array(
'#type' => 'button',
'#name' => 'tabledrag_types_del_'. $index,
'#name' => 'tabledrag_types_del_' . $index,
'#default_value' => t('Delete'),
),
);
......@@ -350,7 +350,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
// Let extension modules alter the output
foreach (module_implements('draggableviews_style_plugin_form_alter') as $module) {
$function = $module .'_draggableviews_style_plugin_form_alter';
$function = $module . '_draggableviews_style_plugin_form_alter';
$function($form, $form_state, $this);
}
}
......@@ -364,7 +364,7 @@ class draggableviews_plugin_style_draggabletable extends views_plugin_style_tabl
// the same page we need to use an unique form_id for each display.
// Same displays of the same view can share the same id because the
// concerned views object is the same.
$form_id = 'draggableviews_view_draggabletable_form_'. $this->view->name .'_'. $this->view->current_display;
$form_id = 'draggableviews_view_draggabletable_form_' . $this->view->name . '_' . $this->view->current_display;
return drupal_get_form($form_id, $this);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment