GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
Digital_Repository
Browse code
- Fixed generic URLs.
master
1 parent
d1f1b67
commit
554717abed5c745e221095a36a110d36cf9799b4
nstanger
authored
on 1 Aug 2006
Patch
Showing
1 changed file
Repositories/statistics/includes/inc.html.header.es.php
Ignore Space
Show notes
View
Repositories/statistics/includes/inc.html.header.es.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <head> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <title> <?php // NJS 2006-06-14: Added support for multiple archives. print $GLOBALS["config_vars"]["general"]["repository_name"][$GLOBALS["config_vars"]["archivename"]]; print ': Usage Statistics'; ?> </title> <!-- Configure these URLs appropriately! --> <link rel="stylesheet" type="text/css" href="http://eprints.otago.ac.nz/eprints.css" title="screen stylesheet" media="screen" /> <link rel="Top" href="http://eprints.otago.ac.nz/" /> <link rel="Search" href="http://eprints.otago.ac.nz/perl/search" /> <link rel="Help" href="http://eprints.otago.ac.nz/help" /> </head> <body> <a id="top"></a> <!-- Insert page header stuff here. --> <h1> <?php // NJS 2006-06-14: Added support for multiple archives. print $GLOBALS["config_vars"]["general"]["repository_name"][$GLOBALS["config_vars"]["archivename"]]; print ': Usage Statistics<br />'; print '<span style="font-size:small;color:#cccccc;">[Last updated ' . $sql->getLastProc() . ']</span>'; print '</h1>'; // If we're displaying the global stats page, provide a list of all // the hosted repositories, BUT only if there is more than one. if ( ( $GLOBALS["config_vars"]["archivename"] == 'default' ) and ( count( $GLOBALS["config_vars"]["general"]["repository_name"] ) > 1 ) ) { print '<p>Note that these statistics are accumulated across <em>all</em> of the following repositories hosted on this server:</p>'; print '<ul>'; foreach ( $GLOBALS["config_vars"]["general"]["repository_name"] as $id => $name ) { if ( $id != 'default' ) print '<li><a href="' . $GLOBALS["config_vars"]["general"]["eprints_location"][$id] . '/es">' . $name . '</a></li>'; } print '</ul>'; print '</p>If you want usage statistics specific to only one of these repositories, please follow the appropriate link above.</p>'; print '<hr />'; } ?> <!-- Insert your blurb here. -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <head> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <title> <?php // NJS 2006-06-14: Added support for multiple archives. print $GLOBALS["config_vars"]["general"]["repository_name"][$GLOBALS["config_vars"]["archivename"]]; print ': Usage Statistics'; ?> </title> <!-- Configure these URLs appropriately! --> <link rel="stylesheet" type="text/css" href="http://eprints.example.com/eprints.css" title="screen stylesheet" media="screen" /> <link rel="Top" href="http://eprints.example.com/" /> <link rel="Search" href="http://eprints.example.com/perl/search" /> <link rel="Help" href="http://eprints.example.com/help" /> </head> <body> <a id="top"></a> <!-- Insert page header stuff here. --> <h1> <?php // NJS 2006-06-14: Added support for multiple archives. print $GLOBALS["config_vars"]["general"]["repository_name"][$GLOBALS["config_vars"]["archivename"]]; print ': Usage Statistics<br />'; print '<span style="font-size:small;color:#cccccc;">[Last updated ' . $sql->getLastProc() . ']</span>'; print '</h1>'; // If we're displaying the global stats page, provide a list of all // the hosted repositories, BUT only if there is more than one. if ( ( $GLOBALS["config_vars"]["archivename"] == 'default' ) and ( count( $GLOBALS["config_vars"]["general"]["repository_name"] ) > 1 ) ) { print '<p>Note that these statistics are accumulated across <em>all</em> of the following repositories hosted on this server:</p>'; print '<ul>'; foreach ( $GLOBALS["config_vars"]["general"]["repository_name"] as $id => $name ) { if ( $id != 'default' ) print '<li><a href="' . $GLOBALS["config_vars"]["general"]["eprints_location"][$id] . '/es">' . $name . '</a></li>'; } print '</ul>'; print '</p>If you want usage statistics specific to only one of these repositories, please follow the appropriate link above.</p>'; print '<hr />'; } ?> <!-- Insert your blurb here. -->
Show line notes below