Changeset 544
- Timestamp:
- 11/09/09 17:16:26 (15 years ago)
- Location:
- LATMOS-Accounts-Web
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/Accounts.pm
r521 r544 42 42 $self->{_default_base}->wexported(1); 43 43 $self->{_default_base} 44 } 45 46 sub object_prev_next { 47 my ($self, $otype, $id) = @_; 48 49 my @list = $self->db->list_objects($otype); 50 my $prev; 51 while (@list && ($list[0] || '') ne $id) { 52 $prev = shift(@list); 53 } 54 return([ $prev, $list[1] ]); 44 55 } 45 56 -
LATMOS-Accounts-Web/root/html/groups/menu.tt
r241 r544 1 1 <!-- $Id$ --> 2 2 <div id="omenu"> 3 [% INCLUDE 'includes/obj_prev_next.tt' objtype='group' objname=groupname %] 3 4 <table border="0"> 4 5 <tr><td> … … 10 11 [% group.get_c_field('description') | html %] 11 12 </table> 13 <div style="clear: both;"></div> 12 14 <a href="[% c.uri_for(groupname) %]"><span [% 'id="oactive"' IF subform == '' %]>SystÚme</span></a> 13 15 <a href="[% c.uri_for(groupname, 'users') %]"><span [% 'id="oactive"' IF subform == 'users' %]>Utilisateurs</span></a> -
LATMOS-Accounts-Web/root/html/users/menu.tt
r512 r544 1 1 <!-- $Id$ --> 2 2 <div id="omenu"> 3 4 [% INCLUDE 'includes/obj_prev_next.tt' objtype='user' objname=username %] 5 3 6 <table border="0"> 4 7 <tr><td> … … 10 13 [% user.get_c_field('sn') | html %] 11 14 [% user.get_c_field('givenName') | html %] 12 </td></tr> 15 </td> 16 </tr> 13 17 </table> 18 <div style="clear: both;"></div> 14 19 <a href="[% c.uri_for(username) %]"><span [% 'id="oactive"' IF subform == '' %]>SystÚme</span></a> 15 20 <a href="[% c.uri_for(username, 'status') %]"><span [% 'id="oactive"' IF subform == 'status' %]>Status</span></a>
Note: See TracChangeset
for help on using the changeset viewer.