Skip to content

Commit

Permalink
Dev Fixed a small HTML issue
Browse files Browse the repository at this point in the history
Dev Made the response browsing table using the browser scrollbars again, because usability bad with bigger result sets.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@10587 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jul 25, 2011
1 parent 638b24e commit dd475c8
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 133 deletions.
14 changes: 7 additions & 7 deletions admin/login_check.php
Expand Up @@ -91,7 +91,7 @@
//delete one time password in database
$uquery = "UPDATE ".db_table_name('users')."
SET one_time_pw=''
WHERE users_name='".db_quote($user)."'";
WHERE users_name='".db_quote($user)."'";

$uresult = $connect->Execute($uquery);

Expand Down Expand Up @@ -151,7 +151,7 @@
if($action == "forgotpassword")
{
$loginsummary = '
<form class="form44" name="forgotpassword" id="forgotpassword" method="post" action="'.$homeurl.'/admin.php" >
<p><strong>'.$clang->gT('You have to enter user name and email.').'</strong></p>
Expand All @@ -176,7 +176,7 @@







Expand Down Expand Up @@ -215,7 +215,7 @@
{
$loginsummary = "<form name='loginform' id='loginform' method='post' action='$homeurl/admin.php' ><br /><strong>".$logoutsummary."</strong><br /> <br />";
}

$loginsummary .= "
<ul>
<li><label for='user'>".$clang->gT("Username")."</label>
Expand All @@ -230,9 +230,9 @@
{
array_push($lan,$langkey);
}

foreach (getlanguagedata(true) as $langkey=>$languagekind)
{
{
//The following conditional statements select the browser language in the language drop down box and echoes the other options.
$loginsummary .= "\t\t\t\t<option value='$langkey'>".$languagekind['nativedescription']." - ".$languagekind['description']."</option>\n";
}
Expand All @@ -251,7 +251,7 @@
{
$loginsummary .= "<p><a href='$scriptname?action=forgotpassword'>".$clang->gT("Forgot Your Password?")."</a><br />&nbsp;\n";
}
$loginsummary .= " </form><br /></p>";
$loginsummary .= " </form><br /><p>";
$loginsummary .= " <script type='text/javascript'>\n";
$loginsummary .= " document.getElementById('user').focus();\n";
$loginsummary .= " </script>\n";
Expand Down

0 comments on commit dd475c8

Please sign in to comment.