[Archon-L] Archon Digest, Vol 5, Issue 2

Sarah Sherman ssherman at jewisharchives.net
Fri Jun 8 14:21:20 MDT 2007


Patrick:

Unfortunately there seems to be a glitch in the ARCHON installation program.
Our web designer has had equal problems and has spent many hours on the line
with their tech support.  Though everything seemed to be set up perfectly
and we followed the installation instructions to the letter, ARCHON kept
returning an error message that it could not find or connect to the server.

First the program was randomly putting extra characters into the code.  Now
they think the problem is that our file server is not the same as our web
server and so that is why it's not connecting.  We haven't received a
definitive answer on that yet, though.

Anyway, I'm sorry I can't give you a positive answer, but at least you can
know that it's not you!  We're desperately trying to get it to work as well.

Good luck to us both!

Sandra Bulk
Managing Director
Philadelphia Jewish Archives Center
125 No. 8th St., Sixth Floor
Philadelphia, PA 19106-1531
215-925-8090, ext. 228
FAX: 215-925-8186
E-mail: sbulk at jewisharchives.net
Web: www.jewisharchives.net
 

-----Original Message-----
From: archon-bounces at archon.org [mailto:archon-bounces at archon.org] On Behalf
Of archon-request at archon.org
Sent: Thursday, June 07, 2007 2:59 PM
To: archon at archon.org
Subject: Archon Digest, Vol 5, Issue 2

Send Archon mailing list submissions to
	archon at archon.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://archon.org/mailman/listinfo/archon_archon.org
or, via email, send a message with subject or body 'help' to
	archon-request at archon.org

You can reach the person managing the list at
	archon-owner at archon.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Archon digest..."


Today's Topics:

   1. Error during installation (Patrick Boren)
   2. Browse by Location or Repository... (john lyles)
   3. Re: Error during installation (Chris Prom)
   4. Re: Browse by Location or Repository... (Chris Prom)


----------------------------------------------------------------------

Message: 1
Date: Thu, 7 Jun 2007 11:08:46 -0500
From: "Patrick Boren" <pboren at austincollege.edu>
Subject: [Archon-L] Error during installation
To: <archon at archon.org>
Message-ID:
	
<B70844F4BAC1854B94431C4DD06D8B5A025E7757 at admexbe01.admin.austincollege.edu>
	
Content-Type: text/plain; charset="us-ascii"

All,

 

After the files copy a web page opens with the following information:

 

DELETE FROM tblArchon_Sessions WHERE Expires <= '1181232112'SELECT *
FROM tblArchon_Usergroups ORDER BY UsergroupSELECT * FROM
tblArchon_Users ORDER BY DisplayNameSELECT Value FROM
tblArchon_Configuration WHERE Directive = 'SA Password'SELECT * FROM
tblArchon_ModuleCategories ORDER BY CategorySELECT tblArchon_Modules.*
FROM tblArchon_ModuleCategories JOIN tblArchon_Modules ON
tblArchon_ModuleCategories.ID = tblArchon_Modules.CategoryID ORDER BY
tblArchon_ModuleCategories.Category, tblArchon_Modules.ModuleSELECT *
FROM tblArchon_Configuration ORDER BY Directive

 

Does anyone know what I'm missing or doing wrong.  I need help, my
library wants to use this product and it has been a week we've been
working on installing this.  

 

Regards,


Patrick Boren
 
