added: to templates: item_url_is and dir_last_url

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@566 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-02-08 20:02:16 +00:00
parent 0e50977779
commit fc3c303d30
4 changed files with 19 additions and 0 deletions

View File

@@ -142,6 +142,15 @@ void item_url(Info & i)
}
void item_url_is(Info & i)
{
if( !request.is_item || !i.is )
return; // default false
i.result = request.item.url == *i.is;
}
void item_link(Info & i)
{
HtmlEscape(i.out, data.base_url);