Latest Releases
- CAS 0.6.0 (beta)
- May 2nd 2008: Bug Fix: * fixed PGT storage path on...
- UNL_UCBCN_Frontend 0.5.7 (beta)
- April 24th 2008: Bugfix Release: * Events which were not...
- UNL_Templates 1.0.0RC2 (beta)
- April 8th 2008: Feature Release! New methods: *...
- UNL_DWT 0.6.1 (beta)
- April 8th 2008: Change is_a() to instanceof to fix...
- UNL_Templates 1.0.0RC1 (beta)
- March 26th 2008: Feature Release! New methods: *...
Welcome!
Welcome to the UNL PEAR Channel. From here you can browse and search the packages we offer and download releases to install.
Using our Channel
To add this channel to your PEAR install, use:
pear channel-discover pear.unl.edu
Then you will be able to install our packages by using:
pear install unl/package_name
If you have a package you would like to distribute through this channel server, contact Brett Bieber.
BUGS!
Want to report a bug!? Go to the bug tracking system.
(Bug is brought to you by the UNL Entomology Department)
View Source+
<?php
/**
* Extended Crtx_PEAR_Channel_Frontend using the UNL Templates.
*/
ini_set('display_errors',true);
require_once 'Crtx/PEAR/Channel/Frontend.php';
require_once 'config.inc.php';
class UNL_Crtx_PEAR_Channel_Frontend extends Crtx_PEAR_Channel_Frontend {
public function welcome() {
parent::welcome();
echo '<p>If you have a package you would like to distribute through this channel server, <a href="http://ucommxsrv1.unl.edu/peoplefinder/index.php?uid=bbieber2" onclick="window.open(this.href,\'peoplefindpop\',\'scrollbars=1,width=325,height=500,innerwidth=325,innerheight=500\'); return false;">contact Brett Bieber.</a></p>';
}
public function showMaintainerEmailForm()
{
echo '<h2>Email Maintainers</h2>';
echo '<p>Contact information for package maintainers can be found using UNL Peoplefinder.</p>';
}
/**
* Show Package Extras (CVS/Doc/Bugs Links)
*
* @return void
*/
public function showPackageExtras()
{
$package = DB_DataObject::factory('package_extras');
$package->package = $_GET['package'];
if (!$package->find(true)) {
return;
} else {
if (strlen($package->docs_uri) > 0) {
echo "<li><a href='$package->docs_uri'>Documentation</a></li>";
}
if (strlen($package->bugs_uri) > 0) {
echo "<li><a href='".htmlentities($package->bugs_uri)."'>Bugs</a></li>";
}
if (strlen($package->cvs_uri) > 0) {
echo "<li><a href='$package->cvs_uri'>CVS</a></li>";
}
}
}
}
$frontend = new UNL_Crtx_PEAR_Channel_Frontend( 'pear.unl.edu',
array('database' => $dsn,
'index' => 'index.php',
'admin' => 'admin.php'));
require_once 'UNL/Templates.php';
$page = UNL_Templates::factory('Fixed',array('sharedcodepath'=>'/Library/WebServer/Documents/ucomm/sharedcode/'));
$page->doctitle = '<title>UNL | PEAR.UNL.EDU</title>';
$page->leftRandomPromo = '';
$page->titlegraphic = ' <h1 class="pagetitle"><a href="http://pear.unl.edu/">pear.unl.edu</a></h1>
<h2>Open Source PHP Development at UNL</h2>';
$page->breadcrumbs = "<ul><li class='first'><a href='http://www.unl.edu/'>UNL</a></li>\n<li>pear.unl.edu</li></ul>";
$page->head = '<style type="text/css">
#releases h2{margin:0px;}
#releases {overflow:auto;}
#source {clear:both;display:none;overflow:auto;}
</style>';
$page->loadSharedcodeFiles();
$page->leftcollinks = '<h3>Related Links</h3>
<ul>
<li><a href="http://www.unl.edu/webdevnet/">Web Developer Network</a></li>
</ul>';
ob_start();
echo '<div class="col right"><div id="releases" class="zenboxfeature">';
$frontend->showLatestReleases();
echo '</div></div>';
if (!$frontend->run()) {
$frontend->welcome();
}
echo '<div style="clear:both"><h3>BUGS!</h3>
<a href="http://pear.unl.edu/Chiara/Bugs/"><img src="http://pear.unl.edu/images/bug.png" alt="Arid Subterranean Termite brought to you by the UNL Entomology Department" /></a>
<p>Want to report a bug!? <a href="http://pear.unl.edu/Chiara/Bugs/">Go to the bug tracking system.</a></p>
<p>(Bug is brought to you by the <a href="http://entomology.unl.edu/">UNL Entomology Department</a>)</p></div>';
$page->maincontentarea = ob_get_cleaner().viewSourceLink();
$frontend->showLinks();
$page->head .= ob_get_cleaner();
$page->navlinks = getNavMenu();
echo $page->toHtml();

