updated to new version of Ezc

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@602 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-05-30 21:07:46 +00:00
parent 612f260938
commit 4a7f036561
14 changed files with 111 additions and 126 deletions

View File

@@ -68,7 +68,7 @@ void priv_user_tab(Info & i)
priv_user_tab_init();
priv_user_index = i.iter;
i.result = priv_user_index < priv_user_table.size();
i.res = priv_user_index < priv_user_table.size();
}
@@ -107,12 +107,12 @@ void priv_user_tab_isdefault(Info & i)
if( request.is_item )
{
if( uid == request.item.user_id )
i.result = true;
i.res = true;
}
else
{
if( uid == request.dir_table.back()->user_id )
i.result = true;
i.res = true;
}
}
}
@@ -193,7 +193,7 @@ void priv_group_tab(Info & i)
priv_group_tab_init();
priv_group_index = i.iter;
i.result = priv_group_index < priv_group_table.size();
i.res = priv_group_index < priv_group_table.size();
}
@@ -232,12 +232,12 @@ void priv_group_tab_isdefault(Info & i)
if( request.is_item )
{
if( gid == request.item.group_id )
i.result = true;
i.res = true;
}
else
{
if( gid == request.dir_table.back()->group_id )
i.result = true;
i.res = true;
}
}
}
@@ -268,13 +268,13 @@ void priv_privileges_for_dirs(Info & i)
void priv_show_form_chown(Info & i)
{
i.result = (request.pfunction->code == FUN_PRIV || request.pfunction->code == FUN_CHOWN);
i.res = (request.pfunction->code == FUN_PRIV || request.pfunction->code == FUN_CHOWN);
}
void priv_show_form_chmod(Info & i)
{
i.result = (request.pfunction->code == FUN_PRIV || request.pfunction->code == FUN_CHMOD);
i.res = (request.pfunction->code == FUN_PRIV || request.pfunction->code == FUN_CHMOD);
}