/[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 125 by dpavlin, Thu May 22 20:48:42 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                  ol {                  table {
120                          while (my $user = $search->next) {                          while (my $user = $search->next) {
121                                  li {                                  row {
122                                          span { $user->cn }                                          cell { $user->cn }
123                                          tt { $user->uid }                                          cell { tt { $user->uid } }
124                                            cell { tt { $user->hrEduPersonUniqueID } }
125                                            cell { $user->hrEduPersonHomeOrg }
126                                  }                                  }
127                          }                          }
128                  }                  }
# Line 165  alias A3C::View::Organization under '/or Line 167  alias A3C::View::Organization under '/or
167          object_type => 'hrEduOrg',          object_type => 'hrEduOrg',
168  };  };
169    
170    use A3C::View::Strix;
171    alias A3C::View::Strix under '/strix';
172    
173  1;  1;

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

  ViewVC Help
Powered by ViewVC 1.1.26