r77626 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77625‎ | r77626 | r77627 >
Date:00:25, 3 December 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added new sfgFancyBoxInputs PHP/JS global variable
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormUtils.php (modified) (history)
  • /trunk/extensions/SemanticForms/includes/SF_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php
@@ -12,7 +12,8 @@
1313 static function setGlobalJSVariables( &$vars ) {
1414 global $sfgAdderButtons, $sfgRemoverButtons;
1515 global $sfgAutocompleteMappings, $sfgAutocompleteDataTypes, $sfgAutocompleteValues;
16 - global $sfgAutocompleteOnAllChars, $sfgComboBoxInputs, $sfgAutogrowInputs;
 16+ global $sfgAutocompleteOnAllChars;
 17+ global $sfgComboBoxInputs, $sfgAutogrowInputs, $sfgFancyBoxInputs;
1718 global $sfgJSValidationCalls, $sfgShowOnSelectCalls;
1819
1920 $vars['sfgRemoveText'] = wfMsg( 'sf_formedit_remove' );
@@ -26,6 +27,7 @@
2728 $vars['sfgAutocompleteDataTypes'] = (object)$sfgAutocompleteDataTypes;
2829 $vars['sfgComboBoxInputs'] = $sfgComboBoxInputs;
2930 $vars['sfgAutogrowInputs'] = $sfgAutogrowInputs;
 31+ $vars['sfgFancyBoxInputs'] = $sfgFancyBoxInputs;
3032 $vars['sfgFormErrorsHeader'] = wfMsg( 'sf_formerrors_header' );
3133 $vars['sfgBlankErrorStr'] = wfMsg( 'sf_blank_error' );
3234 $vars['sfgBadURLErrorStr'] = wfMsg( 'sf_bad_url_error' );
Index: trunk/extensions/SemanticForms/includes/SF_Settings.php
@@ -124,3 +124,4 @@
125125 $sfgAutocompleteValues = array();
126126 $sfgComboBoxInputs = array();
127127 $sfgAutogrowInputs = array();
 128+$sfgFancyBoxInputs = array();

Status & tagging log