From 700b32dcb4509833787a6d834c4d8cde51a1b74e Mon Sep 17 00:00:00 2001
From: Matthew Juhl <mjuhl24@gmail.com>
Date: Fri, 28 Aug 2009 18:13:05 +0000
Subject: [PATCH] A couple quick fixes. More to come.

---
 flexprofile_mj/views/default/profile/edit.php    | 2 +-
 unl_theme/actions/login.php                      | 2 +-
 unl_theme/views/default/page_elements/header.php | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/flexprofile_mj/views/default/profile/edit.php b/flexprofile_mj/views/default/profile/edit.php
index d6ede8e2..c3472079 100755
--- a/flexprofile_mj/views/default/profile/edit.php
+++ b/flexprofile_mj/views/default/profile/edit.php
@@ -26,7 +26,7 @@ if ($form) {
 /* import forms css */
 echo '<style type="text/css">@IMPORT url("/wdn/templates_3.0/css/content/forms.css");</style>';
 /* add 'cool' class to form */
-echo '<div id="formloading"><img src="http://ucommjuhl.unl.edu/wdn/templates_3.0/css/header/images/colorbox/loading.gif" alt="Loading Form" /></div>';
+echo '<div id="formloading"><img src="http://ucommjuhl.unl.edu/wdn/templates_3.0/css/header/images/colorbox/loading.gif" alt="Loading Form" /><noscript>Please enable JavaScript to use the profile editor.</noscript></div>';
 echo '<form action="'.$vars['url'].'action/flexprofile/edit" method="post" enctype="multipart/form-data" class="cool">';
 /* add fieldset and legend */
 echo '<fieldset><legend>Edit Information</legend><ol>';
diff --git a/unl_theme/actions/login.php b/unl_theme/actions/login.php
index 3568021f..612b04a2 100644
--- a/unl_theme/actions/login.php
+++ b/unl_theme/actions/login.php
@@ -56,7 +56,7 @@
             	
             		$lastlogin_date = $_SESSION['user']->last_login;
             		if (!$lastlogin_date){
-            			forward('mod/profile/edit.php?firstlogin=yes');
+            			forward("mod/profile/edit.php?firstlogin=yes&username=$username");
             		}
             		forward("pg/profile/$username");
             	}
diff --git a/unl_theme/views/default/page_elements/header.php b/unl_theme/views/default/page_elements/header.php
index 44494e8b..db3d11cd 100644
--- a/unl_theme/views/default/page_elements/header.php
+++ b/unl_theme/views/default/page_elements/header.php
@@ -491,7 +491,7 @@ if ($vars['title'] == "Edit profile") {
 				'<option value="prospect">Prospective Student</option>'+
 				'<option value="student">Current Student</option>'+
 				'<option value="parent">Parent of a Prospective Student and/or Current Student</option>'+
-				'<option value="alum">Alum</option>'+
+				'<option value="alum">Alumnus</option>'+
 				'<option value="facstaff">Faculty/Staff</option>'+
 				'<option value="resident">Nebraska Resident</option>'+
 				'<option value="friend">Friend of the University</option>'+ 
-- 
GitLab