diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index 1e78eb5a42ad563a4961298e4ccb7c54fa32b935..0318554c9997154696d5c829bbbb4adbf5e74a59 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -181,7 +181,7 @@ <div id="headline3"> <div class="splash_headline"> <h4>Huskers on the Air - <img src="mod/customindex/video.png" alt="video camera icon" style="float:right;padding-left:5px;" /></h4> + <img src="mod/customindex/views/default/customindex/images/video_thumbs/video.png" alt="video camera icon" style="float:right;padding-left:5px;" /></h4> <p> Check out all of the videos in the 'Put Yourself on the Map' campaign. @@ -233,23 +233,23 @@ <a class="prevPage browse left"></a> <div id="promoVideoList0" class="scrollable"> <div class="items"> - <a href="http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4"><img src="mod/customindex/videoThumbPromo.jpg" alt="Promo Thumbnail" class="tooltip" title="Put Yourself on the Map Advertisement" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/JerryHudginsPYOTM.mp4"><img src="mod/customindex/videoThumbHudgins.jpg" alt="Jerry Hudgins Thumbnail" class="tooltip" title="Jerry Hudgins" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/MicrogravityU_PYOTM.mp4"><img src="mod/customindex/videoThumbMicrogravity.jpg" alt="Microgravity Thumbnail" class="tooltip" title="Microgravity" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/ZNETprojectPYOTM.mp4"><img src="mod/customindex/videoThumbZNet.jpg" alt="Zero Net Energy Thumbnail" class="tooltip" title="Zero Net Energy" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/EricaPetersonPYOTM.mp4"><img src="mod/customindex/videoThumbErica.jpg" alt="EricaThumbnail" class="tooltip" title="Erica Peterson" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/BetsyObrienPYOTM.mp4"><img src="mod/customindex/videoThumbBetsy.jpg" alt="Betsy Thumbnail" class="tooltip" title="Betsy O'Brien" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/Shane_Farritor_PYOTM.mp4"><img src="mod/customindex/videoThumbShane.jpg" alt="Shane Thumbnail" class="tooltip" title="Shane Farritor" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/Nithal_Kuwa_PYOTM.mp4"><img src="mod/customindex/videoThumbNithal.jpg" alt="Nithal Thumbnail" class="tooltip" title="Nithal Kuwa" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/JohnJanovyPYOTM.mp4"><img src="mod/customindex/videoThumbJohn.jpg" alt="John Thumbnail" class="tooltip" title="John Janovy" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/RulonGardnerPYOTM.mp4"><img src="mod/customindex/videoThumbRulan.jpg" alt="Rulon Thumbnail" class="tooltip" title="Rulon Gardner" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ScottKillinger.mp4"><img src="mod/customindex/videoThumbScottKillinger.jpg" alt="Scott Killinger Thumbnail" class="tooltip" title="Scott Killinger" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ClaudeBolton.mp4"><img src="mod/customindex/videoThumbClaudeBolton.jpg" alt="Claude Bolton Thumbnail" class="tooltip" title="Claude Bolton " /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChinaArchitects.mp4"><img src="mod/customindex/videoThumbChinaArchitects.jpg" alt="China Architects Thumbnail" class="tooltip" title="China Architects " /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_JeffZeleny.mp4"><img src="mod/customindex/videoThumbJeffZeleny.jpg" alt="Jeff Zeleny Thumbnail" class="tooltip" title="Jeff Zeleny" /></a> - <!-- <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChrisErvin.mp4"><img src="mod/customindex/videoThumbChrisErvin.jpg" alt="Chris Ervin Thumbnail" class="tooltip" title="Chris Ervin" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_GarrettHope.mp4"><img src="mod/customindex/videoThumbGarrettHope.jpg" alt="Garrett Hope Thumbnail" class="tooltip" title="Garrett Hope" /></a> - <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_PatrickCombs.mp4"><img src="mod/customindex/videoThumbPatrickCombs.jpg" alt="Patrick Combs Thumbnail" class="tooltip" title="Patrick Combs" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbPromo.jpg" alt="Promo Thumbnail" class="tooltip" title="Put Yourself on the Map Advertisement" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/JerryHudginsPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbHudgins.jpg" alt="Jerry Hudgins Thumbnail" class="tooltip" title="Jerry Hudgins" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/MicrogravityU_PYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbMicrogravity.jpg" alt="Microgravity Thumbnail" class="tooltip" title="Microgravity" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/ZNETprojectPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbZNet.jpg" alt="Zero Net Energy Thumbnail" class="tooltip" title="Zero Net Energy" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/EricaPetersonPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbErica.jpg" alt="EricaThumbnail" class="tooltip" title="Erica Peterson" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/BetsyObrienPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbBetsy.jpg" alt="Betsy Thumbnail" class="tooltip" title="Betsy O'Brien" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/Shane_Farritor_PYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbShane.jpg" alt="Shane Thumbnail" class="tooltip" title="Shane Farritor" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/Nithal_Kuwa_PYOTM.mp4"><img src="mod/customindex/vviews/default/customindex/images/video_thumbs/ideoThumbNithal.jpg" alt="Nithal Thumbnail" class="tooltip" title="Nithal Kuwa" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/JohnJanovyPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbJohn.jpg" alt="John Thumbnail" class="tooltip" title="John Janovy" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/RulonGardnerPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbRulan.jpg" alt="Rulon Thumbnail" class="tooltip" title="Rulon Gardner" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ScottKillinger.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbScottKillinger.jpg" alt="Scott Killinger Thumbnail" class="tooltip" title="Scott Killinger" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ClaudeBolton.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbClaudeBolton.jpg" alt="Claude Bolton Thumbnail" class="tooltip" title="Claude Bolton " /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChinaArchitects.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbChinaArchitects.jpg" alt="China Architects Thumbnail" class="tooltip" title="China Architects " /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_JeffZeleny.mp4"><img src="mod/customindex/vviews/default/customindex/images/video_thumbs/ideoThumbJeffZeleny.jpg" alt="Jeff Zeleny Thumbnail" class="tooltip" title="Jeff Zeleny" /></a> + <!-- <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChrisErvin.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbChrisErvin.jpg" alt="Chris Ervin Thumbnail" class="tooltip" title="Chris Ervin" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_GarrettHope.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbGarrettHope.jpg" alt="Garrett Hope Thumbnail" class="tooltip" title="Garrett Hope" /></a> + <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_PatrickCombs.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbPatrickCombs.jpg" alt="Patrick Combs Thumbnail" class="tooltip" title="Patrick Combs" /></a> --> @@ -267,7 +267,7 @@ quality: "best", wmode: "transparent", file: "http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4", - image: "mod/customindex/videoStill.jpg", + image: "mod/customindex/views/default/customindex/images/video_thumbs/videoStill.jpg", autostart: false, skin: "http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf" } @@ -285,44 +285,8 @@ </div> <!-- end moded splash code --> -<br style="clear:both" /><br /> -<a name="login" href="#"></a> - - -<?php - if (!isloggedin()) { -?> -<div class="col left"> - <div id="login-box"> - <h2>Students, Faculty, Staff</h2> - <?php - $form_body = "<p class=\"login-box\"><span>Use your my.UNL account to begin.</span><br />"; - $form_body .= elgg_view('input/submit', array('value' => elgg_echo('UNL Login'))) . "</p>"; - $form_body .= "<p><a href=\"https://login.unl.edu/faq/account-resetpw.shtml\">" . elgg_echo('user:password:lost') . "</a></p>"; - echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."?loginwith=UNLlogin")); - ?> - </div> - <div id="login-box"> - <h2>Huskers Worldwide</h2> - <?php - $form_body = "<p class=\"login-box\"><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label><br />"; - $form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />"; - $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "</p>"; - $form_body .= "<p><a href=\"". $vars['url'] ."account/register.php\">" . elgg_echo('register') . "</a> | <a href=\"". $vars['url'] ."account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>"; - echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."action/login")); - ?> - </div> -</div> -<?php - } -?> - - - - - -<div class="<?php if (isloggedin()) { echo('four');}else { echo('three');} ?>_col right"> - <h2 id="indexheading">The Latest Happenings</h2> +<div class="four_col right clear" style="margin-top:25px;"> + <h2 id="indexheading">The Latest Planet Red Happenings</h2> <div class="col left"> <h3 class="sec_main">Featured Groups</h3> <?php @@ -337,17 +301,14 @@ } ?> </div> - <div class="<?php if (isloggedin()) { echo('two_');} ?>col middle"> + <div class="two_col middle"> <h3 class="sec_main">Latest Wire Posts</h3> <?php mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass) or die(mysql_error()); mysql_select_db($CONFIG->dbname) or die(mysql_error()); //get the most recent wire posts - if (isloggedin()) - $result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 5") or die(mysql_error()); - else - $result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 3") or die(mysql_error()); + $result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 5") or die(mysql_error()); while($row = mysql_fetch_array( $result )) { //get the actual post @@ -362,11 +323,11 @@ if (!filtrado($row3['name'] . '' . $row2['description'])){ echo '<img style="clear:left;float:left" alt="Profile Icon" src="mod/profile/icondirect.php?username=' . $row3["username"] . '&size=small" />'; - echo '<div class="index_item" style="overflow:hidden;float:left;max-width:'; - if (isloggedin()) {echo('400px;');}else{echo('162px;');} + echo '<div class="index_item" style="overflow:hidden;float:left;max-width:400px;'; + //if (isloggedin()) {echo('400px;');}else{echo('162px;');} echo 'border:1px solid #dbdbdb; margin-left:14px; min-height:45px; -moz-border-radius:3px;">'; - echo ' <span style="background:url(mod/customindex/commentbubblepoint.png); width:14px; height:34px; z-index:2; position:absolute; left:'; - if (isloggedin()) {echo('291px;');}else{echo('51px;');} + echo ' <span style="background:url(mod/customindex/commentbubblepoint.png); width:14px; height:34px; z-index:2; position:absolute; left:291px;'; + //if (isloggedin()) {echo('291px;');}else{echo('51px;');} echo '"></span>'; echo ' <div style="padding:10px;">'; @@ -416,4 +377,18 @@ ?> <a href="featured/" title="See all the featured Huskers">See all the featured Huskers...</a> </div> + <?php //This is the login details hidden with CSS and displayed in the colorbox.?> + <div class="hidden"> + <div id="login-box"> + <h2>Huskers Worldwide</h2> + <?php + $form_body = "<p class=\"login-box\"><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label><br />"; + $form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />"; + $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "</p>"; + $form_body .= "<p><a href=\"". $vars['url'] ."account/register.php\">" . elgg_echo('register') . "</a> | <a href=\"". $vars['url'] ."account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>"; + echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."action/login")); + ?> + <a href="http://localhost/workspace/UNL_Elgg/elgg/?loginwith=UNLlogin">Sign on with CAS</a>. + </div> + </div> </div> diff --git a/customindex/video.png b/customindex/views/default/customindex/images/video_thumbs/video.png similarity index 100% rename from customindex/video.png rename to customindex/views/default/customindex/images/video_thumbs/video.png diff --git a/customindex/videoStill.jpg b/customindex/views/default/customindex/images/video_thumbs/videoStill.jpg similarity index 100% rename from customindex/videoStill.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoStill.jpg diff --git a/customindex/videoThumb.png b/customindex/views/default/customindex/images/video_thumbs/videoThumb.png similarity index 100% rename from customindex/videoThumb.png rename to customindex/views/default/customindex/images/video_thumbs/videoThumb.png diff --git a/customindex/videoThumbBetsy.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbBetsy.jpg similarity index 100% rename from customindex/videoThumbBetsy.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbBetsy.jpg diff --git a/customindex/videoThumbChinaArchitects.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbChinaArchitects.jpg similarity index 100% rename from customindex/videoThumbChinaArchitects.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbChinaArchitects.jpg diff --git a/customindex/videoThumbClaudeBolton.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbClaudeBolton.jpg similarity index 100% rename from customindex/videoThumbClaudeBolton.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbClaudeBolton.jpg diff --git a/customindex/videoThumbErica.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbErica.jpg similarity index 100% rename from customindex/videoThumbErica.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbErica.jpg diff --git a/customindex/videoThumbHudgins.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbHudgins.jpg similarity index 100% rename from customindex/videoThumbHudgins.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbHudgins.jpg diff --git a/customindex/videoThumbJeffZeleny.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbJeffZeleny.jpg similarity index 100% rename from customindex/videoThumbJeffZeleny.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbJeffZeleny.jpg diff --git a/customindex/videoThumbJohn.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbJohn.jpg similarity index 100% rename from customindex/videoThumbJohn.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbJohn.jpg diff --git a/customindex/videoThumbMicrogravity.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbMicrogravity.jpg similarity index 100% rename from customindex/videoThumbMicrogravity.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbMicrogravity.jpg diff --git a/customindex/videoThumbNithal.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbNithal.jpg similarity index 100% rename from customindex/videoThumbNithal.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbNithal.jpg diff --git a/customindex/videoThumbPromo.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbPromo.jpg similarity index 100% rename from customindex/videoThumbPromo.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbPromo.jpg diff --git a/customindex/videoThumbRulan.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbRulan.jpg similarity index 100% rename from customindex/videoThumbRulan.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbRulan.jpg diff --git a/customindex/videoThumbScottKillinger.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbScottKillinger.jpg similarity index 100% rename from customindex/videoThumbScottKillinger.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbScottKillinger.jpg diff --git a/customindex/videoThumbShane.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbShane.jpg similarity index 100% rename from customindex/videoThumbShane.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbShane.jpg diff --git a/customindex/videoThumbZNet.jpg b/customindex/views/default/customindex/images/video_thumbs/videoThumbZNet.jpg similarity index 100% rename from customindex/videoThumbZNet.jpg rename to customindex/views/default/customindex/images/video_thumbs/videoThumbZNet.jpg