Network Administrator
* Email:   pboren at austincollege.edu <mailto:pboren at austincollege.edu>   
( Phone:  (903) 813-2564

( Cell:      (903) 818-1748

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://archon.org/pipermail/archon_archon.org/attachments/20070607/0ff0d91d/
attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2472 bytes
Desc: image001.jpg
Url :
http://archon.org/pipermail/archon_archon.org/attachments/20070607/0ff0d91d/
attachment-0001.jpe 

------------------------------

Message: 2
Date: Thu, 7 Jun 2007 12:41:25 -0400
From: "john lyles" <lyles.john at gmail.com>
Subject: [Archon-L] Browse by Location or Repository...
To: archon at archon.org
Message-ID:
	<ec9e5bdd0706070941g50cb75ceie07f6b4f9edbca61 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Has anyone attempted to create such a thing?

thanks
John Lyles
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://archon.org/pipermail/archon_archon.org/attachments/20070607/c7ba3f2b/
attachment-0001.html 

------------------------------

Message: 3
Date: Thu, 7 Jun 2007 13:49:36 -0500 (Central Daylight Time)
From: Chris Prom <prom at uiuc.edu>
Subject: Re: [Archon-L] Error during installation
To: Patrick Boren <pboren at austincollege.edu>
Cc: archon at archon.org
Message-ID: <Pine.WNT.4.64.0706071349140.2444 at libstfuar05.ad.uiuc.edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Patrick,

I believe this has been resolved on your end, but if not, please 
repost to the list.

Thanks,

Chris

--

Christopher J. Prom
Assistant University Archivist
University of Illinois Archives
19 Library
1408 W. Gregory Dr.
Urbana, IL 61801

phone:	217.333.0798
fax:	217.333.2868
e-mail:	prom at uiuc.edu
web:	http://web.library.uiuc.edu/ahx

On Thu, 7 Jun 2007, Patrick Boren wrote:

> All,
>
>
>
> After the files copy a web page opens with the following information:
>
>
>
> DELETE FROM tblArchon_Sessions WHERE Expires <= '1181232112'SELECT *
> FROM tblArchon_Usergroups ORDER BY UsergroupSELECT * FROM
> tblArchon_Users ORDER BY DisplayNameSELECT Value FROM
> tblArchon_Configuration WHERE Directive = 'SA Password'SELECT * FROM
> tblArchon_ModuleCategories ORDER BY CategorySELECT tblArchon_Modules.*
> FROM tblArchon_ModuleCategories JOIN tblArchon_Modules ON
> tblArchon_ModuleCategories.ID = tblArchon_Modules.CategoryID ORDER BY
> tblArchon_ModuleCategories.Category, tblArchon_Modules.ModuleSELECT *
> FROM tblArchon_Configuration ORDER BY Directive
>
>
>
> Does anyone know what I'm missing or doing wrong.  I need help, my
> library wants to use this product and it has been a week we've been
> working on installing this.
>
>
>
> Regards,
>
>
> Patrick Boren
>
> Network Administrator
> * Email:   pboren at austincollege.edu <mailto:pboren at austincollege.edu>
> ( Phone:  (903) 813-2564
>
> ( Cell:      (903) 818-1748
>
>
>
>



------------------------------

Message: 4
Date: Thu, 7 Jun 2007 13:59:15 -0500 (Central Daylight Time)
From: Chris Prom <prom at uiuc.edu>
Subject: Re: [Archon-L] Browse by Location or Repository...
To: john lyles <lyles.john at gmail.com>
Cc: archon at archon.org
Message-ID: <Pine.WNT.4.64.0706071349510.2444 at libstfuar05.ad.uiuc.edu>
Content-Type: text/plain; charset="us-ascii"


There is kind of a latent capacity to do this built into the 
API, but we have not implemented it here in the way you suggest.

However, In our output template for controlcard.php, we make the 
locations clickable so you can see whatelse is that room or shelf 
(when a staff member is logged in).  To do it outside of a single 
collections screen in the way you suggest would be a bit 
different.

Anyway, If you look at the code around line 516 in the attached 
file, you can see how it works on the collections page for us. 
(If you want to see how this looks in your archon, just replace 
the existing file controlcard.inc.php in our templates folder for 
your existing template set with the attached file, but please 
note we do some very specific testing on the values, so it may 
cause inconsistent results, and you should save your old file and 
restore it after you have viewed the results with our file.)

  Thanks,

Chris

--

Christopher J. Prom
Assistant University Archivist
University of Illinois Archives
19 Library
1408 W. Gregory Dr.
Urbana, IL 61801

phone:	217.333.0798
fax:	217.333.2868
e-mail:	prom at uiuc.edu
web:	http://web.library.uiuc.edu/ahx

On Thu, 7 Jun 2007, john lyles wrote:

> Has anyone attempted to create such a thing?
>
> thanks
> John Lyles
>
-------------- next part --------------
<?php
/**
 * Control Card template
 *
 * The variable:
 *
 *  $objCollection
 *
 * is an instance of a Collection object, with its properties
 * already loaded when this template is referenced.
 *
 * Refer to the Collection class definition in lib/collection.inc.php
 * for available properties and methods.
 *
 * The Archon API is also available through the variable:
 *
 *  $_ARCHON
 *
 * Refer to the Archon class definition in lib/archon.inc.php
 * for available properties and methods.
 *
 * @package Archon
 * @author Chris Rishel
 */
$objCollection->dbLoadDigitalContent();

$objCollection = map_recursive('ampentity', $objCollection);
$objCollection = map_recursive('ptag', $objCollection);

if($objCollection->Classification)
{
?>
    <a href='classification.php'>Top</a><?php echo($_ARCHON->Delimiter);
?><?php echo($objCollection->Classification->toString(LINK_EACH, false,
true, false, true, $_ARCHON->Delimiter)); echo($_ARCHON->Delimiter);
?><br><br>
<?php
}
?>
<span style='font-size:14pt;font-weight=bold'><?php
echo($objCollection->toString()); ?></span><br><br>
<?php
if($objCollection->Classification)
{
?>
<span style='font-weight:bold'>Record Series Number:</span> <?php
echo($objCollection->Classification->toString(LINK_NONE, true, false, true,
false)); ?>/<?php echo($objCollection->CollectionIdentifier); ?><br>
<?php
}



if($objCollection->Extent)
{
?>
<b>Volume:</b> <?php echo(preg_replace('/\.(\d)0/', ".$1",
$objCollection->Extent)); ?> <?php echo($objCollection->ExtentUnits); ?><br>
<?php
}

?>
<?php

if($objCollection->Arrangement)
{
?>
<b>Arrangement:</b> <?php echo($objCollection->Arrangement); ?><br>
<?php
}
?>
<br>
<?php


if($objCollection->Scope)
{
?>
<b>Description:</b> <?php echo($objCollection->Scope); ?><br><br>

<?php
}
?>

<table width="100%" border=0 cellpadding=0 cellspacing=0>
<?php
if(!empty($objCollection->DigitalContent))
{
?>
  <tr>
    <td width="150" valign="top"><b>Digital Archives:</b></td>
    <td><a href='#' onClick="toggleDisplay('digitalcontent'); return
false;"><img id='digitalcontentImage' border='0' src='images/plus.gif'>
<span style='font-weight:bold'>Show links</span></a></td>
  </tr>
    
  <tr style="display: none;" id="digitalcontentResults">
    <td width="150">&nbsp;</td>
    <td>
      <?php
echo($_ARCHON->createStringFromDigitalContentArray($objCollection->DigitalCo
ntent, "<br>\n", LINK_TOTAL)); ?>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php  
}  
?>

  <?php         //displays links to html and/or PDF finding aids
if(!empty($objCollection->Content)) //if there is an HTML finding aid,
always display it
    {
    ?>
    <tr>
    <td width='150'><b>Finding Aid:</b></td>      
    <td><a href='findingaid.php?id=<?php echo($objCollection->ID);
?>&q=<?php echo($_ARCHON->QueryStringURL); ?>'
onClick="javascript:urchinTracker ('/downloads/HTMLSFA');
">Formatted</a>&nbsp;&nbsp;&nbsp;<span
style='font-weight:bold'>or</span>&nbsp;&nbsp;&nbsp;<a
href='findingaid.php?id=<?php echo($objCollection->ID); ?>&amp;nostyle=1'
onClick="javascript:urchinTracker ('/downloads/PRINTLSFA');
">Printer-friendly</a></td></tr>
    <tr><td colspan="2">&nbsp;</td></tr>

    <?php
    }
if(!empty($objCollection->OtherURL))  //if there is a PDF finding aid,
always display it
    {
    ?>
    <tr>
    <td width='150'><b>Box List:</b></td>  
    <td style='font-weight:bold'><a href='<?php
echo($objCollection->OtherURL); ?>' onClick="javascript:urchinTracker
('/downloads/PDFSFA'); ">View Box List</a> (PDF)</td></tr>
    <tr><td colspan="2">&nbsp;</td></tr>
    <?php
    }
if(empty($objCollection->OtherURL) and empty($objCollection->Content))
//display the message only if there is no html or PDF finding aid
    {
    ?>
    <tr>
    <td width='150'><b>Box List:</b></td>  
    <td>None available online.  <a
href='http://web.library.uiuc.edu/ahx/email-ahx.asp'>Contact UIUC Archives'
staff for assistance.</td></tr>
    <tr><td colspan="2">&nbsp;</td></tr>
    <?php    
    }

?> 
 
</table>
<hr style='align:center;width:80%'><br>

<table width="100%" border=0 cellpadding=0 cellspacing=0>
<?php
if($objCollection->AcquisitionDate || $objCollection->AccrualInfo)
{
?>
  <tr>
    <td width="150" valign="top"><b>Acquired:</b></td><td>

<?php 
    if($objCollection->AcquisitionDate)
    {
    	echo($objCollection->AcquisitionDateMonth . '/' .
$objCollection->AcquisitionDateDay . '/' .
$objCollection->AcquisitionDateYear . ".  ");
    }
    if ($objCollection->AccrualInfo)
    {
    	echo($objCollection->AccrualInfo);
    }
?>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php
}
if(!empty($objCollection->Subjects))
{
    $GenreSubjectTypeID = $_ARCHON->getSubjectTypeIDFromString('Genre/Form
of Material');

    foreach($objCollection->Subjects as $objSubject)
    {
        if($objSubject->SubjectTypeID == $GenreSubjectTypeID)
        {
            $arrGenres[$objSubject->ID] = $objSubject;
        }
        else
        {
            $arrSubjects[$objSubject->ID] = $objSubject;
        }
    }

    if(!empty($arrSubjects))
    {
?>
  <tr>
    <td width="150" valign="top"><b>Subjects:</b></td>
    <td><a href='#' onClick="toggleDisplay('subjects'); return false;"><img
id='subjectsImage' border='0' src='images/plus.gif'> Show</a></td>
  </tr>
  <tr style="display: none;" id="subjectsResults">
    <td width="150">&nbsp;</td>
    <td>
      <?php echo($_ARCHON->createStringFromSubjectArray($arrSubjects,
"<br>\n", LINK_TOTAL)); ?>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php
    }

    if(!empty($arrGenres))
    {
?>
  <tr>
    <td width="150" valign="top"><b>Format:</b></td>
    <td>
      <?php echo($_ARCHON->createStringFromSubjectArray($arrGenres,
'</td></tr><tr><td>&nbsp;</td><td>', LINK_TOTAL)); ?>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php
    }
}
else
{
?>
  <tr>
    <td width="150" valign="top"><b>Subjects:</b></td>
    <td>None currently listed</td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php
}

if(!empty($objCollection->Creators))
{
?>
  <tr>
    <td width="150" valign="top"><b>Creator(s):</b></td>
    <td>
      <?php
echo($_ARCHON->createStringFromCreatorArray($objCollection->Creators,
'</td></tr><tr><td>&nbsp;</td><td>', LINK_TOTAL, TRUE)); ?>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php

    if($objCollection->PrimaryCreator->BiogHist)
    {
?>
  <tr>
    <td width="150" valign="top"><b>
<?php 
    
    if (trim($objCollection->PrimaryCreator->CreatorTypeID)=="27")
    {
        echo ("Historical Note:");
    }
    else
    {
        echo ("Biographical Note:");
    }
?>    
    </b></td>
    <td>
      <a href='#' onClick="toggleDisplay('BiogHist'); return false;"><img
id='BiogHistImage' border='0' src='images/plus.gif'> Show</a><br>
      <span id='BiogHistResults' style='display: none;'><br>
      <b></b> <?php echo($objCollection->PrimaryCreator->BiogHist); ?>
      </span>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php
    }
}
?>
<?php
if(!empty($objCollection->Languages))
{
?>
  <tr>
    <td width="150" valign="top"><b>Records are in:</b></td>
    <td>
      <?php
echo($_ARCHON->createStringFromLanguageArray($objCollection->Languages,
'</td></tr><tr><td>&nbsp;</td><td>', LINK_TOTAL)); ?>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php
}
else  //do nothing
{
}

if(!empty($objCollection->AccessRestrictions) ||
!empty($objCollection->UseRestrictions) ||
!empty($objCollection->PhysicalAccessNote) ||
!empty($objCollection->TechnicalAccessNote) ||
!empty($objCollection->AcquisitionSource) ||
!empty($objCollection->AcquisitionMethod) ||
!empty($objCollection->AppraisalInformation) ||
!empty($objCollection->CustodialHistory) ||
!empty($objCollection->OrigCopiesNote) ||
!empty($objCollection->OrigCopiesURL) ||
!empty($objCollection->RelatedMaterials) ||
!empty($objCollection->RelatedMaterialsURL) ||
!empty($objCollection->RelatedPublications) ||
!empty($objCollection->PreferredCitation) ||
!empty($objCollection->ProcessingInfo) ||
!empty($objCollection->RevisionHistory))
    //admin info exists
{
    ?>
      <tr>
        <td width="150" valign="top" style="font-weight:bold">Administrative
Information:</b></td>
        <td><a href='#' onClick="toggleDisplay('otherinformation'); return
false;"><img id='otherinformationImage' border='0' src='images/plus.gif'>
Show</a><br></td>
      </tr>
      <tr style="display: none;" id="otherinformationResults">
        <td></td>
      <td colspan=2>
          <table width=100%>
    <?php
    if($objCollection->AccessRestrictions)
    {
    ?>
            <tr>
              <td width="150"><b>Access Restrictions</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->AccessRestrictions); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->UseRestrictions)
    {
    ?>
            <tr>
              <td width="150"><b>Use Restrictions</b></td>
            </tr>
            <tr>
              <td>
                <?php var_dump($objCollection->UseRestrictions); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->PhysicalAccess)
    {
    ?>
            <tr>
              <td width="150"><b>Physical Access Note</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->PhysicalAccess); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->TechnicalAccess)
    {
    ?>
            <tr>
              <td width="150"><b>Technical Access Note</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->TechnicalAccess); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->AcquisitionSource)
    {
    ?>
            <tr>
              <td width="150"><b>Acquisition Source</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->AcquisitionSource); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->AcquisitionMethod)
    {
    ?>
            <tr>
              <td width="150"><b>Acquisition Method</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->AcquisitionMethod); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }if($objCollection->AppraisalInformation)
    {
    ?>
            <tr>
              <td width="150"><b>Appraisal Information</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->AppraisalInformation); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->CustodialHistory)
    {
    ?>
            <tr>
              <td width="150"><b>Custodial History</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->CustodialHistory); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->OrigCopiesNote || $objCollection->OrigCopiesURL)
    {
    ?>
            <tr>
              <td width="150"><b>Original/Copies Note:</b></td>
            </tr>
            <tr>
              <td>
    <?php
        if($objCollection->OrigCopiesNote)
        {
            echo($objCollection->OrigCopiesNote . "<br>\n");
        }
        if($objCollection->OrigCopiesURL)
        {
            echo("For more information please see <a
href='$objCollection->OrigCopiesURL'>$objCollection->OrigCopiesURL</a>.");
        }
    ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->RelatedMaterials ||
$objCollection->RelatedMaterialsURL)
    {
    ?>
            <tr>
              <td width="150"><b>Related Materials:</b></td>
            </tr>
            <tr>
              <td>
    <?php
        if($objCollection->RelatedMaterials)
        {
            echo($objCollection->RelatedMaterials . "<br>\n");
        }
        if($objCollection->RelatedMaterialsURL)
        {
            echo("For more information please see <a
href='$objCollection->RelatedMaterialURL'>$objCollection->RelatedMaterialsUR
L</a>.");
        }
    ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->RelatedPublications)
    {
    ?>
            <tr>
              <td width="150"><b>Related Publications</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->RelatedPublications); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->PreferredCitation)
    {
    ?>
            <tr>
              <td width="150"><b>Preferred Citation</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->PreferredCitation); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    
    if($objCollection->ProcessingInfo)
    {
    ?>
            <tr>
              <td width="150"><b>Finding Aid Processing
Information:</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->ProcessingInfo); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    if($objCollection->RevisionHistory)
    {
    ?>
            <tr>
              <td width="150"><b>Finding Aid Revision History</b></td>
            </tr>
            <tr>
              <td>
                <?php echo($objCollection->RevisionHistory); ?>
              </td>
            </tr>
            <tr><td colspan=2>&nbsp;</td></tr>
    <?php
    }
    ?>
          </table>
        </td>
      </tr>
 
    <?php
    echo("<tr><td colspan=2>&nbsp;</td></tr>");
}
else        //no administrative information found; do nothing
{
}

