[ros-diffs] [cfinck] 38054: - Remove wrong uses of addslashes() from getbuilds. These calls are not needed anymore since r32649. - Remove an unused style selector from "menu.css".

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sat Dec 13 22:37:43 CET 2008


Author: cfinck
Date: Sat Dec 13 15:37:42 2008
New Revision: 38054

URL: http://svn.reactos.org/svn/reactos?rev=38054&view=rev
Log:
- Remove wrong uses of addslashes() from getbuilds.
  These calls are not needed anymore since r32649.
- Remove an unused style selector from "menu.css".

Modified:
    trunk/web/reactos.org/htdocs/getbuilds/index.php
    trunk/web/reactos.org/htdocs/shared/css/menu.css

Modified: trunk/web/reactos.org/htdocs/getbuilds/index.php
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/getbuilds/index.php?rev=38054&r1=38053&r2=38054&view=diff
==============================================================================
--- trunk/web/reactos.org/htdocs/getbuilds/index.php [iso-8859-1] (original)
+++ trunk/web/reactos.org/htdocs/getbuilds/index.php [iso-8859-1] Sat Dec 13 15:37:42 2008
@@ -110,19 +110,19 @@
 		<div id="js_stuff">
 			<table id="showrev" cellspacing="0" cellpadding="5">
 				<tr>
-					<td><?php echo addslashes($getbuilds_langres["showrevfiles"]); ?>: </td>
+					<td><?php echo $getbuilds_langres["showrevfiles"]; ?>: </td>
 					<td>
 						<span id="revcontrols">
-							<img src="images/leftarrow.gif" alt="&lt;" title="<?php echo addslashes($getbuilds_langres["prevrev"]); ?>" onclick="PrevRev();"> 
+							<img src="images/leftarrow.gif" alt="&lt;" title="<?php echo $getbuilds_langres["prevrev"]; ?>" onclick="PrevRev();"> 
 							<input type="text" id="revnum" value="<?php echo $rev; ?>" size="12" onkeyup="CheckRevNum(this);"> 
-							<img src="images/rightarrow.gif" alt="&gt;" title="<?php echo addslashes($getbuilds_langres["nextrev"]); ?>" onclick="NextRev();"><br>
+							<img src="images/rightarrow.gif" alt="&gt;" title="<?php echo $getbuilds_langres["nextrev"]; ?>" onclick="NextRev();"><br>
 						</span>
 						
-						<img src="images/info.gif" alt="INFO:"> <?php printf(addslashes($getbuilds_langres["rangeinfo"]), $rev, ($rev - 50), $rev); ?>
+						<img src="images/info.gif" alt="INFO:"> <?php printf($getbuilds_langres["rangeinfo"], $rev, ($rev - 50), $rev); ?>
 					</td>
 				</tr>
 				<tr>
-					<td><?php echo addslashes($getbuilds_langres["isotype"]); ?>: </td>
+					<td><?php echo $getbuilds_langres["isotype"]; ?>: </td>
 					<td>
 						<input type="checkbox" id="bootcd-dbg" checked="checked"> Debug Boot CDs 
 						<input type="checkbox" id="livecd-dbg" checked="checked"> Debug Live CDs 
@@ -133,10 +133,10 @@
 			</table>
 	
 			<div id="controlbox">
-				<input type="button" onclick="ShowRev();" value="<?php echo addslashes($getbuilds_langres["showrev"]); ?>" />
+				<input type="button" onclick="ShowRev();" value="<?php echo $getbuilds_langres["showrev"]; ?>" />
 				
 				<span id="ajax_loading">
-					<img src="../shared/images/ajax_loading.gif" alt=""> <?php echo addslashes($getbuilds_langres["gettinglist"]); ?>...
+					<img src="../shared/images/ajax_loading.gif" alt=""> <?php echo $getbuilds_langres["gettinglist"]; ?>...
 				</span>
 			</div>
 	
@@ -144,14 +144,14 @@
 				<table class="datatable" cellspacing="0" cellpadding="1">
 					<thead>
 						<tr class="head">
-							<th class="fname"><?php echo addslashes($getbuilds_langres["filename"]); ?></th>
-							<th class="fsize"><?php echo addslashes($getbuilds_langres["filesize"]); ?></th>
-							<th class="fdate"><?php echo addslashes($getbuilds_langres["filedate"]); ?></th>
+							<th class="fname"><?php echo $getbuilds_langres["filename"]; ?></th>
+							<th class="fsize"><?php echo $getbuilds_langres["filesize"]; ?></th>
+							<th class="fdate"><?php echo $getbuilds_langres["filedate"]; ?></th>
 						</tr>
 					</thead>
 					<tbody>
 						<tr class="odd">
-							<td><?php echo addslashes($getbuilds_langres["pleasewait"]); ?>...</td>
+							<td><?php echo $getbuilds_langres["pleasewait"]; ?>...</td>
 							<td>&nbsp;</td>
 							<td>&nbsp;</td>
 						</tr>

Modified: trunk/web/reactos.org/htdocs/shared/css/menu.css
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/shared/css/menu.css?rev=38054&r1=38053&r2=38054&view=diff
==============================================================================
--- trunk/web/reactos.org/htdocs/shared/css/menu.css [iso-8859-1] (original)
+++ trunk/web/reactos.org/htdocs/shared/css/menu.css [iso-8859-1] Sat Dec 13 15:37:42 2008
@@ -13,15 +13,6 @@
 	background-color: #5984C3;
 	padding: 0px 0px 1px 10px;
 	margin-top: 0;
-}
-
-.contentSmallTitle {
-	font-size: 14px;
-	font-weight: bold;
-	color: white;
-	background-color: #5984C3;
-	padding: 0px 0px 1px 10px;
-	margin-bottom: 3px;
 }
 
 h1 a {



More information about the Ros-diffs mailing list