Skip to content
Snippets Groups Projects
Commit af492356 authored by Tim Steiner's avatar Tim Steiner
Browse files

Initial checkin.

parent 547da94a
No related branches found
No related tags found
No related merge requests found
<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<ul>
<li><a href="http://www.unl.edu">UNL</a></li>
<li><a href="<?php echo $this->baseurl; ?>"><?php echo JFactory::getConfig()->getValue('config.sitename'); ?></a></li>
<?php
$names = array();
foreach ($list as $item) {
$names[] = $item->name;
}
array_shift($names);
?>
<li><?php echo implode(' | ', $names); ?></li>
</ul>
<?php
include "UNL/Templates.php";
UNL_Templates::$options['version'] = UNL_Templates::VERSION3;
$t = UNL_Templates::factory('Fixed');
$t->head .= <<<EOF
<jdoc:include type="head" />
<link rel="stylesheet" href="{$this->baseurl}/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="{$this->baseurl}/templates/system/css/general.css" type="text/css" />
EOF;
$t->doctitle = '<title>' . JFactory::getConfig()->getValue('config.sitename') . ' | ' . $this->title . '</title>';
$t->titlegraphic = '<h1>' . JFactory::getConfig()->getValue('config.sitename') . '</h1>';
$t->pagetitle = '<h2>' . $this->title . '</h2>';
$t->breadcrumbs = <<<EOF
<jdoc:include type="modules" name="breadcrumb" />
EOF;
$t->navlinks = <<<EOF
<jdoc:include type="modules" name="navlinks" />
EOF;
$t->maincontentarea = <<<EOF
<jdoc:include type="modules" name="left" />
<jdoc:include type="modules" name="top" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="bottom" />
<jdoc:include type="modules" name="right" />
EOF;
$t->contactinfo = <<<EOF
<h3>Contacting Us</h3>
<jdoc:include type="modules" name="contactinfo" />
EOF;
$t->leftcollinks = <<<EOF
<h3>Related Links</h3>
<jdoc:include type="modules" name="relatedlinks" />
EOF;
echo $t->toHtml();
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN"
"http://dev.joomla.org/xml/1.5/template-install.dtd">
<install version="1.5" type="template">
<name>UNL Template v3</name>
<creationDate>2008-10-01</creationDate>
<author>Tim Steiner</author>
<authorEmail>tsteiner2@unl.edu</authorEmail>
<authorUrl>http://www.example.com</authorUrl>
<copyright>Tim Steiner 2009</copyright>
<license>GNU/GPL</license>
<version>1.0.0</version>
<description>UNL Template v3</description>
<files>
<filename>index.php</filename>
<filename>templateDetails.xml</filename>
<folder>html</folder>
</files>
<positions>
<position>navlinks</position>
<position>breadcrumb</position>
<position>left</position>
<position>right</position>
<position>top</position>
<position>user1</position>
<position>user2</position>
<position>user3</position>
<position>user4</position>
<position>footer</position>
<position>relatedlinks</position>
<position>contactinfo</position>
</positions>
</install>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment