antville/code/Skin/macros.js
Michael Platzer 4f9fba5297 basically implemented the chronological history list and did some additional minor changes
weblog/objectFunctions.js -> modifytime is set to current Date at creation time
story/objectFunctions.js -> modifytime is set to current Date at creation time
comment/objectFunctions.js -> modifytime is set to current Date at creation time; isonline is set to 1 at creation time; added function isOnline()
weblog/type.properties -> two additional subnode-containers: allstories, allcomments
weblog/macros.js -> implemented history_macro which renders List of recently modified Objects
story/historyview.skin -> will be rendered by the weblog-history macro
comment/historyview.skin -> will be rendered by the weblog-history macro
weblog/main.skin -> included history.skin
story/main.skin -> included history.skin
weblog/style.skin -> included "history", "historyStory" and"historyComment" classes
weblog/history.skin -> newly created
story/macors.js -> title_macro can be rendered as a link; comments_macro renders an invisible anchor-tag before each comment
comment/macors.js -> title_macro can be rendered as a link; replies_macro renders an invisible anchor-tag before each comment
eliminated renderPrefix() and renderSuffix()
documentation.htm -> updated
2001-07-18 15:58:18 +00:00

13 lines
264 B
JavaScript

/**
* macro rendering source of skin
*/
function skin_macro(param) {
res.write(param.prefix)
if (param.as == "editor")
this.renderInputTextarea(this.createInputParam("skin",param));
else
res.write(this.skin);
res.write(param.suffix);
}