summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/httpauth.pm
blob: d28b6d2d0f033dcd107ceb7b9632b991c8da73a9 (plain)
  1. #!/usr/bin/perl
  2. # HTTP basic auth plugin.
  3. package IkiWiki::Plugin::httpauth;
  4. use warnings;
  5. use strict;
  6. use IkiWiki 2.00;
  7. sub import { #{{{
  8. hook(type => "auth", id => "httpauth", call => \&auth);
  9. } # }}}
  10. sub auth ($$) { #{{{
  11. my $cgi=shift;
  12. my $session=shift;
  13. if (defined $cgi->remote_user()) {
  14. $session->param("name", $cgi->remote_user());
  15. }
  16. } #}}}
  17. 1
7" class="hl"> 'Payment posted!' => '¡Pago registrado!',
  • 'Payments' => 'Pagos',
  • 'Post' => 'Registrar',
  • 'Postscript' => 'Postscript',
  • 'Prepayment' => 'Anticipo',
  • 'Print' => 'Imprimir',
  • 'Project not on file!' => '¡Proyecto no registrado!',
  • 'Receipt' => 'Recibo',
  • 'Receipt posted!' => '¡Recibo registrado!',
  • 'Receipts' => 'Recibos',
  • 'Reference' => 'Referencia',
  • 'Screen' => 'Pantalla',
  • 'Select' => 'Seleccionar',
  • 'Select all' => 'Seleccionar todo',
  • 'Select from one of the names below' => 'Seleccione uno de los nombres de la lista',
  • 'Select from one of the projects below' => 'Seleccione uno de los proyectos de la lista',
  • 'Select postscript or PDF!' => '¡Seleccione postscript o PDF!',
  • 'Source' => 'Origen',
  • 'Startdate' => 'Fecha de inicio',
  • 'Subject' => 'Asunto',
  • 'To' => 'Hasta',
  • 'Update' => 'Actualizar',
  • 'Vendor' => 'Proveedor',
  • 'Vendor not on file!' => '¡Proveedor no registrado!',
  • 'Warning!' => '¡Advertencia!',
  • 'sent' => 'Enviado',
  • };
  • $self{subs} = {
  • 'acc_menu' => 'acc_menu',
  • 'add_transaction' => 'add_transaction',
  • 'ap_transaction' => 'ap_transaction',
  • 'ar_transaction' => 'ar_transaction',
  • 'check_form' => 'check_form',
  • 'check_name' => 'check_name',
  • 'check_openvc' => 'check_openvc',
  • 'check_project' => 'check_project',
  • 'continue' => 'continue',
  • 'customer_details' => 'customer_details',
  • 'delete_schedule' => 'delete_schedule',
  • 'display' => 'display',
  • 'gl_transaction' => 'gl_transaction',
  • 'invoices_due' => 'invoices_due',
  • 'js_menu' => 'js_menu',
  • 'list_invoices' => 'list_invoices',
  • 'menubar' => 'menubar',
  • 'name_selected' => 'name_selected',
  • 'payment' => 'payment',
  • 'payment_footer' => 'payment_footer',
  • 'payment_header' => 'payment_header',
  • 'payments' => 'payments',
  • 'payments_footer' => 'payments_footer',
  • 'payments_header' => 'payments_header',
  • 'post' => 'post',
  • 'post_as_new' => 'post_as_new',
  • 'post_payment' => 'post_payment',
  • 'post_payments' => 'post_payments',
  • 'print' => 'print',
  • 'print_and_post_as_new' => 'print_and_post_as_new',
  • 'print_form' => 'print_form',
  • 'print_payment' => 'print_payment',
  • 'print_payments' => 'print_payments',
  • 'project_selected' => 'project_selected',
  • 'rebuild_vc' => 'rebuild_vc',
  • 'repost' => 'repost',
  • 'reprint' => 'reprint',
  • 'sales_invoice_' => 'sales_invoice_',
  • 'save_schedule' => 'save_schedule',
  • 'schedule' => 'schedule',
  • 'section_menu' => 'section_menu',
  • 'select_all' => 'select_all',
  • 'select_name' => 'select_name',
  • 'select_project' => 'select_project',
  • 'update' => 'update',
  • 'update_payment' => 'update_payment',
  • 'update_payments' => 'update_payments',
  • 'vendor_details' => 'vendor_details',
  • 'vendor_invoice_' => 'vendor_invoice_',
  • 'continuar' => 'continue',
  • 'registrar' => 'post',
  • 'imprimir' => 'print',
  • 'seleccionar_todo' => 'select_all',
  • 'actualizar' => 'update',
  • };
  • 1;