/[A3C]/lib/A3C/View.pm
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 /lib/A3C/View.pm

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

revision 154 by dpavlin, Tue Jun 3 15:32:14 2008 UTC revision 155 by dpavlin, Sat Jun 14 22:04:11 2008 UTC
# Line 109  template 'people' => page { Line 109  template 'people' => page {
109    
110          form {          form {
111                  render_action( $action => [ 'uid_contains', 'cn_contains' ] );                  render_action( $action => [ 'uid_contains', 'cn_contains' ] );
112                  form_submit( label => _('Find someone') );                  form_submit( label => _('Search') );
113          };          };
114    
115  #       warn dump( $action->result->content );  #       warn dump( $action->result->content );
116    
117          if ( my $search = $action->result->content('search') ) {          if ( my $search = $action->result->content('search') ) {
118                  div { sprintf(_('Found %d results'), $search->count ) }                  div { _('Found %1 results', $search->count ) }
119                  table {                  table {
120                          while (my $user = $search->next) {                          while (my $user = $search->next) {
121                                  row {                                  row {

Legend:
Removed from v.154  
changed lines
  Added in v.155

  ViewVC Help
Powered by ViewVC 1.1.26