Skip to content
Snippets Groups Projects
Commit e8937212 authored by Matthew Juhl's avatar Matthew Juhl
Browse files

initial work on converting to new template. very ugly at the moment.

parent e178adf3
No related branches found
No related tags found
No related merge requests found
......@@ -11,4 +11,6 @@ function unl_theme_init(){
register_elgg_event_handler('init','system','unl_theme_init');
register_action("login",false,$CONFIG->pluginspath. "unl_theme/actions/login.php");
?>
\ No newline at end of file
<?php
?>
/* this is the UNL css.php file */
\ No newline at end of file
......@@ -28,7 +28,8 @@ $release = get_version(true);
?>
<meta name="ElggRelease" content="<?php echo $release; ?>" />
<meta name="ElggVersion" content="<?php echo $version; ?>" />
<script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.2.6.pack.js"></script>
<!-- <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.2.6.pack.js"></script> -->
<script type="text/javascript">var $ = window.$ = window.jQuery;</script>
<script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-ui-personalized-1.5.3.packed.js"></script>
<script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php?lastcache=<?php echo $vars['config']->lastcache; ?>&amp;js=initialise_elgg&amp;viewtype=<?php echo $vars['view']; ?>"></script>
<?php
......@@ -45,8 +46,8 @@ if (isset($pickerinuse) && $pickerinuse == true) { ?>
<style type="text/css">
a { color: #900; }
a:hover { color: #C00; text-decoration: none;}
#navigation {display:none;}
#container #main_right {width:960px;}
/* #navigation {display:none;} */
/* #container #main_right {width:960px;}
#unlsearch fieldset label { color: #FFF; font-size: 100%; }
#unlsearch fieldset input {
......@@ -55,14 +56,21 @@ a:hover { color: #C00; text-decoration: none;}
font-family: inherit;
color: #000;
}
#header ul { margin: 0; }
#fixed { font-size: 71%; }
#quicklinks { line-height: 1; }
#title { padding-bottom: 10px; }
#header ul { margin: 0; }
#two_column_left_sidebar_maincontent { width: 700px; }
#title { padding-bottom: 10px; }
#elgg_topbar { min-width: 0; }
#maincontent li.drop ul { padding: 0; }
#widgets_left { min-height: 0; }
*/
</style>
<?php
echo $feedref;
......
......@@ -4,6 +4,7 @@ header('Content-type: text/html; charset=UTF-8');
require_once 'UNL/Templates.php';
UNL_Templates::$options['version'] = 3;
$page = UNL_Templates::factory('Fixed');
$page->maincontentarea = '';
......@@ -20,7 +21,7 @@ $page->breadcrumbs = "<!-- WDN: see glossary item \'breadcrumbs\' --> <ul> <li c
$page->doctitle = '<title>'.$title.'</title>';
$page->head .= elgg_view('page_elements/header', $vars);
$page->collegenavigationlist = elgg_view('page_elements/unl_nav', $vars);
$page->navlinks = elgg_view('page_elements/unl_nav', $vars);
$page->titlegraphic = '<h1>'.$vars['config']->sitename.'</h1>';
// not using element elgg_topbar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment