Commit b90e4717 authored by Michael Koch's avatar Michael Koch
Browse files

Add StudySpace to roles

parent 3d6c1616
...@@ -71,7 +71,7 @@ function showNewUser() { ...@@ -71,7 +71,7 @@ function showNewUser() {
"<option value='1'>Moderator</option>" + "<option value='1'>Moderator</option>" +
"<option value='2'>Administrator</option>" + "<option value='2'>Administrator</option>" +
"</select></td></tr>" + "</select></td></tr>" +
"<tr><td><label for='new_user_roles'>Rollen:</label></td><td><select id='new_user_roles' class='long' multiple><option value='0'>Stadtcampus</option><option value='1'>Lernsprint</option><option value='2'>P9</option><option value='3'>AStA</option></td></tr>" + "<tr><td><label for='new_user_roles'>Rollen:</label></td><td><select id='new_user_roles' class='long' multiple><option value='0'>Stadtcampus</option><option value='1'>Lernsprint</option><option value='2'>P9</option><option value='3'>AStA</option><option value='5'>StudySpace</option></td></tr>" +
"</tbody></table>", "</tbody></table>",
title: "Benutzer hinzufügen", title: "Benutzer hinzufügen",
extraButtons: { extraButtons: {
...@@ -108,7 +108,7 @@ function showEditUser(fieldorid) { ...@@ -108,7 +108,7 @@ function showEditUser(fieldorid) {
text: "<table class='settings-table noborder'><tbody>" + text: "<table class='settings-table noborder'><tbody>" +
"<tr><td><label for='edit_user_name'>Benutzername:</label></td><td><input type='text' id='edit_user_name' class='long' value='" + user.username + "'></td></tr>" + "<tr><td><label for='edit_user_name'>Benutzername:</label></td><td><input type='text' id='edit_user_name' class='long' value='" + user.username + "'></td></tr>" +
"<tr><td><label for='edit_user_admin'>Adminlevel:</label></td><td><select id='edit_user_admin' class='long'><option value='1'>Moderator</option><option value='2'>Administrator</option></select></td></tr>" + "<tr><td><label for='edit_user_admin'>Adminlevel:</label></td><td><select id='edit_user_admin' class='long'><option value='1'>Moderator</option><option value='2'>Administrator</option></select></td></tr>" +
"<tr><td><label for='edit_user_roles'>Rollen:</label></td><td><select id='edit_user_roles' class='long' multiple><option value='0'>Stadtcampus</option><option value='1'>Lernsprint</option><option value='2'>P9</option><option value='3'>AStA</option></td></tr>" + "<tr><td><label for='edit_user_roles'>Rollen:</label></td><td><select id='edit_user_roles' class='long' multiple><option value='0'>Stadtcampus</option><option value='1'>Lernsprint</option><option value='2'>P9</option><option value='3'>AStA</option><option value='5'>StudySpace</option></td></tr>" +
"<tr><td><label for='edit_user_locked'>Gesperrt:</label></td><td><select id='edit_user_locked' class='long'><option value='0'>Nein</option><option value='1'>Ja</option></select></td></tr>" + "<tr><td><label for='edit_user_locked'>Gesperrt:</label></td><td><select id='edit_user_locked' class='long'><option value='0'>Nein</option><option value='1'>Ja</option></select></td></tr>" +
"<tr><td><label for='colorscheme'>Farbschema: </label></td>" + "<tr><td><label for='colorscheme'>Farbschema: </label></td>" +
"<td><select id='colorscheme' name='colorscheme' class='long' tabindex='4'><option value='default'>Automatisches Farbschema</option></select></td></tr>" + "<td><select id='colorscheme' name='colorscheme' class='long' tabindex='4'><option value='default'>Automatisches Farbschema</option></select></td></tr>" +
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment