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

A couple quick fixes. More to come.

parent 36ef4079
No related branches found
No related tags found
No related merge requests found
......@@ -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>';
......
......@@ -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");
}
......
......@@ -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>'+
......
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