From: <tim...@us...> - 2012-01-19 12:11:10
|
Revision: 4812 http://web-erp.svn.sourceforge.net/web-erp/?rev=4812&view=rev Author: tim_schofield Date: 2012-01-19 12:10:59 +0000 (Thu, 19 Jan 2012) Log Message: ----------- Merge Tims branch into trunk: Fix xhtml errors Modified Paths: -------------- trunk/Labels.php Modified: trunk/Labels.php =================================================================== --- trunk/Labels.php 2012-01-19 11:58:08 UTC (rev 4811) +++ trunk/Labels.php 2012-01-19 12:10:59 UTC (rev 4812) @@ -276,17 +276,17 @@ <table border="2" cellspacing="4" class="selection"> <tbody> <tr> - <td align="center"><img src="'.$rootpath.'/css/paramsLabel.png" align="top" border="0"></td> + <td align="center"><img src="'.$rootpath.'/css/paramsLabel.png" align="top" border="0" ></td> <td>'.$tableGD.'</td> </tr> - <tr> - <td align="center"><IMG src="'.$rootpath.'/css/labelsDim.png" align="top" border="0"></td> + <tr>/ + <td align="center"><IMG src="'.$rootpath.'/css/labelsDim.png" align="top" border="0" /></td> <td>'.$tableLines.'</td> </tr> </tbody> </table> - <br /><input type="submit" name="'.$name.'" value="'.$value.'"> - <input type="submit" name="Cancel" value="'.$vCancel.'"> + <br /><input type="submit" name="'.$name.'" value="'.$value.'" /> + <input type="submit" name="Cancel" value="'.$vCancel.'" /> </form>'; } @@ -319,8 +319,7 @@ $ro=''; if ($readonly AND $specialTag==$iTag) $ro='readonly '; - $input = '<input type="text" name="'. $iTag .'" value="'. $vDat .'" - size="'. $tag['sz'] .'" maxlength="'. $tag['maxsz'] .'"'. $ro .'>'; + $input = '<input type="text" name="'. $iTag .'" value="'. $vDat .'" size="'. $tag['sz'] .'" maxlength="'. $tag['maxsz'] .'"'. $ro .' />'; } if (!$iCol++) // when zero begins a line $html .= ' @@ -386,8 +385,7 @@ $input .= ' </select>'; } else { - $input = '<INPUT type="text" name="'. $iTag .'[]" value="'. $vDat .'" - size="'. $tag['sz'] .'" maxlength="'. $tag['maxsz'] .'">'; + $input = '<input type="text" name="'. $iTag .'[]" value="'. $vDat .'" size="'. $tag['sz'] .'" maxlength="'. $tag['maxsz'] .'" />'; } $html .= ' <td align="center">' . $input . '</td>'; @@ -437,7 +435,7 @@ <th>'.$txt[0].'</th> <th>'.$txt[1].'</th> <th>'.$txt[2].'</th> - <th><input type="submit" name="new" onclick="submitForm(\'form1\',\'New\',\'\');" value="'.$txt[3].'"> + <th><input type="submit" name="new" onclick="submitForm(\'form1\',\'New\',\'\');" value="'.$txt[3].'" /> </th> </tr> </thead> @@ -448,12 +446,9 @@ <tr><td>'. $label->id . '</td> <td>'. $label->description . '</td> <td><div class="centre">'. $dim . '</div></td> - <td><input type="submit" onclick="submitForm('. "'form1','Edit','". $label->id . "');" .'" value="' . - $txt[4]. '"> - <input type="submit" onclick="submitForm('. "'form1','Copy','". $label->id . "');" .'" value="' . - $txt[5]. '"> - <input type="submit" onclick="areYouSure('. "'form1','Delete','". $label->id . "');" .'" value="' . - $txt[6]. '"> + <td><input type="submit" onclick="submitForm('. "'form1','Edit','". $label->id . "');" .'" value="' . $txt[4]. '" /> + <input type="submit" onclick="submitForm('. "'form1','Copy','". $label->id . "');" .'" value="' . $txt[5]. '" /> + <input type="submit" onclick="areYouSure('. "'form1','Delete','". $label->id . "');" .'" value="' . $txt[6]. '" /> </td> </tr>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |