';
headers['t111'] = '
%header%
';
headers['t144'] = '
%header%
';
var head_header = data.header ? data.header : false;
var head_id = data.id ? 'id="'+data.id+'"' : "";
var head_classes = data.classes ? data.classes : "";
var skeleton = headers["t"+data.template];
skeleton = skeleton.replace("%id%",head_id);
skeleton = skeleton.replace("%classes%",head_classes);
skeleton = skeleton.replace("%header%",head_header);
return skeleton;
},
getBoxFooter: function(data){
/*Params:
data : entweder ein objeect mit template oder t parameter,
oder direkt die template ID.
*/
var template ="";
if(isInt(data)){template = data;}
else{template = data.template ? data.template : data.t}
var footers = [];
footers['t1'] = '