Changeset 1247


Ignore:
Timestamp:
01/20/12 08:33:24 (4 months ago)
Author:
aike
Message:
  • src/util/wrapper-printer.pl.in, lib/Schulkonsole/Session.pm.in: add missing documentation
Location:
schulkonsole/linuxmuster-schulkonsole/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • schulkonsole/linuxmuster-schulkonsole/trunk/lib/Schulkonsole/Session.pm.in

    r1238 r1247  
    108108 
    109109The user's login name 
     110 
     111=item C<firstname> 
     112 
     113The user's first name 
     114 
     115=item C<surname> 
     116 
     117The user's surname 
    110118 
    111119=item C<groupname> 
  • schulkonsole/linuxmuster-schulkonsole/trunk/src/util/wrapper-printer.pl.in

    r1238 r1247  
    133133        exit 0; 
    134134}; 
     135 
     136=head3 printer_on_off 
     137 
     138numeric constant: C<Schulkonsole::Config::PRINTERONOFFAPP> 
     139 
     140=head4 Description 
     141 
     142Set printers to accept/reject jobs. 
     143 
     144=head4 Parameters from standard input 
     145 
     146=over 
     147 
     148=item on 
     149 
     150C<1> (accept) or C<0> (reject) 
     151 
     152=item printers 
     153 
     154Printer names, one per line, end with empty line 
     155 
     156=back 
     157 
     158=cut 
     159 
    135160$app_id == Schulkonsole::Config::PRINTERONOFFAPP and do { 
    136161        my $on = <>; 
     
    165190        exit 0; 
    166191}; 
     192 
     193=head3 printer_allow_deny 
     194 
     195numeric constant: C<Schulkonsole::Config::PRINTERALLOWDENYAPP> 
     196 
     197=head4 Description 
     198 
     199Set printers to deny user access to specified users 
     200 
     201=head4 Parameters from standard input 
     202 
     203=over 
     204 
     205=item printer + users 
     206 
     207Printer name followed by UIDs one per line. 
     208End users list with empty line. 
     209 
     210Continue with next printer name followed by UIDs. 
     211 
     212Finish with additional empty line. 
     213 
     214=back 
     215 
     216=cut 
     217 
    167218$app_id == Schulkonsole::Config::PRINTERALLOWDENYAPP and do { 
    168219        my %printer_users; 
Note: See TracChangeset for help on using the changeset viewer.