r35864 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35863‎ | r35864 | r35865 >
Date:15:46, 4 June 2008
Author:yaron
Status:old
Tags:
Comment:
Replaced '$this' calls with static 'SFFormInputs' calls
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormInputs.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.inc
@@ -172,7 +172,7 @@
173173 } else {
174174 $delimiter = ",";
175175 }
176 - $cur_values = $this->getValuesArray($cur_value, $delimiter);
 176+ $cur_values = SFFormInputs::getValuesArray($cur_value, $delimiter);
177177
178178 $text =<<<END
179179 <select id="$input_id" tabindex="$sfgTabIndex" name="$input_name" class="$className" multiple $disabled_text>
@@ -464,7 +464,7 @@
465465 $timezone = "";
466466 }
467467
468 - list($text, $javascript_text) = $this->dateEntryHTML($datetime, $input_name, $is_mandatory, $is_disabled, $other_args);
 468+ list($text, $javascript_text) = SFFormInputs::dateEntryHTML($datetime, $input_name, $is_mandatory, $is_disabled, $other_args);
469469 $disabled_text = ($is_disabled) ? "disabled" : "";
470470 $text .= ' &nbsp;<input tabindex="' . $sfgTabIndex . '" name="' . $input_name . '[hour]" type="text" value="' . $hour . '" size="2"/ ' . $disabled_text . '>';
471471 $sfgTabIndex++;

Status & tagging log