if($_ARCHON->Security->isAuthenticated()) 
{
    if(!empty($objCollection->LocationEntries))
    {
?>
  <tr>
    <td width="150" valign="top"><b>Location:</b></td>
    <td>
      <table width="100%" border="1">
        <tr>
          <th>Boxes</th>
          <th>Location</th>
          <th>Range</th>
          <th>Section</th>
          <th>Shelf</th>
          <th>Extent</th>
        </tr>
        <tr>
          <td>
            <?php
echo($_ARCHON->createStringFromLocationEntryArray($objCollection->LocationEn
tries, '&nbsp;</td></tr><tr><td>', LINK_EACH, false, '&nbsp;</td><td>')); ?>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr><td colspan=2>&nbsp;</td></tr>
<?php
    }
    else 
    {
?>
  <tr><td colspan=2>No locations are listed for this collection.</td></tr>
<?php
    }
}

else							//user is not
authenticated
{
    if(!empty($objCollection->LocationEntries))
    {
?>
  <tr>
    <td width="150" valign="top"><b>Service Location(s):</b></td>
    <td>
	<table width="100%" border="1">
        <tr>
          <th>Boxes</th>
          <th>Location</th>
      	             
<?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>
	
<?php
			}

		else
			{			
?>
			<td>Offsite: Prior notice required</td>
	
<?php
			}
?>
		</tr>
<?php		
	}		
