removed shortcuts from antville. support of shortcut is now optional via zip module

This commit is contained in:
Tobi Schäfer 2003-02-11 16:54:07 +00:00
parent 1028d1e78d
commit b458c2cab1
6 changed files with 1 additions and 91 deletions

View file

@ -314,22 +314,6 @@ function input_macro(param) {
}
/**
* function renders a shortcut
*/
function shortcut_macro(param) {
// disable caching of any contentPart containing this macro
req.data.cachePart = false;
if (param && param.name) {
var sc = res.handlers.site.shortcuts.get(param.name);
if (sc)
sc.renderContent(param.text);
else
return(param.name);
}
}
/**
* function renders a list of stories either contained
* in a topic or from the story collection.