40 lines
526 B
C++
40 lines
526 B
C++
|
/*
|
||
|
* This file is a part of CMSLU -- Content Management System like Unix
|
||
|
* and is not publicly distributed
|
||
|
*
|
||
|
* Copyright (c) 2008-2009, Tomasz Sowa
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#include "templates.h"
|
||
|
#include "../core/data.h"
|
||
|
|
||
|
|
||
|
|
||
|
namespace TemplatesFunctions
|
||
|
{
|
||
|
|
||
|
|
||
|
void mount_param_withheader(Info & i)
|
||
|
{
|
||
|
i.result = data.mounts.CurrentMountIsParam(Mount::withheader);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void mount_param_withinfo(Info & i)
|
||
|
{
|
||
|
i.result = data.mounts.CurrentMountIsParam(Mount::withinfo);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
} // namespace TemplatesFunctions
|
||
|
|
||
|
|
||
|
|