changed: cmslu building

Makefile from cmslu/ builds only: confparser.a content.a core.a templates.a
         the proper *.fcgi file is created from an application
changed: all cmslu functions have english names (ls, emacs, etc)
fixed:   function: login/logout are placed where there are permissions


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@474 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-01-14 20:11:12 +00:00
parent 8a0ea59c77
commit 327f18525c
13 changed files with 100 additions and 43 deletions

View File

@@ -26,6 +26,24 @@ void dir(Info & i)
void dir_can_read_exec(Info & i)
{
bool result = true;
for(size_t a=0 ; a<request.dir_table.size() ; ++a)
{
if( !request.HasReadExecAccess(*request.dir_table[a]) )
{
result = false;
break;
}
}
i.result = result;
}
static std::vector<Item*> dir_childs_table;
@@ -152,6 +170,9 @@ void dir_last_default_item_url(Info & i)
} // namespace TemplatesFunctions