This commit is contained in:
root 2016-01-04 12:05:23 +01:00
parent f74dccd1f6
commit 8bebb2c997
3 changed files with 8 additions and 4 deletions

View file

@ -1,4 +1,6 @@
# SMBind-ng
v0.91c
This is a forked project from [smbind](http://sourceforge.net/projects/smbind/).
This fork has many improvements, security changes and new features

View file

@ -1,4 +1,3 @@
# Required parts
<?php
$_CONF['db_type'] = '';
$_CONF['db_user'] = '';

View file

@ -528,7 +528,11 @@ function menu_buttons() {
$cmc = (is_array($cmasters)) ? sizeof($cmasters) : 0;
$cslaves = $user->getCommitableZones('slave');
$csc = (is_array($cslaves)) ? sizeof($cslaves) : 0;
$commitables = $cmc + $csc;
$dmasters = $user->getDeletedZones('master');
$dmc = (is_array($dmasters)) ? sizeof($dmasters) : 0;
$dslaves = $user->getDeletedZones('slave');
$dsc = (is_array($dslaves)) ? sizeof($dslaves) : 0;
$commitables = $cmc + $csc + $dmc + $dsc;
if($commitables == 0) {
$committext = "";
$smarty->assign("donotcommit","yes");
@ -542,8 +546,7 @@ function menu_buttons() {
sizeof($user->getDeletedZones('slave')) +
sizeof($user->getDeletedZones('master')) > 0) {
$maintext = "\" class=\"attention";
}
else {
} else {
$maintext = "";
}