summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc
diff options
context:
space:
mode:
authorJannik Schönartz2017-03-19 05:31:25 +0100
committerJannik Schönartz2017-03-19 05:31:25 +0100
commita8ae9f36c627e0db82b24a3833fccefa04c215cd (patch)
tree6c3f46b590a8a93f046ff70742a75b342816077c /modules-available/locationinfo/inc
parentSetCredentials error message is no longer ignored. (diff)
downloadslx-admin-a8ae9f36c627e0db82b24a3833fccefa04c215cd.tar.gz
slx-admin-a8ae9f36c627e0db82b24a3833fccefa04c215cd.tar.xz
slx-admin-a8ae9f36c627e0db82b24a3833fccefa04c215cd.zip
Locationinfo: admin-panel: Fixed a Bug where a space in a credentialname caused errors. Changes the checkbox to bs-switch.
Diffstat (limited to 'modules-available/locationinfo/inc')
-rw-r--r--modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php
index e6ba0fe8..725b4436 100644
--- a/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php
+++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php
@@ -29,7 +29,8 @@ class Coursebackend_Dummy extends CourseBackend {
public function getCredentials(){
$options = ["opt1", "opt2", "opt3", "opt4", "opt5", "opt6", "opt7", "opt8"];
- $credentials = ["username" => ["string", "This is a helptext.", false],"password_str"=>["string", "SOME SECRET PW U WILL NEVER KNOW!", true],"password_int"=>["int", "INT PW", true],"option"=>[$options, "OMG WHAT THE", false], "CheckTheBox" => ["bool", "Test with a cb", false]];
+ $credentials = ["username" => ["string", "This is a helptext.", false],"password_str"=>["string", "SOME SECRET PW U WILL NEVER KNOW!", true],"password int"=>["int", "INT PW", true],"option"=>[$options, "OMG WHAT THE", false], "CheckTheBox" => ["bool", "Test with a cb", false],
+ "CB2 t" => ["bool", "Second checkbox test", false]];
return $credentials;
}