r94789 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94788‎ | r94789 | r94790 >
Date:18:31, 17 August 2011
Author:yaron
Status:deferred
Tags:
Comment:
Better color for Page Schemas form section
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Utils.php
@@ -255,7 +255,7 @@
256256 $obj = $pageSchemaObj->getObject('Form');
257257 $form_array = $obj['sf'];
258258
259 - $form_html_text .= '<fieldset style="background: #00FF00;"><legend>Form</legend>
 259+ $form_html_text .= '<fieldset style="background: #CF9;"><legend>Form</legend>
260260 <p> Name: <input size="15" name="sf_form_name_starter" value= "'.$form_array['name'].'" ></p>
261261 <p> Page name formula: <input size="20" name="sf_page_name_formula_starter" value="'.$form_array['PageNameFormula'].'" ></p>
262262 <p> Create tite: <input size="25" name="sf_create_title_starter" value="'.$form_array['CreateTite'].'" ></p>
@@ -269,7 +269,7 @@
270270 $field_count++;
271271 $sf_array = $field->getObject('FormInput');//this returns an array with property values filled
272272 $form_input_array = $sf_array['sf'];
273 - $html_text = '<fieldset style="background: #00FF00;"><legend>Form input</legend>
 273+ $html_text = '<fieldset style="background: #CF9;"><legend>Form input</legend>
274274 <p> Input type: <input size="15" name="sf_input_type_starter" value='.$form_input_array['InputType'].'></p>
275275 <p>Parameter name and its value as a key=value pair,seperated by comma (if a value contains a comma, replace it with "\,"): For eg. Size=20,mandatory=true</p>';
276276 $param_value_str= "";