From 9908092c7ba170d45df97806b4e87048cbe276bc Mon Sep 17 00:00:00 2001 From: Matthew Juhl <mjuhl24@gmail.com> Date: Thu, 2 Jul 2009 20:13:14 +0000 Subject: [PATCH] landing page initial work --- scripts/globe.html | 8 ++- scripts/newfile.php | 11 ++++ unl_theme/globetest.shtml | 124 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+), 3 deletions(-) create mode 100644 scripts/newfile.php create mode 100644 unl_theme/globetest.shtml diff --git a/scripts/globe.html b/scripts/globe.html index cd8d312d..51b4b394 100644 --- a/scripts/globe.html +++ b/scripts/globe.html @@ -159,14 +159,16 @@ jQuery(document).ready(function() { <h1 style="padding-bottom: 0px; margin-bottom: 10px; border-bottom: #e5e5e5 1px solid;">The Latest Happenings</h1> <div class="col left"> - <h2 style="background:#F5F5F5; padding-left: 6px;">New Groups</h2> + <h2 style="padding-left: 6px;">New Groups</h2> + <p style="background: url(http://ucommjuhl.unl.edu/UNL_Elgg/elgg/mod/groups/graphics/defaultsmall.gif) no-repeat; padding-left: 50px; padding-top: 5px; min-height: 40px; margin-top: 8px;"><a href="http://ucommjuhl.unl.edu/UNL_Elgg/elgg/pg/groups/75/californians-for-nebraska/" style="font-weight: bold; ">Californians for Nebraska</a><br /><em>44 members</em></p> + <p style="background: url(http://ucommjuhl.unl.edu/UNL_Elgg/elgg/mod/groups/graphics/defaultsmall.gif) no-repeat; padding-left: 50px; padding-top: 5px; min-height: 40px; margin-top: 8px;"><a href="http://ucommjuhl.unl.edu/UNL_Elgg/elgg/pg/groups/75/californians-for-nebraska/" style="font-weight: bold; ">Californians for Nebraska</a><br /><em>44 members</em></p> </div> <div class="two_col middle"> - <h2 style="background:#F5F5F5; padding-left: 6px;">Discussions</h2> + <h2 style=" padding-left: 6px;">Discussions</h2> </div> <div class="col right"> - <h2 style="background:#F5F5F5; padding-left: 6px;">Spotlight Alums</h2> + <h2 style="padding-left: 6px;">Spotlight Alums</h2> </div> <!-- InstanceEndEditable --> diff --git a/scripts/newfile.php b/scripts/newfile.php new file mode 100644 index 00000000..36a4f7bf --- /dev/null +++ b/scripts/newfile.php @@ -0,0 +1,11 @@ +<?php +require_once("../elgg/engine/start.php"); + +$site = new ElggSite(1); +$members = $site->getMembers(); + +foreach($members as $member){ + echo ("<p>"); + var_dump($member); + echo ("</p>"); +} \ No newline at end of file diff --git a/unl_theme/globetest.shtml b/unl_theme/globetest.shtml new file mode 100644 index 00000000..8ef775b8 --- /dev/null +++ b/unl_theme/globetest.shtml @@ -0,0 +1,124 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" ><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<!-- InstanceBeginEditable name="doctitle" --> +<title>UNL | Department | New Page</title> +<!-- InstanceEndEditable --> +<!-- Codebase:UNLFramework 20070105 --> +<link rel="stylesheet" type="text/css" media="screen" href="/ucomm/templatedependents/templatecss/layouts/main.css" /> +<link rel="stylesheet" type="text/css" media="print" href="/ucomm/templatedependents/templatecss/layouts/print.css"/> +<script type="text/javascript" src="/ucomm/templatedependents/templatesharedcode/scripts/all_compressed.js"></script> + +<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/browsersniffers/ie.html" --> +<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/comments/developersnote.html" --> +<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/metanfavico/metanfavico.html" --> +<!-- InstanceBeginEditable name="head" --> +<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> +<script type="text/javascript"> +var navl2Links = 0; //Default navline2 links to display (zero based counting) +</script> +<script type="text/javascript" src="http://globe.poly9.com/api.js"></script> +<script type="text/javascript"> +//<![CDATA[ + +function onMapLoad() { + this.setTargetLatLng(new FE.LatLng(46.813689,-71.216812)); +} + +$(document).ready(function() { + var map = new FE.Map(document.getElementById("map")); + map.onLoad = onMapLoad; + map.load(); +}); + +//]]> +</script> +<!-- InstanceEndEditable --> +</head> +<body id="fixed"> +<p class="skipnav"> <a class="skipnav" href="#maincontent">Skip Navigation</a> </p> + +<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/siteheader/siteheader.shtml" --> + +<div id="red-header"> + <div class="clear"> + <h1>University of Nebraska–Lincoln</h1> + <div id="breadcrumbs"> <!-- InstanceBeginEditable name="breadcrumbs" --> + <!-- WDN: see glossary item 'breadcrumbs' --> + <ul> + <li class="first"><a href="http://www.unl.edu/">UNL</a></li> + <li><a href="http://www.unl.edu/">Department</a></li> + <li>New Page</li> + </ul> + <!-- InstanceEndEditable --> </div> + </div> +</div> +<!-- close red-header --> + +<!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/shelf/shelf.shtml" --> + +<div id="container"> + <div class="clear"> + <div id="title"> <!-- InstanceBeginEditable name="collegenavigationlist" --> <!-- InstanceEndEditable --> + <div id="titlegraphic"> + <!-- WDN: see glossary item 'title graphics' --> + <!-- InstanceBeginEditable name="titlegraphic" --> + <h1>Department</h1> + <h2>Taglines - We Do The Heavy Lifting</h2> + <!-- InstanceEndEditable --></div> + <!-- maintitle --> + </div> + <!-- close title --> + + <div id="navigation"> + <h4 id="sec_nav">Navigation</h4> + + <div id="navlinks"> <!-- InstanceBeginEditable name="navlinks" --> + <!--#include virtual="sharedcode/navigation.html" --> + <!-- InstanceEndEditable --></div> + + <div id="nav_end"></div> + <!-- InstanceBeginEditable name="leftRandomPromo" --> + <div class="image_small_short" id="leftRandomPromo"> <a href="#" id="leftRandomPromoAnchor"><img id="leftRandomPromoImage" alt="" src="/ucomm/templatedependents/templatecss/images/transpixel.gif" /></a> + <script type="text/javascript" src="sharedcode/leftRandomPromo.js"></script> + </div> + <!-- InstanceEndEditable --> + <!-- WDN: see glossary item 'sidebar links' --> + <div id="leftcollinks"> <!-- InstanceBeginEditable name="leftcollinks" --> + <!-- WDN: see glossary item 'sidebar links' --> + <!--#include virtual="sharedcode/relatedLinks.html" --> + <!-- InstanceEndEditable --> </div> + </div> + <!-- close navigation --> + + <div id="main_right" class="mainwrapper"> + <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' --> + + <div id="maincontent"> + <!--#include virtual="/ucomm/templatedependents/templatesharedcode/includes/browsersniffers/noscript.html" --> + <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' --> + <!-- InstanceBeginEditable name="maincontentarea" --> + <div id="map" style="width: 720px; height: 600px"></div> + <!-- InstanceEndEditable --> + <!--THIS IS THE END OF THE MAIN CONTENT AREA.--> + </div> + </div> + <!-- close main right --> + </div> +</div> +<!-- close container --> + +<div id="footer"> + <div id="footer_floater"> <!-- InstanceBeginEditable name="optionalfooter" --> <!-- InstanceEndEditable --> + <div id="copyright"> <!-- InstanceBeginEditable name="footercontent" --> + <!--#include virtual="sharedcode/footer.html" --> + <!-- InstanceEndEditable --> <span><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> <a href="http://validator.unl.edu/check/referer">W3C</a> <a href="http://www1.unl.edu/feeds/">RSS</a> </span><a href="http://www.unl.edu/" title="UNL Home"><img src="/ucomm/templatedependents/templatecss/images/wordmark.png" alt="UNL's wordmark" id="wordmark" /></a></div> + </div> +</div> + +<!-- close footer --> +<!-- sifr --> +<script type="text/javascript" src="/ucomm/templatedependents/templatesharedcode/scripts/sifr_replacements.js"></script> +</body> +<!-- InstanceEnd --></html> -- GitLab