diff --git a/views/bootstrap/class.GroupMgr.php b/views/bootstrap/class.GroupMgr.php
index bcdf873bc..4305371cd 100644
--- a/views/bootstrap/class.GroupMgr.php
+++ b/views/bootstrap/class.GroupMgr.php
@@ -187,6 +187,7 @@ $(document).ready( function() {
contentContainerStart();
$this->formField(
getMLText("name"),
array(
@@ -207,14 +208,15 @@ $(document).ready( function() {
'value'=>($group ? htmlspecialchars($group->getComment()) : '')
)
);
+ $this->contentContainerEnd();
$this->formSubmit(" ".getMLText('save'));
?>
contentSubHeading(getMLText("group_members"));
+ $this->contentHeading(getMLText("group_members"));
?>
-
+
getUsers();
if (count($members) == 0)
@@ -228,9 +230,9 @@ $(document).ready( function() {
print "" . htmlspecialchars($member->getFullName()) . " | ";
print "" . ($group->isMember($member,true)?getMLText("manager"):" ") . " | ";
print "";
- print "";
+ print "";
print " ";
- print "";
+ print "";
print " | ";
}
}
@@ -238,7 +240,7 @@ $(document).ready( function() {
contentSubHeading(getMLText("add_member"));
+ $this->contentHeading(getMLText("add_member"));
?>
@@ -329,13 +333,11 @@ $(document).ready( function() {
}
$this->columnEnd();
$this->columnStart(8);
- $this->contentContainerStart();
if($accessop->check_view_access($this, array('action'=>'form'))) {
?>
getID()."\"" : "") ?>>
contentContainerEnd();
$this->columnEnd();
$this->rowEnd();
$this->contentEnd();
diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php
index dd89641c3..a0d5474a3 100644
--- a/views/bootstrap/class.UsrMgr.php
+++ b/views/bootstrap/class.UsrMgr.php
@@ -252,6 +252,7 @@ $(document).ready( function() {
contentContainerStart();
$this->formField(
getMLText("user_login"),
array(
@@ -269,7 +270,7 @@ $(document).ready( function() {
if($passwordstrength > 0) {
$this->formField(
getMLText("password_strength"),
- ''
+ ''
);
}
$this->formField(
@@ -551,6 +552,7 @@ $(document).ready( function() {
);
}
}
+ $this->contentContainerEnd();
$this->formSubmit(" ".getMLText($currUser ? "save" : "add_user"));
?>
@@ -610,14 +612,12 @@ $(document).ready( function() {
}
$this->columnEnd();
$this->columnStart(8);
- $this->contentContainerStart();
?>
check_view_access($this, array('action'=>'form'))) { ?>
getID()."\"" : "") ?>>
contentContainerEnd();
$this->columnEnd();
$this->rowEnd();
$this->contentEnd();
diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php
index c0f856148..57ccecf7f 100644
--- a/views/bootstrap4/class.Bootstrap4.php
+++ b/views/bootstrap4/class.Bootstrap4.php
@@ -1041,9 +1041,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
function contentHeading($heading, $noescape=false) { /* {{{ */
if($noescape)
- echo "\n";
+ echo "\n";
else
- echo "\n";
+ echo "\n";
return;
} /* }}} */
diff --git a/views/bootstrap4/styles/application.js b/views/bootstrap4/styles/application.js
index a94495658..4f129e2a3 100644
--- a/views/bootstrap4/styles/application.js
+++ b/views/bootstrap4/styles/application.js
@@ -521,11 +521,11 @@ $(document).ready( function() {
pwsp = 100*data.score;
$('#'+target+' div.bar').width(pwsp+'%');
if(data.ok) {
- $('#'+target+' div.bar').removeClass('bar-danger');
- $('#'+target+' div.bar').addClass('bar-success');
+ $('#'+target+' div.bar').removeClass('bg-danger');
+ $('#'+target+' div.bar').addClass('bg-success');
} else {
- $('#'+target+' div.bar').removeClass('bar-success');
- $('#'+target+' div.bar').addClass('bar-danger');
+ $('#'+target+' div.bar').removeClass('bg-success');
+ $('#'+target+' div.bar').addClass('bg-danger');
}
}
}); /* }}} */
@@ -588,11 +588,11 @@ $(document).ready( function() {
pwsp = 100*data.score;
$('#'+target+' div.bar').width(pwsp+'%');
if(data.ok) {
- $('#'+target+' div.bar').removeClass('bar-danger');
- $('#'+target+' div.bar').addClass('bar-success');
+ $('#'+target+' div.bar').removeClass('bg-danger');
+ $('#'+target+' div.bar').addClass('bg-success');
} else {
- $('#'+target+' div.bar').removeClass('bar-success');
- $('#'+target+' div.bar').addClass('bar-danger');
+ $('#'+target+' div.bar').removeClass('bg-success');
+ $('#'+target+' div.bar').addClass('bg-danger');
}
}
}); /* }}} */
@@ -804,7 +804,7 @@ function onAddClipboard(ev) { /* {{{ */
this.statusbar = $("");
this.filename = $("").appendTo(this.statusbar);
this.size = $("").appendTo(this.statusbar);
- this.progressBar = $("").appendTo(this.statusbar);
+ this.progressBar = $("").appendTo(this.statusbar);
this.abort = $("" + abortBtnLabel + "
").appendTo(this.statusbar);
// $('.statusbar').empty();
obj.after(this.statusbar);