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,27 @@ 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 protoObj = this.getDocPrototype();
var str = protoObj.getPath() + "/" + this.getFullName();
return( str );
}
/**
* macro returning name of file this method resides in
*/

View file

@ -1,9 +1,4 @@
<h2>
<a href="<% docprototype.href action="main" %>">Prototype <% docprototype.name %></a><br>
<% this.fullname %>
</h2>
<% this.head %>
<div class="list_property">
<small> <i>in <% docprototype.name%>/<% this.location %>:</i></small>