[freeside-commits] freeside/httemplate/view/elements svc_Common.html, 1.11, 1.12

Ivan,,, ivan at wavetail.420.am
Sat Nov 6 17:56:37 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/view/elements
In directory wavetail.420.am:/tmp/cvs-serv28516/httemplate/view/elements

Modified Files:
	svc_Common.html 
Log Message:
certificates ala communigate, RT#7515

Index: svc_Common.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/elements/svc_Common.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- svc_Common.html	25 Oct 2010 22:22:42 -0000	1.11
+++ svc_Common.html	7 Nov 2010 00:56:35 -0000	1.12
@@ -18,6 +18,10 @@
 
              # defaults to "edit/$table.cgi?", will have svcnum appended
              'edit_url' => 
+
+             #at the very bottom (well, as low as you can go from here)
+             'html_foot'  => '',
+
          )
 
 </%doc>
@@ -56,12 +60,14 @@
 
 % foreach my $f ( @$fields ) {
 %
-%   my($field, $type);
+%   my($field, $type, $value);
 %   if ( ref($f) ) {
 %     $field = $f->{'field'},
+%     $value = $f->{'value'} ? &{ $f->{'value'} }($svc_x) : $svc_x->$field;
 %     $type  = $f->{'type'} || 'text',
 %   } else {
 %     $field = $f;
+%     $value = $svc_x->$field;
 %     $type = 'text';
 %   }
 %
@@ -78,7 +84,7 @@
 
 %       #eventually more options for <SELECT>, etc. fields
 
-        <TD BGCOLOR="#ffffff"><% $svc_x->$field %><TD>
+        <TD BGCOLOR="#ffffff"><% $value %><TD>
 
       </TR>
 



More information about the freeside-commits mailing list