appdb/include version.php
ChangeSet ID: 30209 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/11/30 20:55:09 Modified files: include : version.php Log message: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Quote output parameters used in <input> tags, otherwise empty variables will end up incorrectly pulling in the / from the end of a <input /> tag Patch: http://cvs.winehq.org/patch.py?id=30209 Old revision New revision Changes Path 1.84 1.85 +4 -4 appdb/include/version.php Index: appdb/include/version.php diff -u -p appdb/include/version.php:1.84 appdb/include/version.php:1.85 --- appdb/include/version.php:1.84 1 Dec 2006 2:55: 9 -0000 +++ appdb/include/version.php 1 Dec 2006 2:55: 9 -0000 @@ -540,7 +540,7 @@ class Version { echo html_frame_start("Version Form", "90%", "", 0); echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n"; - echo '<input type="hidden" name="iVersionId" value='.$this->iVersionId.' />'; + echo '<input type="hidden" name="iVersionId" value="'.$this->iVersionId.'" />'; if($editParentApplication) { @@ -552,7 +552,7 @@ class Version { echo '</td></tr>',"\n"; } else { - echo '<input type="hidden" name="iAppId" value='.$this->iAppId.' />'; + echo '<input type="hidden" name="iAppId" value="'.$this->iAppId.'" />'; } // version name @@ -583,8 +583,8 @@ class Version { echo html_frame_end(); } else { - echo '<input type="hidden" name="sMaintainerRating" value='.$this->sTestedRating.' />'; - echo '<input type="hidden" name="sMaintainerRelease" value='.$this->sTestedRelease.' />'; + echo '<input type="hidden" name="sMaintainerRating" value="'.$this->sTestedRating.'" />'; + echo '<input type="hidden" name="sMaintainerRelease" value="'.$this->sTestedRelease.'" />'; } }
participants (1)
-
WineHQ