/[SQLSession]/trunk/share/web/templates/sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/share/web/templates/sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9 by dpavlin, Sat Dec 2 23:53:00 2006 UTC revision 12 by dpavlin, Sun Dec 3 00:12:25 2006 UTC
# Line 22  $sth = $result->content('sth') if $resul Line 22  $sth = $result->content('sth') if $resul
22  <% Jifty->web->form->end() %>  <% Jifty->web->form->end() %>
23  </&>  </&>
24    
25    % if ( defined($sth) ) {
26    
27  <table cellpadding="3" cellspacing="0" border="1">  <table cellpadding="3" cellspacing="0" border="1">
28    
29  <tr>  <tr>
# Line 33  $sth = $result->content('sth') if $resul Line 35  $sth = $result->content('sth') if $resul
35  % while ( my @row = $sth->fetchrow_array() ) {  % while ( my @row = $sth->fetchrow_array() ) {
36  <tr>  <tr>
37  %       foreach my $v ( @row ) {  %       foreach my $v ( @row ) {
38  <td><% $v %></td>  <td><% defined($v) ? $v : 'NULL' %></td>
39  %       }  %       }
40  </tr>  </tr>
41  % }  % }
42    
43  </table>  </table>
44    
45    % }

Legend:
Removed from v.9  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26