Fixed commits

This commit is contained in:
Paolo
2018-02-28 15:10:38 +01:00
parent bd4c35f7ee
commit e2e7ead90b
2 changed files with 14 additions and 3 deletions
+2 -3
View File
@@ -27,12 +27,11 @@ require_once(dirname(__FILE__).'/personlog.class.php');
// Auth: Benutzer des Webportals
/**
* DEPRECATED - Use Authentication Class
*/
*/
function get_uid()
{
$auth = new authentication();
// return $auth->getUser();
return 'eckelt';
return $auth->getUser();
}
/**
+12
View File
@@ -0,0 +1,12 @@
/*
file for adding bootstrap classes, e.g. in case usage of non-bootstrap widgets in a bootstrap page
AVOID USING THIS IF POSSIBLE
*/
$(document).ready(
function()
{
$("input[type=text], select").addClass("form-control");
$("button, input[type=button]").addClass("btn btn-default");
$("table").addClass('table-condensed');
}
);