modified header in apidocs

This commit is contained in:
stefanp 2002-03-11 14:46:30 +00:00
parent 4a7616d5a0
commit 69f391d2d6
7 changed files with 67 additions and 12 deletions

View file

@ -18,6 +18,28 @@ function href_macro(par) {
}
/**
* macro rendering page head
*/
function head_macro(par) {
var obj = new Object();
obj.path = this.getPath();
var appObj = this.getApplication();
appObj.renderSkin("head",obj);
}
/**
* utility function for head_macro, rendering link to app and to prototype
*/
function getPath() {
var appObj = this.getApplication();
var str = appObj.getPath();
str += '/<a href="' + this.href("main") + '">' + this.name + '</a>';
return( str );
}
/**
* macro returning the comment for this prototype
*/

View file

@ -1,5 +1,4 @@
<h2>Prototype <% this.name %></h2>
<% this.head %>
<% this.actions %>
<% this.skins %>