changed: GroupItem plugin has been renamed to Group
it's nearly finished now we are using three levels from Space (ConfParser) - group set - group - values git-svn-id: svn://ttmath.org/publicrep/winix/trunk@773 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -23,27 +23,39 @@ void mount_type_is(Info & i)
|
||||
if( mount_type_id == -1 )
|
||||
return;
|
||||
|
||||
i.res = (system->mounts.pmount->type == mount_type_id);
|
||||
i.res = (cur->mount->type == mount_type_id);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void mount_page_arg_is(Info & i)
|
||||
{
|
||||
i.res = system->mounts.pmount->IsArg(system->mounts.MountParPage(), i.par);
|
||||
i.res = cur->mount->IsArg(system->mounts.MountParPage(), i.par);
|
||||
}
|
||||
|
||||
|
||||
void mount_lang_arg(Info & i)
|
||||
{
|
||||
i.out << cur->mount->FirstArg(system->mounts.MountParLang());
|
||||
}
|
||||
|
||||
|
||||
void mount_lang_arg_is(Info & i)
|
||||
{
|
||||
i.res = cur->mount->IsArg(system->mounts.MountParLang(), i.par);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void mount_has_html_template(Info & i)
|
||||
{
|
||||
i.res = system->mounts.pmount->param[system->mounts.MountParHtmlTemplate()].defined;
|
||||
i.res = cur->mount->param[system->mounts.MountParHtmlTemplate()].defined;
|
||||
}
|
||||
|
||||
|
||||
void mount_first_html_template(Info & i)
|
||||
{
|
||||
Mount::ParamRow & par = system->mounts.pmount->param[system->mounts.MountParHtmlTemplate()];
|
||||
Mount::ParamRow & par = cur->mount->param[system->mounts.MountParHtmlTemplate()];
|
||||
|
||||
if( par.defined && !par.arg.empty() )
|
||||
i.out << par.arg[0];
|
||||
|
Reference in New Issue
Block a user