Update of /cvsroot/openfirst/awards/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17561/awards/admin
Modified Files:
index.php
Log Message:
Fixed a bug with the image, fixed <br>s
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/awards/admin/index.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** index.php 14 Mar 2005 02:36:52 -0000 1.19
--- index.php 14 Mar 2005 02:41:13 -0000 1.20
***************
*** 159,163 ****
</tr>
<tr>
! <th>Description<br>(leave blank for FIRST Awards)</th>
<td><textarea name="description" cols="30" rows="5"><?php echo $award->Description; ?></textarea></td>
</tr>
--- 159,163 ----
</tr>
<tr>
! <th>Description<br />(leave blank for FIRST Awards)</th>
<td><textarea name="description" cols="30" rows="5"><?php echo $award->Description; ?></textarea></td>
</tr>
***************
*** 173,187 ****
<td><div align="center">
<input name="type" type="radio" value="gold" <?php
! if (strcasecmp($award->Image, 'gold') == 0) echo 'selected';
?>>
</div></td>
<td><div align="center">
<input type="radio" name="type" value="silver" <?php
! if (strcasecmp($award->Image, 'silver') == 0) echo 'selected';
?>>
</div></td>
<td><div align="center">
<input type="radio" name="type" value="bronze" <?php
! if (strcasecmp($award->Image, 'bronze') == 0) echo 'selected';
?>>
</div></td>
--- 173,187 ----
<td><div align="center">
<input name="type" type="radio" value="gold" <?php
! if (strcasecmp($award->Image, 'gold') == 0) echo 'checked="checked"';
?>>
</div></td>
<td><div align="center">
<input type="radio" name="type" value="silver" <?php
! if (strcasecmp($award->Image, 'silver') == 0) echo 'checked="checked"';
?>>
</div></td>
<td><div align="center">
<input type="radio" name="type" value="bronze" <?php
! if (strcasecmp($award->Image, 'bronze') == 0) echo 'checked="checked"';
?>>
</div></td>
|