?>
		</table>
		</td>
	</tr>
  <tr><td colspan=2>&nbsp;</td></tr>

<?php
    }
    else
    {
?>
  <tr><td colspan=2>No locations are listed for this collection.</td></tr>
<?php
    }
}
?>
</table>

<?php
if($_ARCHON->Security->isAuthenticated())
{
?>
<hr width='20%' align='left'>
<b>Staff views:</b><br>
&nbsp;&nbsp;&nbsp;<b><a href='ead.php?id=<?php echo($objCollection->ID);
?>'>EAD/XML</a></b><br>
&nbsp;&nbsp;&nbsp;<b><a href='marc.php?id=<?php echo($objCollection->ID);
?>'>MARC</a></b><br>
&nbsp;&nbsp;&nbsp;<b><a href='controlcard.php?id=<?php
echo($objCollection->ID); ?>&template=printcontrolcard&nostyle=1'>Printable
Control Card</a></b><br>
&nbsp;&nbsp;&nbsp;<b><a href='controlcard.php?id=<?php
echo($objCollection->ID); ?>&template=draftcontrolcard&nostyle=1'>Draft
Control Card</a></b>
<?php
}
?>

------------------------------

_______________________________________________
Archon mailing list
Archon at archon.org
http://archon.org/mailman/listinfo/archon_archon.org


End of Archon Digest, Vol 5, Issue 2
************************************






More information about the Archon mailing list