[Archon-L] Question about controlcard.inc.php

Scott Schwartz schwrtzs at uiuc.edu
Fri Apr 13 10:07:10 MDT 2007


Mickey,
Thanks for the note.  This shouldn't have been hard coded into the 
programming.  Let's see what our programmers can do to make sure this 
doesn't happen again.  Scott

Mickey Soltys wrote:

>I noticed that there are some addresses hard coded in the default
>version of controlcard.inc.php. The code is as follows and starts around
>line 548:
>
><?php
>	foreach ($objCollection->LocationEntries as $loc)
>	{	
>?>	
>			<tr>
> 			<td><?php echo($loc->Content);?></td> <?php
>		if ($loc->LocationID<5 || ($loc->LocationID>7 and
>$loc->LocationID<22) )
>			{
>?>	
>			<td>Archives Research Center, 1707 S.
>Orchard</td>
>			
><?php
>			}
>		elseif ($loc->LocationID==23)
>			{
>?>	
>			<td>SACAM, Band Building</td>
>			
><?php
>			}
>
>		elseif ($loc->LocationID>=27)
>			{
>?>	
>			<td>19 Library, 1408 W. Gregory Drive</td>
>	
>
>Has anyone else noticed this? I had to hack this to display the correct
>address for our institution. Is there a plan to incorporate these
>locations into the Archon database?
>
>Thanks,
>
>Mickey Soltys
>Morris Library
>Southern Illinois University
>Carbondale, IL
>
>_______________________________________________
>Archon mailing list
>Archon at archon.org
>http://archon.org/mailman/listinfo/archon_archon.org
>  
>




More information about the Archon mailing list