Index: openacs-4/packages/acs-developer-support/lib/footer.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-developer-support/lib/footer.adp,v
diff -u -r1.14 -r1.14.6.1
--- openacs-4/packages/acs-developer-support/lib/footer.adp	8 Feb 2005 01:13:01 -0000	1.14
+++ openacs-4/packages/acs-developer-support/lib/footer.adp	5 Mar 2007 12:58:44 -0000	1.14.6.1
@@ -30,26 +30,7 @@
     </if>
     <if @profiling:rowcount@ gt 0>
       <h3>Profiling Information</h3>
-      <table>
-        <tr align="center">
-          <th>Ops</th>
-          <th>Tag</th>
-          <th># Iterations</th>
-          <th>Total time </th>
-          <th>Avg. time per iteration</th>
-          <th>Size</th>
-        </tr>
-        <multiple name="profiling">
-          <tr>
-            <td align="left">@profiling.file_links;noquote@</td>
-            <td align="left">@profiling.tag@</td>
-            <td align="right">@profiling.num_iterations@</td>
-            <td align="right">@profiling.total_ms@ ms</td>
-            <td align="right">@profiling.ms_per_iteration@ ms</td>
-            <td align="right">@profiling.size@</td>
-          </tr>
-        </multiple>
-      </table>
+      <listtemplate name="profiling"></listtemplate>
       <if @page_fragment_cache_p@ true>
         <p>
           <form name="searchfrags" action="@ds_url@search">
Index: openacs-4/packages/acs-developer-support/lib/footer.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-developer-support/lib/footer.tcl,v
diff -u -r1.9 -r1.9.6.1
--- openacs-4/packages/acs-developer-support/lib/footer.tcl	6 Feb 2005 18:10:01 -0000	1.9
+++ openacs-4/packages/acs-developer-support/lib/footer.tcl	5 Mar 2007 12:58:44 -0000	1.9.6.1
@@ -91,6 +91,30 @@
     # Profiling information
     global ds_profile__total_ms ds_profile__iterations
 
+    template::list::create -name profiling -multirow profiling -elements {
+	file_links {
+	    label "Ops"
+	    display_template {
+		@profiling.file_links;noquote@
+	    }
+	}
+	tag {
+	    label "Tag"
+	}
+	num_iterations {
+	    label "Iterations"
+	}
+	total_ms {
+	    label "Total time"
+	}
+	ms_per_iteration {
+	    label "Avg. time per iteration"
+	}
+	size {
+	    label "Size"
+	}
+    }
+
     multirow create profiling tag num_iterations total_ms ms_per_iteration file_links size
 
     if {[ns_cache get ds_page_bits "$request:error" errors]} {