Skip Navigation

University of Nebraska–Lincoln

pear.unl.edu

Open Source PHP Development at UNL

Latest Releases

UNL_Auth 0.2.0 (alpha)
August 22nd 2008: * Upgrade CAS driver dependency to 1.0.0
CAS 1.0.0 (stable)
August 22nd 2008: see...
UNL_UCBCN_Manager 0.6.0 (beta)
August 21st 2008: Fixes: * Update BSD license link to the...
UNL_UCBCN 0.6.0 (beta)
August 21st 2008: NOTE: This release contains database...
UNL_Geography_SpatialData_Campus 0.3.5 (beta)
August 20th 2008: Add SLNK, FMP lat and lon Change...

Syndicate This

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!

Arid Subterranean Termite brought to you by the UNL Entomology Department

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 
'Chiara/PEAR/Server/Web.php';
require_once 
'config.inc.php';
class 
UNL_PEAR_Channel_Frontend extends Chiara_PEAR_Server_Web {
    
    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_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'=>'/srv/www/vhosts/www1.unl.edu/sharedcode/'));
UNL_Templates::$options['templatedependentspath'] = '/srv/www/htdocs/';
$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();