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:
@@ -20,36 +20,31 @@ namespace TemplatesFunctions
|
||||
|
||||
void mount_page_is(Info & i)
|
||||
{
|
||||
if( !i.is )
|
||||
return;
|
||||
|
||||
i.result = data.mounts.pmount->IsArg(Mount::par_page, *i.is);
|
||||
i.res = data.mounts.pmount->IsArg(Mount::par_page, i.par);
|
||||
}
|
||||
|
||||
|
||||
void mount_thread_is(Info & i)
|
||||
{
|
||||
if( !i.is )
|
||||
return;
|
||||
|
||||
i.result = data.mounts.pmount->IsArg(Mount::par_thread, *i.is);
|
||||
i.res = data.mounts.pmount->IsArg(Mount::par_thread, i.par);
|
||||
}
|
||||
|
||||
|
||||
void mount_type_is_thread(Info & i)
|
||||
{
|
||||
i.result = data.mounts.pmount->type == Mount::thread;
|
||||
i.res = data.mounts.pmount->type == Mount::thread;
|
||||
}
|
||||
|
||||
|
||||
void mount_type_is_ticket(Info & i)
|
||||
{
|
||||
i.result = data.mounts.pmount->type == Mount::ticket;
|
||||
i.res = data.mounts.pmount->type == Mount::ticket;
|
||||
}
|
||||
|
||||
|
||||
void mount_type_is_cms(Info & i)
|
||||
{
|
||||
i.result = data.mounts.pmount->type == Mount::cms;
|
||||
i.res = data.mounts.pmount->type == Mount::cms;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user