Skip to content

Commit

Permalink
Fixed formldap for token import from ldap
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2279 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Feb 8, 2007
1 parent 65d1507 commit 1ce8932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/tokens.php
Expand Up @@ -1469,14 +1469,14 @@ function formldap($error=false)
$tokenoutput .= '<br />\n';
$tokenoutput .= _('Select the LDAP query you want:');
$tokenoutput .= '<br />';
$tokenoutput .= "<form method='post' action='" . $_SERVER['PHP_SELF'] . "' method='post'>";
$tokenoutput .= "<form method='post' action='" . $_SERVER['PHP_SELF'] . "?action=tokens' method='post'>";
$tokenoutput .= "<select name='ldapQueries' style='length=35'><br />";
foreach ($ldap_queries as $q_number => $q) {
$tokenoutput .= " <option value=".$q_number.">".$q['name']."</option>";
}
$tokenoutput .= "</select><br />";
$tokenoutput .= "<input type='hidden' name='sid' value='$surveyid' />";
$tokenoutput .= "<input type='hidden' $subaction value='uploadldap' />";
$tokenoutput .= "<input type='hidden' name='subaction' value='uploadldap' />";
$tokenoutput .= "<input type='submit' name='submit'>";
$tokenoutput .= '</form></font>';
}
Expand Down

0 comments on commit 1ce8932

Please sign in to comment.